1 |
On June 10, 2016 6:05:56 PM GMT+02:00, Mick <michaelkintzios@×××××.com> wrote: |
2 |
>On Tuesday 07 Jun 2016 10:13:12 J. Roeleveld wrote: |
3 |
> |
4 |
>> On Monday, June 06, 2016 07:22:09 PM Mick wrote: |
5 |
>> > I do not have KDEPIM systray enabled and I shutdown Kmail before I |
6 |
>> > shutdown |
7 |
>> > the PC. |
8 |
>> > |
9 |
>> > These are the relevant processes I see: |
10 |
>> > |
11 |
>> > 29961 ? SNl 0:09 kmail -caption KMail |
12 |
>> > 29968 ? SNl 0:00 /usr/bin/akonadi_control |
13 |
>> > 29970 ? SNl 0:08 \_ akonadiserver |
14 |
>> > 29998 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher |
15 |
>> > akonadi_akonotes_resource akonadi_akonotes_resource_0 |
16 |
>> > 29999 ? SN 0:00 \_ /usr/bin/akonadi_archivemail_agent |
17 |
>> > --identifier akonadi_archivemail_agent |
18 |
>> > 30000 ? SN 0:02 \_ /usr/bin/akonadi_baloo_indexer --identifier |
19 |
>> > akonadi_baloo_indexer |
20 |
>> > 30001 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher |
21 |
>> > akonadi_contacts_resource akonadi_contacts_resource_1 |
22 |
>> > 30002 ? SN 0:00 \_ /usr/bin/akonadi_followupreminder_agent -- |
23 |
>> > identifier akonadi_followupreminder_agent |
24 |
>> > 30007 ? SNl 0:00 \_ /usr/bin/akonadi_imap_resource --identifier |
25 |
>> > akonadi_imap_resource_0 |
26 |
>> > 30008 ? SNl 0:02 \_ /usr/bin/akonadi_imap_resource --identifier |
27 |
>> > akonadi_imap_resource_1 |
28 |
>> > 30009 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher |
29 |
>> > akonadi_maildir_resource akonadi_maildir_resource_0 |
30 |
>> > 30010 ? SN 0:00 \_ /usr/bin/akonadi_maildispatcher_agent -- |
31 |
>> > identifier akonadi_maildispatcher_agent |
32 |
>> > 30013 ? SN 0:00 \_ /usr/bin/akonadi_mailfilter_agent |
33 |
>> > --identifier akonadi_mailfilter_agent |
34 |
>> > 30014 ? SN 0:00 \_ /usr/bin/akonadi_migration_agent --identifier |
35 |
>> > akonadi_migration_agent |
36 |
>> > 30015 ? SN 0:00 \_ /usr/bin/akonadi_newmailnotifier_agent -- |
37 |
>> > identifier akonadi_newmailnotifier_agent |
38 |
>> > 30016 ? SN 0:00 \_ /usr/bin/akonadi_sendlater_agent --identifier |
39 |
>> > akonadi_sendlater_agent |
40 |
>> > 30023 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher |
41 |
>> > akonadi_vcard_resource akonadi_vcard_resource_1 |
42 |
>> > 30024 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher |
43 |
>> > akonadi_vcard_resource akonadi_vcard_resource_2 |
44 |
>> > 29974 ? SNs 0:00 kdeinit4: kdeinit4 Runnin e |
45 |
>> > 29976 ? SN 0:00 \_ kdeinit4: klauncher [kdei e |
46 |
>> > 29979 ? SN 0:00 kdeinit4: kded4 [kdeinit] |
47 |
>> > 29997 ? SNL 0:00 kdeinit4: kwalletd [kdein e |
48 |
>> > 30101 ? SNl 0:00 /usr/bin/knotify4 |
49 |
>> > |
50 |
>> > after I login and start Kmail. |
51 |
>> > |
52 |
>> > I did try 'killall kdeinit4' but from what I recall it made no |
53 |
>difference. |
54 |
>> > Happy to try any suggestions/syntax you may have. |
55 |
>> |
56 |
>> Not able to test as I use KDE. |
57 |
>> But, you could try: |
58 |
>> # killall akonadi_control |
59 |
>> or |
60 |
>> # akonadictl stop |
61 |
>> and then wait till akonadictl status shows it's actually stopped: |
62 |
>> |
63 |
>> Akonadi Control: running |
64 |
>> |
65 |
>> |
66 |
>> or you could try: |
67 |
>> |
68 |
>> # killall --user |
69 |
>> |
70 |
>> Kind regards, |
71 |
>> |
72 |
>> Joost |
73 |
> |
74 |
>I've tried setting in .xsession: |
75 |
> |
76 |
>/usr/bin/akonadictl stop |
77 |
>killall akonadi_control |
78 |
>killall kdeinit4 |
79 |
>killall kded4 |
80 |
> |
81 |
>and various combinations thereof, all of which do not fix the problem. |
82 |
>I |
83 |
>still have to wait for 90 sec on a black screen before X exits and |
84 |
>shutdown |
85 |
>begins. :-( |
86 |
> |
87 |
>If running first '/usr/bin/akonadictl stop' on a terminal allows X to |
88 |
>exit, |
89 |
>why the same incantation in .xsession does not. :-/ |
90 |
> |
91 |
>Is there some other file I can add this command to run when I call for |
92 |
>X to |
93 |
>exit? |
94 |
|
95 |
Kde and I would assume Gnome as well have a method of running a script when starting and stopping a login session. |
96 |
|
97 |
This is usually used for ssh-agent and pgp-agent. |
98 |
|
99 |
You could try looking for something similar with the desktop/window manager of your choice. |
100 |
|
101 |
I think .xsession is run only during start and will not 'pause' during the session. |
102 |
|
103 |
-- |
104 |
Joost |
105 |
-- |
106 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |