[Kde-pim] Akonadi mail check bug

GEO 1g2e3o4 at gmail.com
Thu May 1 18:44:25 BST 2014


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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list