You are not logged in.

#76 2009-04-21 20:37:04

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

EAX have you looked at the svn version? your theme may need a few changes when we upload the new release.

Nice theme smile

sorry if i have been a little slow helping people. the new version uses hal (thanks to Tomas) instead of the /sys/ this will remove alot of the problems people are having at the moment with battey names and % charge problems.

The program will also now show remaining time and ac notification.

Last edited by genisis300 (2009-04-21 20:39:14)


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#77 2009-04-21 20:55:09

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Lars Stokholm wrote:

@Eax, please resize the images in #p538026.

I've resized the images and added a black background so everyone can actually see them xD In the downloadble version they have a transparent background smile

genisis300 wrote:

EAX have you looked at the svn version? your theme may need a few changes when we upload the new release.

Nice theme smile

sorry if i have been a little slow helping people. the new version uses hal (thanks to Tomas) instead of the /sys/ this will remove alot of the problems people are having at the moment with battey names and % charge problems.

The program will also now show remaining time and ac notification.

No I haven't hmm Gotta admit I don't know how hmm (If you could tell me how I'd be delighted smile

What's gotta be fixed? smile

Thanks big_smile

Nice smile It doesn't bother me that much but I got kindda afraid when a full battery showed 86 percent tongue

Also I made black version of my theme so here they are both of them:

When low:
battery_1.pngblack_battery_1.png

Around 50% battery:
battery_3.pngblack_battery_3.png

When full:
battery_full.pngblack_battery_full.png

When powering:
battery_power.pngblack_battery_power.png

White Theme                  Black Theme

Last edited by Eax (2009-04-21 20:59:07)

Offline

#78 2009-04-21 21:07:37

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

maybe you could make a black theme as well?
we've added support for charing icons a bit like gnome power manager. a percentage icon with a charing symbol basicly.

you can see the structure in the following link.
http://code.google.com/p/batterymon/sou … cons/gnome
Once get the new release finished i will add a wiki on makeing new themes so people can make there own if they like smile

regards
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#79 2009-04-21 21:13:44

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Batterymon -- a simple battery monitor ideal for openbox etc

NeoXP: There seems to be some mistakes made in the programming. This should fix it for now (plus means add, minus delete):

At line 224:

-            BATnumber = bat                        
+            return bat

At line 248-250:

-        tempBATnumber = options.checkbatterys()
-        checkBat = options.check_battery_exists()
-        BATnumber = tempBATnumber.strip('\n')
+        BATnumber = options.check_battery_exists()

Hopefully you should now be able to successfully use the -b switch.

Last edited by Lars Stokholm (2009-04-21 21:19:45)

Offline

#80 2009-04-21 21:14:36

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

genisis300 wrote:

maybe you could make a black theme as well?
we've added support for charing icons a bit like gnome power manager. a percentage icon with a charing symbol basicly.

you can see the structure in the following link.
http://code.google.com/p/batterymon/sou … cons/gnome
Once get the new release finished i will add a wiki on makeing new themes so people can make there own if they like smile

regards
Matthew

Already done it wink Check above post smile

Nice smile
Ahh charging smile Nice smile Looking into it now smile Editing my files smile

Last edited by Eax (2009-04-22 09:15:29)

Offline

#81 2009-04-22 06:29:05

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Lars Stokholm wrote:

NeoXP: There seems to be some mistakes made in the programming. This should fix it for now (plus means add, minus delete):

At line 224:

-            BATnumber = bat                        
+            return bat

At line 248-250:

-        tempBATnumber = options.checkbatterys()
-        checkBat = options.check_battery_exists()
-        BATnumber = tempBATnumber.strip('\n')
+        BATnumber = options.check_battery_exists()

Hopefully you should now be able to successfully use the -b switch.

Thanks,

I'm at work atm, but I wll check this evening if your hack is working.

NeoXP


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#82 2009-04-22 09:14:38

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

genisis300 wrote:

maybe you could make a black theme as well?
we've added support for charing icons a bit like gnome power manager. a percentage icon with a charing symbol basicly.

I've started updating the themes I made to support the new structure smile
If you want you can add me to the google project page, my google account name is: eax.exe@gmail.com smile

Offline

#83 2009-04-22 13:22:41

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Batterymon -- a simple battery monitor ideal for openbox etc

@ Eax

May be a kind of lightning drawing or something like that would look better than the big "C" when it's charging.

You could draw something like that :
lightning.png

Thats my sugestion of the day tongue


archlinux on Macbook Pro 10,1

Offline

#84 2009-04-22 14:42:35

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

@Froli: Thanks smile
Currently I'm considering how to implent the C (Or lightning or whatever) while it's charging and still looking simplistic and keeping the KISS model.

Offline

#85 2009-04-22 14:52:31

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Eax wrote:

@Froli: Thanks smile
Currently I'm considering how to implent the C (Or lightning or whatever) while it's charging and still looking simplistic and keeping the KISS model.

It is already simplistic, and it would be as simplistic with a lightning or whatever.


archlinux on Macbook Pro 10,1

Offline

#86 2009-04-22 14:55:00

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

@Froli:
You're right about that : )
But it's gonna have to show how many % (or bars) it's charged and would it look better if the lightning were black on the white theme and vice versa or?

I'm gonna create some examples when I get home.

Offline

#87 2009-04-22 15:17:21

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Yeah, bars would shows how full is the battery and the lightning would be over the bars, in the opposite color.

By exemple (with the white theme), if the battery is low AND charging, the theme would shows the battery with only one bar PLUS a black lightning over it to show that it's charging.


archlinux on Macbook Pro 10,1

Offline

#88 2009-04-22 18:31:47

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Lars Stokholm wrote:

NeoXP: There seems to be some mistakes made in the programming. This should fix it for now (plus means add, minus delete):

At line 224:

...

At line 248-250:

...

Hopefully you should now be able to successfully use the -b switch.

Thanks Lars Stokholm, it works for me now.

cool


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#89 2009-04-24 08:30:17

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

I'm sorry for my lack of updating; Having a stressed time in school at the moment hmm Hope to get work done in the weekend smile

Offline

#90 2009-04-24 16:01:24

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Take you time dude... But not too much tongue

I can't wait to see what it will look like! smile


archlinux on Macbook Pro 10,1

Offline

#91 2009-04-24 22:15:41

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

me two they look really good smile

i'll try and get the new release out this weekend. it's taken a bit off time  but i think it will be worth the wait smile


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#92 2009-04-27 00:49:06

run4flat
Member
From: Central Illinois
Registered: 2009-04-27
Posts: 5

Re: Batterymon -- a simple battery monitor ideal for openbox etc

I, too, was having the problem that NeoXP was having.  I modified the python code and specified the battery item from the only battery listed in /sys/class/power_supply/.  I did both at once so I can't say if only one or the other fixed it, but the combined effect is that it now works.  Thanks!

Offline

#93 2009-04-30 06:32:54

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Hi there, I'm having trouble finding a proper "lightning"  logo.
Can anyone link me to one? smile Preferably in just b/w smile

Offline

#94 2009-04-30 11:04:15

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

is this any good

whitelightninglogo.jpg

Last edited by genisis300 (2009-04-30 11:04:33)


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#95 2009-04-30 11:57:47

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Batterymon -- a simple battery monitor ideal for openbox etc

One like those would look perfect:

istockphoto_3896719-lightning-icon-set.jpg


archlinux on Macbook Pro 10,1

Offline

#96 2009-04-30 13:57:33

Eax
Member
From: Denmark
Registered: 2009-02-04
Posts: 40
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Great thanks both of you big_smile
I HOPE! To work on it this weekend but my school is horrible at the moment hmm

Offline

#97 2009-04-30 14:15:38

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Just installed it, looks pretty good. Thnx...

Offline

#98 2009-05-01 10:21:37

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

At long last the new version has been released.  i would like to thank Thomas for all his help with this as he did alot of the hal backend work and moved this project onto the next level.

new features include.
Optinal notification support
new theme sets for charging icons.
run a command on battery critical etc
remaining battery time on tooltip

probably lots more as well.

If you have any problems please let me know this has been tested for a while but you never know with these things.

Regards
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

#99 2009-05-01 12:07:41

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Batterymon -- a simple battery monitor ideal for openbox etc

Thanks! It looks really good. Everything seems to be working at my end.

It should depend on dbus-python though.

Offline

#100 2009-05-01 13:33:02

genisis300
Member
From: Uk
Registered: 2008-01-15
Posts: 284

Re: Batterymon -- a simple battery monitor ideal for openbox etc

thanks, i knew i would miss something smile

is there an easy way to work out what a PKGBUILD depends on?

Regards
Matthew


"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson

Offline

Board footer

Powered by FluxBB