You are not logged in.

#1 2009-05-23 03:44:17

M177ER
Member
Registered: 2008-06-15
Posts: 148

tint2 + battery applet

Does anyone know how to get the battery applet working in tint2? I set up my tint2rc as per the wiki but I get errors syaing to correct my configuration file. There is a patch in the updates here but I don't know how to apply it. I am using the tint2 from AUR not the svn version.
Thank you.

Offline

#2 2009-05-23 07:02:04

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: tint2 + battery applet

If you look at the patch it seems to have been built against tint2 SVN revision 72. Maybe you could try to pull in that revision and patch it - I've been running SVN most of the time and it was still stable.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-05-23 19:02:33

thil77
Member
Registered: 2008-08-29
Posts: 52

Re: tint2 + battery applet

tint2 from AUR doesn't have the battery option.
it's in svn since last week.

Offline

#4 2009-05-23 19:15:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: tint2 + battery applet

o/ Thil

Still loving what you do with tint2 wink.

You should put a link to it in your sig (unless you don't like sigs of course tongue).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-05-23 21:58:01

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: tint2 + battery applet

Thanks.
Yes the svn version does have the battery support. Unfortunately I have the same issue as Issue 88. Which is that there is a path error to the battery information. Instead of "/sys/class/power_supply/BAT0/energy_now" it needs to be "/sys/class/power_supply/BAT0/charge_now"; etc. Could some help me how to us the patch in the link above. I'm guessing I need to edit "battery.c" before it is compiled but not sure how to do this.  ABS? - I've never done this before.

Last edited by M177ER (2009-05-23 23:06:52)

Offline

#6 2009-05-26 17:07:03

thil77
Member
Registered: 2008-08-29
Posts: 52

Re: tint2 + battery applet

@B thanks smile

@ M177ER the patch is not the best solution. will try to solved it next week.

Offline

#7 2009-05-30 12:42:24

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: tint2 + battery applet

Thanks. I'll follow the updates on your google code page. Tint2 is great by the way.

Offline

#8 2009-12-24 01:43:24

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: tint2 + battery applet

Anyone know how to get BAT1 to show up instead of BAT0?

Offline

#9 2009-12-24 14:06:48

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: tint2 + battery applet

I think this was fixed in May:
http://code.google.com/p/tint2/issues/d … n=1&q=BAT1 but that was for the svn (at that time) version.

You may have to install tint2-svn from AUR. It was working for me with the SVN version before my laptop died.

Edit:
version 0.8 was released 4 days ago - these fixes should be included in this version. You probably don't need the svn version

Last edited by M177ER (2009-12-24 14:14:03)

Offline

#10 2009-12-25 02:04:48

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: tint2 + battery applet

M177ER wrote:

I think this was fixed in May:
http://code.google.com/p/tint2/issues/d … n=1&q=BAT1 but that was for the svn (at that time) version.

You may have to install tint2-svn from AUR. It was working for me with the SVN version before my laptop died.

Edit:
version 0.8 was released 4 days ago - these fixes should be included in this version. You probably don't need the svn version

Weird I'm in 0.8-1 and it's not working. I might try the svn version and report back.

Offline

Board footer

Powered by FluxBB