LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How to add an icon for the battery laptop into TINT2? (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-add-an-icon-for-the-battery-laptop-into-tint2-4175426587/)

Xeratul 09-10-2012 02:38 PM

How to add an icon for the battery laptop into TINT2?
 
Hi,

I am pleased to use tint2 with openbox. Otherwise, when I do unplug / plug my power supply, I feel missing the information as a little icon into the trayer of tint2.

Would you know how could I get an icon into the tint2 that tells how much left battery and/or that the power is there?

thanks

TobiSGD 09-10-2012 04:00 PM

Use a power-manager. xfce4-powermanager is working fine here and did so also back in the days I used Debian/Openbox/tint2.

Xeratul 09-15-2012 01:44 PM

Quote:

Originally Posted by TobiSGD (Post 4777172)
Use a power-manager. xfce4-powermanager is working fine here and did so also back in the days I used Debian/Openbox/tint2.

well, it is requiring the xfce4 :( I use openbox, very lightweight wm

TobiSGD 09-16-2012 08:53 AM

That you have XFCE installed doesn't mean that you have to use it, you can still use Openbox.
But anyways, I just found the solution in the tint2 documentation (where you should have looked in the first place): http://code.google.com/p/tint2/wiki/Configure#Battery

Xeratul 09-23-2012 04:39 AM

Quote:

Originally Posted by TobiSGD (Post 4781611)
That you have XFCE installed doesn't mean that you have to use it, you can still use Openbox.
But anyways, I just found the solution in the tint2 documentation (where you should have looked in the first place): http://code.google.com/p/tint2/wiki/Configure#Battery

it is a pretty heavy solution, isnt it?


kde has a cool creator of icons. I dont remember its name.
Code:

kxxxx kmix kmix --icon ...
Actually it can be done very easily since to create an icon/daemon for the sys tray is basically very simple, and does not need: xfce4 nor kde to be install for such a simple purpose


All times are GMT -5. The time now is 01:36 PM.