From kde-pim Thu May 01 17:44:25 2014 From: GEO <1g2e3o4 () gmail ! com> Date: Thu, 01 May 2014 17:44:25 +0000 To: kde-pim Subject: Re: [Kde-pim] Akonadi mail check bug Message-Id: <2117060.OLSDKgG0rG () linuxpc> X-MARC-Message: https://marc.info/?l=kde-pim&m=139896628504764 On Wednesday 30 April 2014 19:25:55 Dmitry wrote: > This bug still exists on KDE 4.13.0 and Akonadi 1.12.1 Yeah, it does. :-( Ugly work around: use nmcli to check if internet is available (if you are using networkmanager): nmcli nm | grep -wo connected if it return connected, internet should be available (given that a network you connect to has internet access), if it returns nothing it isn't for sure. So if you have akonadi in startup, the startup command should look like: while [ "$(nmcli nm | grep -wo connected)" == "" ]; do echo "Waiting for connection ..."; sleep 1; done; akonadictl start This does not help for suspend though ... or when the connection is lost. Could someone point to the area of code responsible for this, so I could play around? _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/