On June 10, 2016 6:05:56 PM GMT+02:00, Mick <michaelkintz...@gmail.com> wrote:
>On Tuesday 07 Jun 2016 10:13:12 J. Roeleveld wrote:
>
>> On Monday, June 06, 2016 07:22:09 PM Mick wrote:
>> > I do not have KDEPIM systray enabled and I shutdown Kmail before I
>> > shutdown
>> > the PC.
>> > 
>> > These are the relevant processes I see:
>> > 
>> > 29961 ? SNl 0:09 kmail -caption KMail
>> > 29968 ? SNl 0:00 /usr/bin/akonadi_control
>> > 29970 ? SNl 0:08 \_ akonadiserver
>> > 29998 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
>> > akonadi_akonotes_resource akonadi_akonotes_resource_0
>> > 29999 ? SN 0:00 \_ /usr/bin/akonadi_archivemail_agent
>> > --identifier akonadi_archivemail_agent
>> > 30000 ? SN 0:02 \_ /usr/bin/akonadi_baloo_indexer --identifier
>> > akonadi_baloo_indexer
>> > 30001 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
>> > akonadi_contacts_resource akonadi_contacts_resource_1
>> > 30002 ? SN 0:00 \_ /usr/bin/akonadi_followupreminder_agent --
>> > identifier akonadi_followupreminder_agent
>> > 30007 ? SNl 0:00 \_ /usr/bin/akonadi_imap_resource --identifier
>> > akonadi_imap_resource_0
>> > 30008 ? SNl 0:02 \_ /usr/bin/akonadi_imap_resource --identifier
>> > akonadi_imap_resource_1
>> > 30009 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
>> > akonadi_maildir_resource akonadi_maildir_resource_0
>> > 30010 ? SN 0:00 \_ /usr/bin/akonadi_maildispatcher_agent --
>> > identifier akonadi_maildispatcher_agent
>> > 30013 ? SN 0:00 \_ /usr/bin/akonadi_mailfilter_agent
>> > --identifier akonadi_mailfilter_agent
>> > 30014 ? SN 0:00 \_ /usr/bin/akonadi_migration_agent --identifier
>> > akonadi_migration_agent
>> > 30015 ? SN 0:00 \_ /usr/bin/akonadi_newmailnotifier_agent --
>> > identifier akonadi_newmailnotifier_agent
>> > 30016 ? SN 0:00 \_ /usr/bin/akonadi_sendlater_agent --identifier
>> > akonadi_sendlater_agent
>> > 30023 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
>> > akonadi_vcard_resource akonadi_vcard_resource_1
>> > 30024 ? SNl 0:00 \_ /usr/bin/akonadi_agent_launcher
>> > akonadi_vcard_resource akonadi_vcard_resource_2
>> > 29974 ? SNs 0:00 kdeinit4: kdeinit4 Runnin e
>> > 29976 ? SN 0:00 \_ kdeinit4: klauncher [kdei e
>> > 29979 ? SN 0:00 kdeinit4: kded4 [kdeinit]
>> > 29997 ? SNL 0:00 kdeinit4: kwalletd [kdein e
>> > 30101 ? SNl 0:00 /usr/bin/knotify4
>> > 
>> > after I login and start Kmail.
>> > 
>> > I did try 'killall kdeinit4' but from what I recall it made no
>difference.
>> > Happy to try any suggestions/syntax you may have.
>> 
>> Not able to test as I use KDE.
>> But, you could try:
>> # killall akonadi_control
>> or
>> # akonadictl stop
>> and then wait till akonadictl status shows it's actually stopped:
>> 
>> Akonadi Control: running
>> 
>> 
>> or you could try:
>> 
>> # killall --user
>> 
>> Kind regards,
>> 
>> Joost
>
>I've tried setting in .xsession:
>
>/usr/bin/akonadictl stop
>killall akonadi_control
>killall kdeinit4
>killall kded4
>
>and various combinations thereof, all of which do not fix the problem. 
>I 
>still have to wait for 90 sec on a black screen before X exits and
>shutdown 
>begins.  :-(
>
>If running first '/usr/bin/akonadictl stop' on a terminal allows X to
>exit, 
>why the same incantation in .xsession does not.  :-/
>
>Is there some other file I can add this command to run when I call for
>X to 
>exit?

Kde and I would assume Gnome as well have a method of running a script when 
starting and stopping a login session.

This is usually used for ssh-agent and pgp-agent.

You could try looking for something similar with the desktop/window manager of 
your choice.

I think .xsession is run only during start and will not 'pause' during the 
session.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to