Skip to content
Fennec89 edited this page Jul 13, 2012 · 2 revisions

Installing the script

To install the script system-wide simply move it to /usr/bin/ and make the scipt executable with chmod +x.

Installing the icons

The script uses the environment variable XDG_CONFIG_HOME for the location of the icons. This means that you will have to move the icon folder to /home/username/.config/BatteryMon/ directory.

Running the script when a user log on

I am using SLIM as login manager so this text will handle the setup of the .xinitrc file for autostart the script on logon.

Given that you have done a system-wide installation of the script you will only need to add one line of code to the .xinitrc file, BatteryMon.py &.

Clone this wiki locally