|
2012-02-25
, 07:48
|
Posts: 951 |
Thanked: 2,344 times |
Joined on Jan 2012
@ UK
|
#12
|
|
2012-02-25
, 11:27
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#13
|
The Following User Says Thank You to Dousan For This Useful Post: | ||
|
2012-02-26
, 05:56
|
Posts: 233 |
Thanked: 491 times |
Joined on Oct 2011
@ Sydney
|
#14
|
@MFaroTusino i can't make it work mate. When using your instructions as on first post i only get a green app icon on my desktop with 'Percent' written under it. When pressed a xterm window appears really quick, like a short flash.
I have a .BatteryWidget folder in /home/user/
How to make it work?
Regards Dousan...
|
2012-02-26
, 09:23
|
Posts: 190 |
Thanked: 206 times |
Joined on Jan 2010
@ Accra,Ghana
|
#15
|
The xterm window is supposed to happen, at least for now. Need to work on that . So when pressed, the icon doesn't update?
This may be because the icon hasn't been created properly, or also due to permission issues.
Try a few things;
1. The output of;
cd /home/user/.BatteryWidget/
ls -a
Should be;
BatteryWidget.py
BatteryWidget_Template.png
Icon_Widget.png
Percent.sh
percent.txt
2.
cd /usr/share/applications/
nano BatteryWidget.desktop
should have
icon=/home/user/.BatteryWidget/Icon_Widget.png
If they are all in place, check permissions
cd /home/user/.BatteryWidget
ls -l
And make sure that Icon_Widget.png is owned by/ allowed to be written to and executed by the user and not root
Cheers
The Following User Says Thank You to tcbl50 For This Useful Post: | ||
|
2012-02-26
, 09:43
|
Posts: 233 |
Thanked: 491 times |
Joined on Oct 2011
@ Sydney
|
#16
|
|
2012-02-26
, 10:04
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#17
|
Realised the issue many are facing is a dependency issue. Install python and python-imaging from terminal (apt-get install python python-imaging) and all should work.
Sorry that this slipped my mind, have updated the first post
The Following User Says Thank You to Dousan For This Useful Post: | ||
|
2012-02-26
, 10:06
|
Posts: 233 |
Thanked: 491 times |
Joined on Oct 2011
@ Sydney
|
#18
|
Cheers mate that did the trick, now working as it should
Regards Dousan...
|
2012-02-26
, 10:15
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#19
|
Glad to hear How is it with updating? Do you need to tap twice to update occasionally?
The Following User Says Thank You to Dousan For This Useful Post: | ||
|
2012-02-26
, 10:22
|
Posts: 233 |
Thanked: 491 times |
Joined on Oct 2011
@ Sydney
|
#20
|
I only need to tap it once to update it. It's not updating by itself.
Regards Dousan...
The Following User Says Thank You to MFaroTusino For This Useful Post: | ||
Have managed to get the status bar to be locked to the one icon, and have altered the permissions (chmod) so the app can write to it.
At the moment the only issue is refreshing the status bar. If you know how to do this, please send me an email. I will make sure to credit your efforts
michaelmnb@hotmail.com.au
Blogs I post to
MyNokiaBlog
UnleashThePhones
Hit thanks if I have helped in some way, or you agree with me
Twitter
-------------------------------------------------------------------------------
Battery Widget
#OperationUnicorn
Harmoji - Emoji for Harmattan
-------------------------------------------------------------------------------
N9 [Black] - Sailfish OS (1.x.x.xx)
N9 [White] - PR 1.3 [Stock]
N950 - Sailfish OS
Z10 LE - 10.2.1.1055
Dev Alpha C - 10.2.1.1055