View Single Post
Posts: 190 | Thanked: 206 times | Joined on Jan 2010 @ Accra,Ghana
#15
Originally Posted by MFaroTusino View Post
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
I'm having the same problem.when I checked the directory /home/user/.BatteryWidget I noticed that the file Icon_Widget.png was not there! I've repeated the script several times but it doesn't seen to create that file. would love to have this app working.
 

The Following User Says Thank You to tcbl50 For This Useful Post: