Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I get my battery info (percentages) on Fluxbox?

I've heard of the gnome-power-manager, and wanted to use that, but there seems to be a problem...

$ gnome-power-manager
gnome-power-manager: command not found

And when I try to install it:

$ sudo apt-get install gnome-power-manager 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnome-power-manager is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.

I reinstalled it, and still the same situation! Apparently it's installed, but Ubuntu doesn't recognize the command. Also, I don't really like wmbattery, I'd like something that exists next to those applets and other icons (nm-applet, sound, Skype, etc).

I have highlighted the area I would like to have the battery information applet at:

enter image description here

share|improve this question
    
fluxbox isnt a common WM - so it might help if you can add a picture as to your current desktop - where such an applet would exist, how have you installed other fluxbox applets. –  fossfreedom Aug 3 '12 at 11:16
    
Other applets I already had. For example, simply putting nm-applet & in the .fluxbox/startup file gets me that network applet. –  akled Aug 3 '12 at 11:25
    
I would recommend adding gnome-power-manager into your fluxbox startup and see what happens, some forums I have read seem to suggest that works. Otherwise have you tried xfce4-power-manager? –  Jacob Tomlinson Aug 3 '12 at 11:37
    
I haven't tried xfce4, but adding gnome-power-manager does nothing. –  akled Aug 3 '12 at 11:44
add comment

2 Answers

up vote 3 down vote accepted
+50

After researching this myself recently I settled on batti.

Batti is:

  • a very lightweight gtk app written in Python
  • easily installable from source
  • shows detailed battery information including time remaining when you hover over the indicator
  • Allows you to suspend/power off by selecting from the menu after a left click.

It's available from here.

Once downloaded and unpacked, simply call

sudo python setup.py install

Add batti to your autostart menu to have it load when you login - in your case just add it to your .fluxbox/startup file.

Some screenshots of batti in action (it's the battery icon, not the lightning symbol - that's jupiter power management applet):

Definitely half empty ;) Some useful info

share|improve this answer
    
Great, it works! –  akled Aug 3 '12 at 21:46
add comment

I use the xfce4-power-manager

http://goodies.xfce.org/projects/applications/xfce4-power-manager

share|improve this answer
    
xfce power manager was not so nice for me: It promissed to suspend my netbook when I closed the lid, and failed to (which is annoying and a bit dangerous...) –  josinalvo Aug 15 '12 at 13:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.