Reply
Thread Tools
Posts: 256 | Thanked: 110 times | Joined on Jan 2012 @ Europe
#1
EDIT: See this for a temporary fix.


The issues is this: the calendar icon stopped updating itself daily.
The phone has recently been wiped clean and then reflashed to PR1.3. I run the latest FasterN9 and Inception.

Going for the following as root

Code:
stop xsession/calendar-icon-update
start xsession/calendar-icon-update
does not change a thing. Feedback is positive signalising stopping and starting xsession/calendar-icon-update, but the icon does not 'refresh'. The only option to refresh the icon is to reboot the device.

Firstly, I looked at the scripts initiated at boot. And /etc/inti/xsession/calendar-icon-update.conf only includes this command:

Code:
exec /usr/bin/aegis-exec -s -u user -l "exec /usr/bin/calendarupdateicon"
When I try to manually execute that either as root (after devel-su) or regular user, all I get is this:

Code:
QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave.
get_cookies_by_attributes:  (138)
added event, cookie: 139
I believe FasterN9 in connection with some other application may be causing the interference here. Any help to solve this and get the icon updating the way it is supposed to will be much appreciated.

Thanks for help!
__________________
NOKIA N9 16GB BLACK

Last edited by DarkSkies; 2012-07-27 at 18:03.
 
Posts: 256 | Thanked: 110 times | Joined on Jan 2012 @ Europe
#2
Any hints on how to further investigate this issue? Thanks.
__________________
NOKIA N9 16GB BLACK
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#3
have you tried uninstalling FasterN9? Its well known to cause this issue...
 
Posts: 359 | Thanked: 322 times | Joined on Jun 2010
#4
I have this issue, too. I won't give up Faster N9, but I have learned that you don't need a full reboot to fix it--you only need to do a refresh. I generally use N9 QRefresh from N9QuickTweaks. Minimal pain, but not an ideal solution either.

I believe that the issue must be with the coding, since the clock icon still works fine on PR1.3 with all the other stuff running. Perhaps the answer is to ask that developer to take a look or consult or put together a new app or tweak to get the calendar icon working again.
 

The Following User Says Thank You to Hacker For This Useful Post:
Posts: 256 | Thanked: 110 times | Joined on Jan 2012 @ Europe
#5
The hint about refreshing is great. Actually, I took a look at calendar's .desktop file and links to icons there are being switch as they should be. It is indeed the calendar icon/shortcut that is not being 'refreshed'.

Now, is there any way to do a refresh from the command line (and not using some apps/mods)? If so, Profilematic could simply be set to do a refresh say 5 min after midnight = problem solved.
__________________
NOKIA N9 16GB BLACK
 
Posts: 256 | Thanked: 110 times | Joined on Jan 2012 @ Europe
#6
Okay, restarting homescreen does the trick.

Code:
devel-su #pass
/sbin/initctl restart xsession/mthome
For details see here.
__________________
NOKIA N9 16GB BLACK
 
Posts: 256 | Thanked: 110 times | Joined on Jan 2012 @ Europe
#7
Okay, to make refreshing the homescreen as easy as possible, you can create a shell script and pair it with a desktop shortcut. In this way you click on the icon, enter root password and the refresh commences.

1. Create a new directory under /home/user, e.g. "calfix". This is where you will keep files needed for this.
2. Open command line (by default as user) and do
Code:
mkdir calfix
cd calfix/
nano calfix.sh
and in nano, paste this into your script:
Code:
#!/bin/sh

/sbin/initctl restart xsession/mthome
Save the file.

3. Go devel-su and do

Code:
nano /usr/share/applications/calfix.desktop
and fill the file with the following:

Code:
[Desktop Entry]
Name=CalFix
Exec=/usr/bin/meego-terminal -n -e devel-su -c "sh /home/user/calfix/calfix.sh"
Icon=/home/user/calfix/calfix.png
Terminal=false
Type=Application
Comment=Calendar fix
and save the file.

4. Last step is the icon. Save and copy this:



to /home/user/scripts as calfix.png.

Done. You should have a new desktop icon. When clicked, you will be prompted for your root password and then the homescreen will restart. This is a stand alone solution and you don't need any 3rd party tools for that.
__________________
NOKIA N9 16GB BLACK

Last edited by DarkSkies; 2012-07-27 at 18:05.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:55.