Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 04/11/2010, à 00:42

belhasof

Re : Kontact se lance tout seul au démarrage

c'est bien l'icône à côté de l'horloge.
La case "démarrer le démon d'alarme automatiquement au demarrage" est décochée.

Dernière modification par belhasof (Le 04/11/2010, à 00:49)

Hors ligne

#27 Le 04/11/2010, à 00:56

belhasof

Re : Kontact se lance tout seul au démarrage

big_smile l'icône à côté de l'horloge c'est "Kontact"

Hors ligne

#28 Le 04/11/2010, à 12:21

mars

Re : Kontact se lance tout seul au démarrage

belhasof a écrit :

Je résume:
-Je démarre avec une session vide

Par cette phrase entends tu que tu as coché dans system-settings puis je sais plus quel menu :
démarrer avec une session vide ?
Si c'est bien le cas alors l'une de tes appli que tu lance au démarrage (ou qui se lance seul) lance kontact.

essais a faire :
vider le dossier ~/.kde/Autostart/ (ou virer temporairement le fichier preload.sh "pour voir")
vérifier que dans systemsettings/démarrage tu n'as rien qui démarre (peut etre nous faire un screenshot pour qu'on regarde)

Hors ligne

#29 Le 04/11/2010, à 14:18

jajaX

Re : Kontact se lance tout seul au démarrage

belhasof a écrit :

big_smile l'icône à côté de l'horloge c'est "Kontact"

tu l'avais quitter avant de redémarrer ?


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#30 Le 05/11/2010, à 00:30

belhasof

Re : Kontact se lance tout seul au démarrage

salut mars,
effectivement, dans "configuration système" j'ai coché démarré avec une session vide
j'ai enlever(déplacer ailleur) le fichier preload.sh, mais rienn'y fait

voilà 2 images
1-ce qu'il ya dans démarrage automatique
1288909545.png

ce qu'il y avait dans ~.kde/Autostart/ avant que je déplace le fichier
1288909641.png

Jajax, j'ai aussi supprimé l'icône "kontact" du tableau de bord, et je quitte kontact.

Dernière modification par belhasof (Le 05/11/2010, à 00:35)

Hors ligne

#31 Le 05/11/2010, à 10:31

jajaX

Re : Kontact se lance tout seul au démarrage

ok. t'as beaucoup de choses qui se lancent je trouve. sur mon pc portable, là, je n'ai que la ligne dernière ligne avec gtk2...


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#32 Le 06/11/2010, à 00:56

belhasof

Re : Kontact se lance tout seul au démarrage

bon j'ai essayé en desactivant "plasma-desktop au demarrage" et "SDOC preload.sh". Je me suis retrouvé avec un écran tout noir après le login de départ! Eh bien même dans ce cas là, Kontact s'est lancé tout seul!!
Pour revenir à la situation antérieure, heureusement qu'il y a alt+F2.
N'y a t'il pas une commande pour connaître tout les lancements au démarrage, pour voir ou faut-il que j'examine les fichiers de log? Même si je n'y comprend pas grand chose, les fichiers de log ont l'air de montrer chronologiquement ce qui arrive.
(au fait pour l'image de l'écran, il faut que je fasse fn+imp écr)

Hors ligne

#33 Le 09/11/2010, à 01:00

belhasof

Re : Kontact se lance tout seul au démarrage

salut,
ce problème avec kontact étant intervenu après un bug (akonadi), j'ai eu une réponse au signalement que j'ai fait: on me conseil de passer à une version kde plus récente (je suis sous kde 4.4.2)
Est-ce que cela peut résoudre le problème? Ou m'en apporter d'autres peut-être.
Comment fait-on pour passer à une version plus récente?

sinon j'ai viré ou désactivé ce qui concerne preload.sh, je ne peux pas enlevé plasma-desktop (sinon j'ai un écran noir).

Dernière modification par belhasof (Le 09/11/2010, à 01:03)

Hors ligne

#34 Le 09/11/2010, à 01:31

FRUiT

Re : Kontact se lance tout seul au démarrage

Et dans /usr/share/autostart t'as regardé ?


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#35 Le 09/11/2010, à 01:44

belhasof

Re : Kontact se lance tout seul au démarrage

je viens de regardé, il y a 17 icônes d'application...

1289259763.png

Il y a celle de "korganiser avec la cloche"!
Est-ce une piste?

Hors ligne

#36 Le 09/11/2010, à 02:18

FRUiT

Re : Kontact se lance tout seul au démarrage

Je pense que non c'est un lanceur normal tout le monde l'a. essaye de le déplacer dans un autre dossier temporairement on sait jamais.

Lis le contenu de chaque fichier, la ligne 'exec'.

Y'a quoi dans le fichier <writed... autostart...desktop ?

Regarde aussi éventuellement dans
~/.config/autostart
~/.kde/share/autostart

Dernière modification par FRUiT (Le 09/11/2010, à 02:35)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#37 Le 10/11/2010, à 01:33

belhasof

Re : Kontact se lance tout seul au démarrage

la ligne 'exec' pour chaque fichier donne le nom du programme sauf pour certains où il y a des petites choses en plus:
kalarm> Exec=kalarmautostart kalarm --tray
kgpg> Exec=kgpg %U
korgac> Exec=korgac %i

sinon le fichier kwrite-autostart.desktop contient:

[Desktop Entry]
Name=KDE Write Daemon
Comment=Watch for messages from local users sent with write(1) or wall(1)
Type=Service
Exec=kwrited
OnlyShowIn=KDE;
X-KDE-autostart-phase=1
X-Ubuntu-Gettext-Domain=desktop_kdebase-workspace

~/.config/autostart me donne 2 applications : plasma-desktop et plasma netbook

~/.kde/share/autostart est vide.

Dernière modification par belhasof (Le 10/11/2010, à 01:42)

Hors ligne

#38 Le 10/11/2010, à 12:06

belhasof

Re : Kontact se lance tout seul au démarrage

Je pense avoir une piste: dans Kalarm j'ai un rappel (1 anniversaire) qui est inscript. j'ai suprimé dans le Kaddressebook le contact correspondant. mais dans Kalarm il y est toujours et je n'arrive pas à le supprimer.
C'est peut ça qui lance Kontact.

Hors ligne

#39 Le 11/11/2010, à 18:31

belhasof

Re : Kontact se lance tout seul au démarrage

bon, j'ai réussi à supprimer, dans kalarm, le fichier de l"anniversaire en question mais c'est toujours la même chose...Kontact se lance tout seul!!!

Hors ligne

#40 Le 17/11/2010, à 12:19

belhasof

Re : Kontact se lance tout seul au démarrage

Je crois que je vais rester avec "kontact" qui demarre tout seul. C'est agaçant de ne pas savoir comment arrêter ça, de plus je sais plus du tout de quel côté il faut chercher!

Hors ligne

#41 Le 18/11/2010, à 22:22

FRUiT

Re : Kontact se lance tout seul au démarrage

Une dernière idée.

Ouvre ta console et tape :

grep -RnisI "kontact" /usr > usrkontact.txt

et

grep -RnisI "kontact" /home > kontacthome.txt

Attention c'est long.
Héberge les fichiers quelquepart et poste les liens ici.
Le résultat sera sous la forme :
/chemin/vers/le/fichier:numérodelaligne:affichage de la ligne

[EDIT] euh ben après test sur /usr c'est vraiment long, et énormément de résultats (trop peut-être sad )

Dernière modification par FRUiT (Le 18/11/2010, à 22:26)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#42 Le 21/11/2010, à 00:48

belhasof

Re : Kontact se lance tout seul au démarrage

ok FRUiT, merci pour ton aide, j'ai commencé  "grep -RnisI "kontact" /usr > usrkontact.txt" ne me donne rien.
la 2ème ...j'ai été obligé d'interropre, cela a l'air vraiment très long (en temps) mais rien ne s'affichait dans ma console...je vais réessayer quand j'aurai plus de temps devant moi.

Sinon je n'ai pas compris comment te faire parvenir les données (s'il y en a).

Hors ligne

#43 Le 21/11/2010, à 13:12

FRUiT

Re : Kontact se lance tout seul au démarrage

C'est tout à fait normal que rien ne s'affiche, le résultat va directement dans les fichiers txt nommés.

Normalement ces fichiers ont été créés dans le répertoire courant au moment ou tu as lancé la commande (on va dire ton home certainement si tu as ouvert une console pour l'occasion). Ces fichiers textes seront volumineux. Si tu les trouves toujours pas, ALT-F2 tu tapes "kfind" et là tu cherches les 2 fichiers usrkontact.txt et kontacthome.txt (si tu as accompli les 2 commandes bien sur).

Pour les uploader tu peux utiliser http://pastie.org je pense.

Colle les liens ici.

Dernière modification par FRUiT (Le 21/11/2010, à 13:12)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#44 Le 21/11/2010, à 23:35

belhasof

Re : Kontact se lance tout seul au démarrage

effectivement, c'est bien arrivé sur mon "home", même celui que j'ai interrompu.
Parcontre il risque d'y avoir un souci pour uploader :
usrkontact.txt fait une taille de 372 kio
kontacthome.txt fait une taille de 184 Gio  même Kate a bugger pour l'ouvrir, ma poubelle (après modif) est tout juste assez grande pour l'y mettre, heureusement que je l'ai arrêter, jusqu'où aurait-il pu aller. (par une erreur bête, j'ai détruit ce fichier!!)
Je me suis rendu compte qu'on pouvait stopper à tout moment la manoeuvre, peut-être que les 50 premiers Kio ou moins suffisent, non?

Hors ligne

#45 Le 22/11/2010, à 18:00

FRUiT

Re : Kontact se lance tout seul au démarrage

Euh woa 200Go ça me parait énorme quand même t'es sur d'avoir bien tapé la commande ?? Supprime le vite en tout cas, même de la poubelle.

Je pense qu'en fait il faut mettre le fichier ailleurs pour éviter qu'il ne s'auto scanne avec grep. Du genre :

grep -RnisI "kontact" /home > /tmp/kontacthome.txt

Pour surveiller la taille du fichier (dans une 2ème console ou un nouvel onglet) :

watch ls -l /tmp/kontacthome.txt

Si le fichier dépasse les 10Mo arrète tout et laisse tomber...

Dernière modification par FRUiT (Le 22/11/2010, à 18:01)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#46 Le 23/11/2010, à 00:52

belhasof

Re : Kontact se lance tout seul au démarrage

Je pense qu'auparavant j'ai bien fait ce qu'il fallait... un copier/coller de ce que tu as écrit...

Pour cette fois, j'ai arrêter le processus, voilà ce que cela me donne au bout de 6 minutes

-rw-r--r-- 1 sofiane sofiane 1866891264 2010-11-22 23:33 /tmp/kontacthome.txt

et dans : racine/tmp le fichier kontacthome.txt est indiqué à 1,7Gio

Hors ligne

#47 Le 23/11/2010, à 01:16

FRUiT

Re : Kontact se lance tout seul au démarrage

Bizarre moi au bout de 30min le fichier fait à peine 470Ko...

Essaye de coller ici quelques lignes du fichier (arrete au bout d'une minute par exemple), qui te semblent caractéristiques de l'ensemble.

Je me demande si ton home n'aurait pas de plus graves problèmes que le simple lancement de kontact...

Dernière modification par FRUiT (Le 23/11/2010, à 01:17)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#48 Le 23/11/2010, à 01:39

belhasof

Re : Kontact se lance tout seul au démarrage

au bout de 1min30 env. :
-sur la deuxième console

-rw-r--r-- 1 sofiane sofiane 126976 2010-11-23 00:26 /tmp/kontacthome.txt

fichier tmp

/home/sofiane/.xsession-errors:227:plasma-desktop(1749)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/sofiane/.kde/share/apps/RecentDocuments/usrkontact.txt.desktop" not found
/home/sofiane/.xsession-errors:229:plasma-desktop(1749)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/sofiane/.kde/share/apps/RecentDocuments/kontacthome.txt.desktop" not found
/home/sofiane/.xsession-errors:620:kdeinit4: preparing to launch /usr/bin/kontact
/home/sofiane/.xsession-errors:662:kontact(2078) KMKernel::recoverDeadLetters: Unable to open autosave file "1283985893.18075.ltCGO" 
/home/sofiane/.xsession-errors:663:kontact(2078)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
/home/sofiane/.xsession-errors:664:kontact(2078)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
/home/sofiane/.xsession-errors:669:kontact(2078)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/sofiane/.kde/share/apps/kabc" 
/home/sofiane/.xsession-errors:670:kontact(2078)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
/home/sofiane/.xsession-errors:671:kontact(2078)/kdeui (kdelibs): No such XML file "/home/sofiane/.kde/share/apps/kontact/local-calendar.rc" 
/home/sofiane/.xsession-errors:675:kwin(1735) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 56623137 ;WMCLASS: "kontact" : "kontact" ;Caption: "Calendrier - Kontact" ' : 165580
/home/sofiane/.xsession-errors:734:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:735:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:736:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:738:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:742:kwin(1735) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 56644553 ;WMCLASS: "kontact" : "kontact" ;Caption: "Accusé de réception du message – Kontact" ' : 426878
/home/sofiane/.xsession-errors:746:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:747:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:754:kwin(1735) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 56649345 ;WMCLASS: "kontact" : "kontact" ;Caption: "Erreur – Kontact" ' : 428597
/home/sofiane/.xsession-errors:758:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:759:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:779:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:785:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:792:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:805:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:806:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:815:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:816:kontact(2078) KMFolderIndex::updateIndexStreamPtr: utime( "/home/sofiane/.kde/share/apps/kmail/mail/.outbox.index.ids" , 0) failed (KMMsgDict::getFolderIdsLocation( *this )) 
/home/sofiane/.xsession-errors:817:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:818:kontact(2078) KMail::MessageListView::StorageModel::releaseMessage: Trying to release a message at row 0 that no longer exists in the folder 
/home/sofiane/.xsession-errors:819:kontact(2078) KMKernel::getFolder: Folder not found: "/Local" 
/home/sofiane/.xsession-errors:820:kontact(2078) KMKernel::getFolder: Folder not found: "/Local"

cela commence par /home/sofiane/.xsession-errors:227 puis il y a des lignes et des lignes jusqu'à 8509 puis

/home/sofiane/.mozilla/firefox/lp7jsowm.default/yoono/corpera/plc11:17:KONTACT;3;2
/home/sofiane/.mozilla/firefox/lp7jsowm.default/yoono/corpera/personalLtCorpus:3334:KONTACT;3;2
/home/sofiane/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt:1:sofiane@sofiane-laptop:~$ sudo apt-get install --reinstall kontact
/home/sofiane/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt:15:Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ lucid/main kontact 4:4.4.2-0ubuntu5 [180kB]
/home/sofiane/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt:18:Préparation du remplacement de kontact 4:4.4.2-0ubuntu5 (en utilisant .../kontact_4%3a4.4.2-0ubuntu5_i386.deb) ...
/home/sofiane/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt:19:Dépaquetage de la mise à jour de kontact ...
/home/sofiane/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt:25:Paramétrage de kontact (4:4.4.2-0ubuntu5) ...
/home/sofiane/.config/Trolltech.conf:201:usr\lib\kde4\kcm_kontactsummary.so=0, 1, , 2009-10-19T17:13:02
/home/sofiane/.config/Trolltech.conf:302:usr\lib\kde4\kontact_akregatorplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:11:35
/home/sofiane/.config/Trolltech.conf:303:usr\lib\kde4\kontact_journalplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:15
/home/sofiane/.config/Trolltech.conf:304:usr\lib\kde4\kontact_kaddressbookplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:11:47
/home/sofiane/.config/Trolltech.conf:305:usr\lib\kde4\kontact_kmailplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:12:47
/home/sofiane/.config/Trolltech.conf:306:usr\lib\kde4\kontact_knotesplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:12:57
/home/sofiane/.config/Trolltech.conf:307:usr\lib\kde4\kontact_korganizerplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:15
/home/sofiane/.config/Trolltech.conf:308:usr\lib\kde4\kontact_ktimetrackerplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:02
/home/sofiane/.config/Trolltech.conf:309:usr\lib\kde4\kontact_plannerplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:15
/home/sofiane/.config/Trolltech.conf:310:usr\lib\kde4\kontact_specialdatesplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:16
/home/sofiane/.config/Trolltech.conf:311:usr\lib\kde4\kontact_summaryplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:02
/home/sofiane/.config/Trolltech.conf:312:usr\lib\kde4\kontact_todoplugin.so=40502, 0, i386 linux g++-4 full-config, 2009-10-19T17:13:16
/home/sofiane/.config/Trolltech.conf:575:usr\lib\kde4\kcm_kontact.so=0, 1, , 2010-04-17T05:38:26
/home/sofiane/.config/Trolltech.conf:576:usr\lib\kde4\kcm_kontactsummary.so=0, 1, , 2010-04-17T05:38:26
/home/sofiane/.config/Trolltech.conf:676:usr\lib\kde4\kontact_akregatorplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:37:06
/home/sofiane/.config/Trolltech.conf:677:usr\lib\kde4\kontact_journalplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:39
/home/sofiane/.config/Trolltech.conf:678:usr\lib\kde4\kontact_kaddressbookplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:37:15
/home/sofiane/.config/Trolltech.conf:679:usr\lib\kde4\kontact_kmailplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:11
/home/sofiane/.config/Trolltech.conf:680:usr\lib\kde4\kontact_knotesplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:21
/home/sofiane/.config/Trolltech.conf:681:usr\lib\kde4\kontact_korganizerplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:39
/home/sofiane/.config/Trolltech.conf:682:usr\lib\kde4\kontact_ktimetrackerplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:45
/home/sofiane/.config/Trolltech.conf:683:usr\lib\kde4\kontact_plannerplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:39
/home/sofiane/.config/Trolltech.conf:684:usr\lib\kde4\kontact_specialdatesplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:39
/home/sofiane/.config/Trolltech.conf:685:usr\lib\kde4\kontact_summaryplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:26
/home/sofiane/.config/Trolltech.conf:686:usr\lib\kde4\kontact_todoplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:39
/home/sofiane/.config/Trolltech.conf:881:usr\lib\kde4\kontact_kjotsplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:39:15
/home/sofiane/.config/Trolltech.conf:882:usr\lib\kde4\kontact_knodeplugin.so=40602, 0, i386 linux g++-4 full-config, 2010-04-17T05:38:17
/home/sofiane/.config/menus/applications-kmenuedit.menu:10:   <Filename>kde4-Kontact.desktop</Filename>
/home/sofiane/.config/akonadi/agent_config_akonadi_vcard_resource_0:7:change\1\sessionId=@ByteArray(kontact-1122215465)
/home/sofiane/.config/akonadi/agent_config_akonadi_contacts_resource_1:17:change\2\sessionId=@ByteArray(kontact-4668282)
/home/sofiane/.kde/cache-sofiane-laptop/help/fr__kontact__index.docbook:8:  <title>Les composants de Kontact</title>
/home/sofiane/.kde/cache-sofiane-laptop/help/fr__kontact__index.docbook:12:  <title>La fenêtre principale de Kontact</title>
/home/sofiane/.kde/cache-sofiane-laptop/help/fr__kontact__index.docbook:32:  <title>Configurer Kontact</title>
/home/sofiane/.kde/share/config/konsolerc:9:Recent Files[$e]=$HOME/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt,$HOME/Documents/sofiane LAPTOP/Kontact/konsole_kontact_reinstall_02112010.txt
/home/sofiane/.kde/share/config/kontact_summaryrc:1:LeftColumnSummaries=kontact_korganizerplugin,kontact_todoplugin,kontact_specialdatesplugin
/home/sofiane/.kde/share/config/kontact_summaryrc:2:RightColumnSummaries=kontact_kmailplugin,kontact_knotesplugin
/home/sofiane/.kde/share/config/kickoffrc:2:FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/Kontact.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/kopete.desktop,/usr/share/applications/kde4/amarok.desktop,/usr/share/applications/kde4/KMail.desktop,/usr/share/applications/kde4/korganizer.desktop
/home/sofiane/.kde/share/config/kdebugrc:268:[kontact]
/home/sofiane/.kde/share/config/plasma-desktop-appletsrc:54:savedPositions=1,24,Bureau,10,10,Docteeur House SO6 Ep1à4,70,10,Documents,133,10,dwhelper,190,10,ECOLE,253,11,gtk-gnutella-downloads,430,68,Images,310,10,leterrier,370,10,LimeWire,430,10,Modèles,490,10,Musique,550,10,Public,610,10,Téléchargements,670,10,Torrent,730,10,Vidéos,784,10,channels.conf,10,68,channels.dvb,70,68,digikam4.db,130,68,examples.desktop,190,68,kontacthome.txt,490,68,thumbnails-digikam.db,250,68,usrkontact.txt,550,68,wget-log,310,68,wget-log.1,370,68
/home/sofiane/.kde/share/config/plasma-desktop-appletsrc:217:Url=file:///usr/share/applications/kde4/Kontact.desktop
/home/sofiane/.kde/share/config/plasma-desktop-appletsrc:872:savedPositions=1,24,Bureau,10,10,Docteeur House SO6 Ep1à4,70,10,Documents,130,10,dwhelper,190,10,ECOLE,250,10,gtk-gnutella-downloads,10,68,Images,310,10,leterrier,370,10,LimeWire,430,10,Modèles,490,10,Musique,550,10,Public,610,10,Téléchargements,670,10,Torrent,730,10,Vidéos,790,10,channels.conf,70,68,channels.dvb,130,68,digikam4.db,190,68,examples.desktop,250,68,kontacthome.txt,490,68,thumbnails-digikam.db,310,68,usrkontact.txt,550,68,wget-log,370,68,wget-log.1,430,68
/home/sofiane/.kde/share/config/systemsettingsrc:34:History=kontact
/home/sofiane/.kde/share/config/kwalletrc:2:kdewallet=kwalletmanager,Amarok,Kontact,Konqueror,Kopete,KMail,Module de Configuration de KDE,Configuration du système,KNetworkManager,Network Management,Espace de travail Plasma
/home/sofiane/.kde/share/config/ksnapshotrc:3:filename[$e]=file://$HOME/Documents/sofiane%20LAPTOP/Kontact/usr_share_autostart1.png
/home/sofiane/.kde/share/config/ksnapshotrc:9:Recent Files[$e]=$HOME/Documents/Sofiane/Facture/paiement_orange_capture d'écran1.png,$HOME/Documents/sofiane LAPTOP/Kontact/usr_share_autostart.png,$HOME/Documents/sofiane LAPTOP/effets de bureau.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_kde_autostart_capture_d'écran6.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_demarrage_auto_capture_d'écran5.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_capture_d'écran4.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_capture_d'écran3.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_capture_d'écran2.png,$HOME/Documents/sofiane LAPTOP/Kontact/kontact_capture_d'écran1.png
/home/sofiane/.kde/share/config/kontactrc:32:[MainWindowkontact_akregatorplugin]
/home/sofiane/.kde/share/config/kontactrc:38:[MainWindowkontact_akregatorplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:41:[MainWindowkontact_journalplugin]
/home/sofiane/.kde/share/config/kontactrc:46:[MainWindowkontact_journalplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:49:[MainWindowkontact_kaddressbookplugin]
/home/sofiane/.kde/share/config/kontactrc:55:[MainWindowkontact_kaddressbookplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:58:[MainWindowkontact_kjotsplugin]
/home/sofiane/.kde/share/config/kontactrc:64:[MainWindowkontact_kjotsplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:67:[MainWindowkontact_kmailplugin]
/home/sofiane/.kde/share/config/kontactrc:73:[MainWindowkontact_kmailplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:76:[MainWindowkontact_knodeplugin]
/home/sofiane/.kde/share/config/kontactrc:82:[MainWindowkontact_knodeplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:85:[MainWindowkontact_knotesplugin]
/home/sofiane/.kde/share/config/kontactrc:91:[MainWindowkontact_knotesplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:94:[MainWindowkontact_korganizerplugin]
/home/sofiane/.kde/share/config/kontactrc:100:[MainWindowkontact_korganizerplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:103:[MainWindowkontact_ktimetrackerplugin]
/home/sofiane/.kde/share/config/kontactrc:108:[MainWindowkontact_ktimetrackerplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:111:[MainWindowkontact_summaryplugin]
/home/sofiane/.kde/share/config/kontactrc:117:[MainWindowkontact_summaryplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:120:[MainWindowkontact_todoplugin]
/home/sofiane/.kde/share/config/kontactrc:126:[MainWindowkontact_todoplugin][Toolbar mainToolBar]
/home/sofiane/.kde/share/config/kontactrc:134:kontact_akregatorpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:135:kontact_journalpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:136:kontact_kaddressbookpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:137:kontact_kjotspluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:138:kontact_kmailpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:139:kontact_knotespluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:140:kontact_korganizerpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:141:kontact_ktimetrackerpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:142:kontact_plannerpluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:143:kontact_specialdatespluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:144:kontact_summarypluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:145:kontact_todopluginEnabled=true
/home/sofiane/.kde/share/config/kontactrc:155:ActivePlugin=kontact_kmailplugin
/home/sofiane/.kde/share/config/kontactrc:157:ForcedStartupPlugin=kontact_korganizerplugin
/home/sofiane/.kde/share/config/lancelotrc:2:FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/Kontact.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/kopete.desktop,/usr/share/applications/kde4/amarok.desktop

...:/

Hors ligne

#49 Le 26/11/2010, à 02:06

FRUiT

Re : Kontact se lance tout seul au démarrage

Bon le problème c'est que on a pas le retour entier des commandes... Ce que je pourrais dire c'est que kontact provoque énormément d'erreurs dans ton xsession-errors ce qui est tout à fait anormal... T'as déjà essayé de le désinstaller pendant quelques jours ? (dans synaptic choisis "sélectionner pour suppression complète") puis de le réinstaller ?

Sinon tu peux nous poster ton /usr/bin/startx, /usr/bin/startkde, et refaire la commande précédente cette fois dans /etc (chez moi ça donne très peu de résultats) histoire de voir si ce serait pas dans des dossiers rc*.d

grep -RnisI "kontact" /etc > /tmp/kontactetc.txt

N'hésite pas à refaire cette commande sur plein de dossiers (mais un peu plus ciblés) si tu vois des choses qui te paraissent anormales poste les résutats ici ça mange pas de pain.

Dernière modification par FRUiT (Le 26/11/2010, à 02:11)


Neon Suite by FRUiT (kde4.6) [url]http://[Merci de relire les règles]/yzm7cee[/url]
"Pour la carotte, le lapin est la plus parfaite incarnation du mal" (R. Sheckley)
clean

Hors ligne

#50 Le 26/11/2010, à 23:59

belhasof

Re : Kontact se lance tout seul au démarrage

Je crois que j'ai du pain sur la planche.
Je veux bien désinstaller Kontact mais cela affectera (désinstallera) aussi Kde-pim et Kde-full, je ne pense pas que ce soit dans l'amélioration de la situation, de plus je ne suis d'être capable d'assurer si ça part en vrille la dedans.

voilà pour usr/bin/startkde:

#!/bin/sh
#
#  DEFAULT KDE STARTUP SCRIPT ( 4.4.2 (KDE 4.4.2) )
#

if test "x$1" = x--failsafe; then
    KDE_FAILSAFE=1 # General failsafe flag
    KWIN_COMPOSE=N # Disable KWin's compositing
    export KWIN_COMPOSE KDE_FAILSAFE
fi

# When the X server dies we get a HUP signal from xinit. We must ignore it
# because we still need to do some cleanup.
trap 'echo GOT SIGHUP' HUP

# Check if a KDE session already is running and whether it's possible to connect to X
kcheckrunning
kcheckrunning_result=$?
if test $kcheckrunning_result -eq 0 ; then
    echo "KDE seems to be already running on this display."
    xmessage -geometry 500x100 "KDE seems to be already running on this display." > /dev/null 2>/dev/null
    exit 1
elif test $kcheckrunning_result -eq 2 ; then
    echo "\$DISPLAY is not set or cannot connect to the X server."
        exit 1
fi

# Set the background to plain grey.
# The standard X background is nasty, causing moire effects and exploding
# people's heads. We use colours from the standard KDE palette for those with
# palettised displays.
if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
  xsetroot -solid "#000000"
fi

# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
unset DYLD_FORCE_FLAT_NAMESPACE

# in case we have been started with full pathname spec without being in PATH
bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
if [ -n "$bindir" ]; then
  qbindir=`$bindir/kde4-config --qt-binaries`
  if [ -n "$qbindir" ]; then
    case $PATH in
      $qbindir|$qbindir:*|*:$qbindir|*:$qbindir:*) ;;
      *) PATH=$qbindir:$PATH; export PATH;;
    esac
  fi
  case $PATH in
    $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
    *) PATH=$bindir:$PATH; export PATH;;
  esac
fi

# Boot sequence:
#
# kdeinit is used to fork off processes which improves memory usage
# and startup time.
#
# * kdeinit starts klauncher first.
# * Then kded is started. kded is responsible for keeping the sycoca
#   database up to date. When an up to date database is present it goes
#   into the background and the startup continues.
# * Then kdeinit starts kcminit. kcminit performs initialisation of
#   certain devices according to the user's settings
#
# * Then ksmserver is started which takes control of the rest of the startup sequence

# The user's personal KDE directory is usually ~/.kde, but this setting
# may be overridden by setting KDEHOME.

kdehome=$HOME/.kde
test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"`

# Read LANG and write the country part to kdeglobals
# de_AT.UTF-8 => Country=at
# This is necessary because klocale.cpp (kdelibs) does only try to read the value
# from kdeglobals and then falls back to default instead of triyng to detect it

if [ ! -e $kdehome/share/config/kdeglobals ] || [ ! `grep "Country=" $kdehome/share/config/kdeglobals` ]; then
  if [ ! $LANG ]; then
    if [ -e /etc/default/locale ]; then
      localefile='/etc/default/locale'
    elif [ -e /etc/environment ]; then
      localefile='/etc/environment'
    fi
    if [ $localefile ]; then
      locale=`sed -ne 's/^LANG="\(.*\)"$/\1/p' $localefile`
    fi
  else
    locale=$LANG
  fi
  if [ $locale ]; then
    country=`echo $locale | sed -ne 's/^[A-Za-z]*_\([A-Za-z]*\).*$/\1/p'|tr 'A-Z' 'a-z'`
    if [ ! $country = "" ]; then
cat >>$kdehome/share/config/kdeglobals <<EOF
[Locale]
Country=$country
EOF
    fi
  fi
fi

# see kstartupconfig source for usage
mkdir -m 700 -p $kdehome
mkdir -m 700 -p $kdehome/share
mkdir -m 700 -p $kdehome/share/config
cat >$kdehome/share/config/startupconfigkeys <<EOF
kcminputrc Mouse cursorTheme 'Oxygen_Black'
kcminputrc Mouse cursorSize ''
ksplashrc KSplash Theme Default
ksplashrc KSplash Engine KSplashX
kcmfonts General forceFontDPI 0
kdeglobals Locale Language '' # trigger requesting languages from KLocale
kdeglobals Locale Country ''
EOF
kstartupconfig4
returncode=$?
if test $returncode -ne 0; then
    xmessage -geometry 500x100 "kstartupconfig4 does not exist or fails. The error code is $returncode. Check your installation."
    exit 1
fi
[ -r $kdehome/share/config/startupconfig ] && . $kdehome/share/config/startupconfig

# XCursor mouse theme needs to be applied here to work even for kded or ksmserver
if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then
    

    kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
    if test $? -eq 10; then
        XCURSOR_THEME=default
        export XCURSOR_THEME
    elif test -n "$kcminputrc_mouse_cursortheme"; then
        XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
        export XCURSOR_THEME
    fi
    if test -n "$kcminputrc_mouse_cursorsize"; then
        XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
        export XCURSOR_SIZE
    fi
fi


if test "$kcmfonts_general_forcefontdpi" -eq 120; then
    xrdb -quiet -merge -nocpp <<EOF
Xft.dpi: 120
EOF
elif test "$kcmfonts_general_forcefontdpi" -eq 96; then
    xrdb -quiet -merge -nocpp <<EOF
Xft.dpi: 96
EOF
fi


dl=$DESKTOP_LOCKED
unset DESKTOP_LOCKED # Don't want it in the environment

ksplash_pid=
if test -z "$dl"; then
  # languages as resolved by KLocale, for the splash screens use
  # klocale_languages is assembled by kdostartupconfig4 calling KLocale
  KLOCALE_LANGUAGES="$klocale_languages"
  export KLOCALE_LANGUAGES
  # the splashscreen and progress indicator
  case "$ksplashrc_ksplash_engine" in
    KSplashX)
      ksplash_pid=`ksplashx "${ksplashrc_ksplash_theme}" --pid`
      ;;
    None)
      ;;
    Simple)
      ksplash_pid=`ksplashsimple "${ksplashrc_ksplash_theme}" --pid`
      ;;
    *)
      ;;
  esac
  # no longer needed in the environment
  unset KLOCALE_LANGUAGES
fi

# configuration of the gtk2-engines-qtcurve if not already set

# First we need to remove previous gtk-qt-engines config if any
if [ -e $kdehome/env/gtk-qt-engine.rc.sh ] && [ ! -e /var/lib/dpkg/info/gtk-qt-engine.list ] ; then
  rm -f $kdehome/env/gtk-qt-engine.rc.sh
  # We also have to remove .gtkrc-2.0-kde4 since it'll have gtk-qt-engines config in it
  if [ -e $HOME/.gtkrc-2.0-kde4 ] ; then
    rm -f $HOME/.gtkrc-2.0-kde4
  fi
fi

if [ -e /var/lib/dpkg/info/gtk2-engines-qtcurve.list ] && [ -e /var/lib/dpkg/info/kubuntu-default-settings.list ] ; then
  # The theme and k-d-s are installed, configuring...
  if [ ! -e $kdehome/env/gtk2-engines-qtcurve.rc.sh ] && [ -e /usr/share/kubuntu-default-settings/gtk2-engines-qtcurve.rc.sh ] ; then
    mkdir -p $kdehome/env
    cp -f /usr/share/kubuntu-default-settings/gtk2-engines-qtcurve.rc.sh $kdehome/env
    chmod 755 $kdehome/env/gtk2-engines-qtcurve.rc.sh
  fi

  if [ ! -e $HOME/.gtkrc-2.0-kde4 ] && [ -e /usr/share/kubuntu-default-settings/dot-gtkrc-2.0-kde4 ] ; then
    cp -f /usr/share/kubuntu-default-settings/dot-gtkrc-2.0-kde4 $HOME/.gtkrc-2.0-kde4
  fi
else
  # Either the theme or k-d-s are missing, not forcing the configuration then... 
  if [ -e $kdehome/env/gtk2-engines-qtcurve.rc.sh ] ; then
    rm -f $kdehome/env/gtk2-engines-qtcurve.rc.sh
  fi

  if [ -e $HOME/.gtkrc-2.0-kde4 ] && [ ! -e /var/lib/dpkg/info/gtk-qt-engine.list ] ; then
    rm -f $HOME/.gtkrc-2.0-kde4
  fi
fi

# Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh
# (where <localprefix> is $KDEHOME or ~/.kde, and <prefixes> is where KDE is installed)
#
# This is where you can define environment variables that will be available to
# all KDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
# or eval `gpg-agent --daemon`.
# Note: if you do that, you should also put "ssh-agent -k" as a shutdown script
#
# (see end of this file).
# For anything else (that doesn't set env vars, or that needs a window manager),
# better use the Autostart folder.

libpath=`kde4-config --path lib | tr : '\n'`

for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
  for file in "$prefix"*.sh; do
    test -r "$file" && . "$file"
  done
done

# Set the path for Qt plugins provided by KDE
if test -n "$QT_PLUGIN_PATH"; then
  QT_PLUGIN_PATH="$QT_PLUGIN_PATH:`kde4-config --path qtplugins`"
else
  QT_PLUGIN_PATH="`kde4-config --path qtplugins`"
fi
export QT_PLUGIN_PATH

# Activate the kde font directories.
#
# There are 4 directories that may be used for supplying fonts for KDE.
#
# There are two system directories. These belong to the administrator.
# There are two user directories, where the user may add her own fonts.
#
# The 'override' versions are for fonts that should come first in the list,
# i.e. if you have a font in your 'override' directory, it will be used in
# preference to any other.
#
# The preference order looks like this:
# user override, system override, X, user, system
#
# Where X is the original font database that was set up before this script
# runs.

usr_odir=$HOME/.fonts/kde-override
usr_fdir=$HOME/.fonts

if test -n "$KDEDIRS"; then
  kdedirs_first=`echo "$KDEDIRS"|sed -e 's/:.*//'`
  sys_odir=$kdedirs_first/share/fonts/override
  sys_fdir=$kdedirs_first/share/fonts
else
  sys_odir=$KDEDIR/share/fonts/override
  sys_fdir=$KDEDIR/share/fonts
fi

# We run mkfontdir on the user's font dirs (if we have permission) to pick
# up any new fonts they may have installed. If mkfontdir fails, we still
# add the user's dirs to the font path, as they might simply have been made
# read-only by the administrator, for whatever reason.

test -d "$sys_odir" && xset +fp "$sys_odir"
test -d "$usr_odir" && (mkfontdir "$usr_odir" ; xset +fp "$usr_odir")
test -d "$usr_fdir" && (mkfontdir "$usr_fdir" ; xset fp+ "$usr_fdir")
test -d "$sys_fdir" && xset fp+ "$sys_fdir"

# Ask X11 to rebuild its font list.
xset fp rehash

# Set a left cursor instead of the standard X11 "X" cursor, since I've heard
# from some users that they're confused and don't know what to do. This is
# especially necessary on slow machines, where starting KDE takes one or two
# minutes until anything appears on the screen.
#
# If the user has overwritten fonts, the cursor font may be different now
# so don't move this up.
#
xsetroot -cursor_name left_ptr

# Get Ghostscript to look into user's KDE fonts dir for additional Fontmap
if test -n "$GS_LIB" ; then
    GS_LIB=$usr_fdir:$GS_LIB
    export GS_LIB
else
    GS_LIB=$usr_fdir
    export GS_LIB
fi

lnusertemp=`kde4-config --path exe --locate lnusertemp`
if test -z "$lnusertemp"; then
  # Startup error
  echo 'startkde: ERROR: Could not locate lnusertemp in '`kde4-config --path exe` 1>&2
fi

# Link "tmp" "socket" and "cache" resources to directory in /tmp
# Creates:
# - a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
# - a directory /tmp/ksocket-$USER and links $KDEHOME/socket-$HOSTNAME to it.
# - a directory /var/tmp/kdecache-$USER and links $KDEHOME/cache-$HOSTNAME to it.
# Note: temporary locations can be overriden through the KDETMP and KDEVARTMP
# environment variables
for resource in tmp cache socket; do
    if "$lnusertemp" $resource >/dev/null; then
        : # ok
    else
        echo 'startkde: Call to lnusertemp failed (temporary directories full?). Check your installation.'  1>&2
        test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
        xmessage -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
        exit 1
    fi
done

# In case of dcop sockets left by a previous session, cleanup
#dcopserver_shutdown

echo 'startkde: Starting up...'  1>&2

# Make sure that D-Bus is running
if test -z "$XDG_DATA_DIRS"; then
    XDG_DATA_DIRS="`kde4-config --prefix`/share:/usr/share:/usr/local/share"
    export XDG_DATA_DIRS
fi
# D-Bus autolaunch is broken
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi
if qdbus >/dev/null 2>/dev/null; then
    : # ok
else
    echo 'startkde: Could not start D-Bus. Can you call qdbus?'  1>&2
    test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
    xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?"
    exit 1
fi


# Mark that full KDE session is running (e.g. Konqueror preloading works only
# with full KDE running). The KDE_FULL_SESSION property can be detected by
# any X client connected to the same X session, even if not launched
# directly from the KDE session but e.g. using "ssh -X", kdesu. $KDE_FULL_SESSION
# however guarantees that the application is launched in the same environment
# like the KDE session and that e.g. KDE utilities/libraries are available.
# KDE_FULL_SESSION property is also only available since KDE 3.5.5.
# The matching tests are:
#   For $KDE_FULL_SESSION:
#     if test -n "$KDE_FULL_SESSION"; then ... whatever
#   For KDE_FULL_SESSION property:
#     xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
#     if test $? -eq 0; then ... whatever
#
# Additionally there is (since KDE 3.5.7) $KDE_SESSION_UID with the uid
# of the user running the KDE session. It should be rarely needed (e.g.
# after sudo to prevent desktop-wide functionality in the new user's kded).
#
# Since KDE4 there is also KDE_SESSION_VERSION, containing the major version number.
# Note that this didn't exist in KDE3, which can be detected by its absense and
# the presence of KDE_FULL_SESSION.
#
KDE_FULL_SESSION=true
export KDE_FULL_SESSION
xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true

KDE_SESSION_VERSION=4
export KDE_SESSION_VERSION
xprop -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 4

KDE_SESSION_UID=`id -ru`
export KDE_SESSION_UID

# We set LD_BIND_NOW to increase the efficiency of kdeinit.
# kdeinit unsets this variable before loading applications.
LD_BIND_NOW=true /usr/lib/kde4/libexec/start_kdeinit_wrapper +kcminit_startup
if test $? -ne 0; then
  # Startup error
  echo 'startkde: Could not start kdeinit4. Check your installation.'  1>&2
  test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
  xmessage -geometry 500x100 "Could not start kdeinit4. Check your installation."
  exit 1
fi

# If the session should be locked from the start (locked autologin),
# lock now and do the rest of the KDE startup underneath the locker.
if test -n "$dl"; then
  kwrapper4 kscreenlocker --forcelock &
  # Give it some time for starting up. This is somewhat unclean; some
  # notification would be better.
  sleep 1
fi

# finally, give the session control to the session manager
# see kdebase/ksmserver for the description of the rest of the startup sequence
# if the KDEWM environment variable has been set, then it will be used as KDE's
# window manager instead of kwin.
# if KDEWM is not set, ksmserver will ensure kwin is started.
# kwrapper4 is used to reduce startup time and memory usage
# kwrapper4 does not return useful error codes such as the exit code of ksmserver.
# We only check for 255 which means that the ksmserver process could not be 
# started, any problems thereafter, e.g. ksmserver failing to initialize, 
# will remain undetected.
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
kwrapper4 ksmserver $KDEWM 
if test $? -eq 255; then
  # Startup error
  echo 'startkde: Could not start ksmserver. Check your installation.'  1>&2
  test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
  xmessage -geometry 500x100 "Could not start ksmserver. Check your installation."
fi

# wait if there's any crashhandler shown
while qdbus | grep "^[^w]*org.kde.drkonqi" > /dev/null ; do
    sleep 5
done

echo 'startkde: Shutting down...'  1>&2
# just in case
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null

# Clean up
kdeinit4_shutdown
# KDE3 support
kde3 kdeinit_shutdown 2>/dev/null
kde3 dcopserver_shutdown --wait 2>/dev/null

echo 'startkde: Running shutdown scripts...'  1>&2

# Run scripts found in $KDEDIRS/shutdown
for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/shutdown/,p'`; do
  for file in `ls "$prefix" 2> /dev/null | egrep -v '(~|\.bak)$'`; do
    test -x "$prefix$file" && "$prefix$file"
  done
done

unset KDE_FULL_SESSION
xprop -root -remove KDE_FULL_SESSION
unset KDE_SESSION_VERSION
xprop -root -remove KDE_SESSION_VERSION
unset KDE_SESSION_UID

echo 'startkde: Done.'  1>&2

et pour usr/bin/startx

#!/bin/bash

#
# This is just a sample implementation of a slightly less primitive
# interface than xinit.  It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default.  The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#

unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER


userclientrc=$HOME/.xinitrc
sysclientrc=/etc/X11/xinit/xinitrc


userserverrc=$HOME/.xserverrc
sysserverrc=/etc/X11/xinit/xserverrc
defaultclient=xterm
defaultserver=/usr/bin/X
defaultclientargs=""
defaultserverargs=""
defaultdisplay=":0"
clientargs=""
serverargs=""

enable_xauth=1



whoseargs="client"
while [ x"$1" != x ]; do
    case "$1" in
    # '' required to prevent cpp from treating "/*" as a C comment.
    /''*|\./''*)
    if [ "$whoseargs" = "client" ]; then
        if [ x"$client" = x ] && [ x"$clientargs" = x ]; then
        client="$1"
        else
        clientargs="$clientargs $1"
        fi
    else
        if [ x"$server" = x ] && [ x"$serverargs" = x ]; then
        server="$1"
        else
        serverargs="$serverargs $1"
        fi
    fi
    ;;
    --)
    whoseargs="server"
    ;;
    *)
    if [ "$whoseargs" = "client" ]; then
        clientargs="$clientargs $1"
    else
        # display must be the FIRST server argument
        if [ x"$serverargs" = x ] && \
         expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then
        display="$1"
        else
        serverargs="$serverargs $1"
        fi
    fi
    ;;
    esac
    shift
done

# process client arguments
if [ x"$client" = x ]; then
    client=$defaultclient

    # if no client arguments either, use rc file instead
    if [ x"$clientargs" = x ]; then
        if [ -f "$userclientrc" ]; then
            client=$userclientrc
        elif [ -f "$sysclientrc" ]; then
            client=$sysclientrc






        fi

        clientargs=$defaultclientargs
    fi
fi

# process server arguments
if [ x"$server" = x ]; then
    server=$defaultserver

    # if no server arguments or display either, use defaults
    if [ x"$serverargs" = x -a x"$display" = x ]; then
    # For compatibility reasons, only use xserverrc if there were no server command line arguments
    if [ -f "$userserverrc" ]; then
        server=$userserverrc
    elif [ -f "$sysserverrc" ]; then
        server=$sysserverrc
    fi

    serverargs=$defaultserverargs
    display=$defaultdisplay
    fi
fi

if [ x"$enable_xauth" = x1 ] ; then
    if [ x"$XAUTHORITY" = x ]; then
        XAUTHORITY=$HOME/.Xauthority
        export XAUTHORITY
    fi

    removelist=

    # set up default Xauth info for this machine

    # check for GNU hostname
    if hostname --version > /dev/null 2>&1; then
        if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
            hostname=`hostname -f`
        fi
    fi

    if [ -z "$hostname" ]; then
        hostname=`hostname`
    fi

    authdisplay=${display:-:0}

    mcookie=`/usr/bin/mcookie`







    if test x"$mcookie" = x; then
        echo "Couldn't create cookie"
        exit 1
    fi
    dummy=0

    # create a file with auth information for the server. ':0' is a dummy.
    xserverauthfile=`mktemp --tmpdir serverauth.XXXXXXXXXX`
    trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM
    xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $mcookie
EOF



    serverargs=${serverargs}" -auth "${xserverauthfile}


    # now add the same credentials to the client authority file
    # if '$displayname' already exists do not overwrite it as another
    # server man need it. Add them to the '$xserverauthfile' instead.
    for displayname in $authdisplay $hostname$authdisplay; do
        authcookie=`xauth list "$displayname" \
        | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
        if [ "z${authcookie}" = "z" ] ; then
            xauth -q << EOF 
add $displayname . $mcookie
EOF
        removelist="$displayname $removelist"
        else
            dummy=$(($dummy+1));
            xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $authcookie
EOF
        fi
    done
fi












xinit "$client" $clientargs -- "$server" $display $serverargs



retval=$?

if [ x"$enable_xauth" = x1 ] ; then
    if [ x"$removelist" != x ]; then
        xauth remove $removelist
    fi
    if [ x"$xserverauthfile" != x ]; then
        rm -f "$xserverauthfile"
    fi
fi



















exit $retval

et pour kontactetc:

/etc/kde3/kdebug.areas:182:5600        kontact (core)
/etc/kde3/kdebug.areas:183:5601        kontact (interfaces)
/etc/kde3/kdebug.areas:184:5602        kontact (plugins)
/etc/xdg/menus/kde4-applications.menu:342:            <Filename>kde-Kontact.desktop</Filename>
/etc/xdg/menus/kde-applications.menu:315:            <Filename>kde-Kontact.desktop</Filename>

effectivement il y a peu de chose

vois-tu des choses anormales?
je vais essayer aussi sur d'autres dossiers

Hors ligne