Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Recommended way to shut down akonadi
Date: Fri, 10 Jun 2016 16:06:39
Message-Id: 4686288.0tEWZtr5JR@dell_xps
In Reply to: Re: [gentoo-user] Recommended way to shut down akonadi by "J. Roeleveld"
1 On Tuesday 07 Jun 2016 10:13:12 J. Roeleveld wrote:
2
3 > On Monday, June 06, 2016 07:22:09 PM Mick wrote:
4 > > I do not have KDEPIM systray enabled and I shutdown Kmail before I
5 > > shutdown
6 > > the PC.
7 > >
8 > > These are the relevant processes I see:
9 > >
10 > > 29961 ? SNl 0:09 kmail -caption KMail
11 > > 29968 ? SNl 0:00 /usr/bin/akonadi_control
12 > > 29970 ? SNl 0:08 \_ akonadiserver
13 > > 29998 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
14 > > akonadi_akonotes_resource akonadi_akonotes_resource_0
15 > > 29999 ? SN 0:00 \_ /usr/bin/akonadi_archivemail_agent
16 > > --identifier akonadi_archivemail_agent
17 > > 30000 ? SN 0:02 \_ /usr/bin/akonadi_baloo_indexer --identifier
18 > > akonadi_baloo_indexer
19 > > 30001 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
20 > > akonadi_contacts_resource akonadi_contacts_resource_1
21 > > 30002 ? SN 0:00 \_ /usr/bin/akonadi_followupreminder_agent --
22 > > identifier akonadi_followupreminder_agent
23 > > 30007 ? SNl 0:00 \_ /usr/bin/akonadi_imap_resource --identifier
24 > > akonadi_imap_resource_0
25 > > 30008 ? SNl 0:02 \_ /usr/bin/akonadi_imap_resource --identifier
26 > > akonadi_imap_resource_1
27 > > 30009 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
28 > > akonadi_maildir_resource akonadi_maildir_resource_0
29 > > 30010 ? SN 0:00 \_ /usr/bin/akonadi_maildispatcher_agent --
30 > > identifier akonadi_maildispatcher_agent
31 > > 30013 ? SN 0:00 \_ /usr/bin/akonadi_mailfilter_agent
32 > > --identifier akonadi_mailfilter_agent
33 > > 30014 ? SN 0:00 \_ /usr/bin/akonadi_migration_agent --identifier
34 > > akonadi_migration_agent
35 > > 30015 ? SN 0:00 \_ /usr/bin/akonadi_newmailnotifier_agent --
36 > > identifier akonadi_newmailnotifier_agent
37 > > 30016 ? SN 0:00 \_ /usr/bin/akonadi_sendlater_agent --identifier
38 > > akonadi_sendlater_agent
39 > > 30023 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
40 > > akonadi_vcard_resource akonadi_vcard_resource_1
41 > > 30024 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
42 > > akonadi_vcard_resource akonadi_vcard_resource_2
43 > > 29974 ? SNs 0:00 kdeinit4: kdeinit4 Runnin e
44 > > 29976 ? SN 0:00 \_ kdeinit4: klauncher [kdei e
45 > > 29979 ? SN 0:00 kdeinit4: kded4 [kdeinit]
46 > > 29997 ? SNL 0:00 kdeinit4: kwalletd [kdein e
47 > > 30101 ? SNl 0:00 /usr/bin/knotify4
48 > >
49 > > after I login and start Kmail.
50 > >
51 > > I did try 'killall kdeinit4' but from what I recall it made no difference.
52 > > Happy to try any suggestions/syntax you may have.
53 >
54 > Not able to test as I use KDE.
55 > But, you could try:
56 > # killall akonadi_control
57 > or
58 > # akonadictl stop
59 > and then wait till akonadictl status shows it's actually stopped:
60 >
61 > Akonadi Control: running
62 >
63 >
64 > or you could try:
65 >
66 > # killall --user
67 >
68 > Kind regards,
69 >
70 > Joost
71
72 I've tried setting in .xsession:
73
74 /usr/bin/akonadictl stop
75 killall akonadi_control
76 killall kdeinit4
77 killall kded4
78
79 and various combinations thereof, all of which do not fix the problem. I
80 still have to wait for 90 sec on a black screen before X exits and shutdown
81 begins. :-(
82
83 If running first '/usr/bin/akonadictl stop' on a terminal allows X to exit,
84 why the same incantation in .xsession does not. :-/
85
86 Is there some other file I can add this command to run when I call for X to
87 exit?
88 --
89 Regards,
90 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Recommended way to shut down akonadi "J. Roeleveld" <joost@××××××××.org>