Bit of an update guys,
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

@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?

@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...

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.

If they are all in place, check permissionscd /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.