VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Battery monitor in VextorLinux 6.0 Light  (Read 6461 times)

_HG_

  • Member
  • *
  • Posts: 23
    • www.HEATHKIT.nu
Battery monitor in VextorLinux 6.0 Light
« on: May 04, 2009, 12:26:05 am »

I am running VectorLinux 6.0 Light on an ASUS L-7200. A ten year old laptop. It works very well.
There is only one thing. I want a battery monitor. How can I get a battery monitor in IceWM ?
 ???

/ _HG_
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4132
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #1 on: May 04, 2009, 05:04:47 am »

Light includes gkrellm, which has a battery monitor. Conky is another system monitor, it can be installed using gslapt.
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3258
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #2 on: May 04, 2009, 06:01:48 am »

You can get a batt status on the taskbar in ice wm by editing your ~/.icewm/preferences
Find the line that reads
Quote
TaskBarShowAPMStatus=0
Change that 0 to a 1

In the same area, you find another line to display the battery remaining time....

You dont get an icon, but at least a time.... helps

_HG_

  • Member
  • *
  • Posts: 23
    • www.HEATHKIT.nu
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #3 on: May 07, 2009, 05:52:01 am »

Thanks, that did the trick.
A nice looking battery icon showing the percentage of charged level would have been perfect, though.

/ _HG_
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3258
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #4 on: May 07, 2009, 06:02:21 am »

Thanks, that did the trick.
A nice looking battery icon showing the percentage of charged level would have been perfect, though.

/ _HG_

I agree, but I dont think this is possible in a minimalistic wm like icewm.
xfce has what you're looking for, but it's a bit heavier.

LXDE even offers something in the middle of both worlds. Not as fancy looking as XFCE, and not as minimalistic as icewm.
They just offer a mini vertical progressbar.

_HG_

  • Member
  • *
  • Posts: 23
    • www.HEATHKIT.nu
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #5 on: May 07, 2009, 06:09:13 am »

But, the CPU load and network load indcators is kind of advanced in IceWM, so the battery indicator could easily, at least, have been like the one you describe in LXDE.

/ _HG_
Logged

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4132
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #7 on: May 08, 2009, 01:51:44 pm »

During the development of Light, I looked for such a battery monitor icon without much luck. My solution was to use gkrellm, remove all the other modules, and use the "invisible" skin. That left me with a nice indicator bar on the desktop that would give the percentage and a "progress bar".
Logged

gomez

  • Member
  • *
  • Posts: 7
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #8 on: June 07, 2009, 06:14:18 pm »

If you set TaskBarShowAPMTime to 0 in the preferences file it shows the percentage of the battery capacity instead of the time. And also a C for Charging and a P for Powersupply.
For me it's almost like an icon.
Code: [Select]
TaskBarShowAPMTime
#  Show APM status on task bar in time-format
TaskBarShowAPMTime=0 # 0/1
« Last Edit: June 07, 2009, 06:30:44 pm by gomez »
Logged

henryxcrudos

  • Packager
  • Vectorite
  • ****
  • Posts: 107
    • Tropic of Vector
Re: Battery monitor in VextorLinux 6.0 Light
« Reply #9 on: September 11, 2009, 03:25:20 am »

If you set TaskBarShowAPMTime to 0 in the preferences file it shows the percentage of the battery capacity instead of the time. And also a C for Charging and a P for Powersupply.
For me it's almost like an icon.
Code: [Select]
TaskBarShowAPMTime
#  Show APM status on task bar in time-format
TaskBarShowAPMTime=0 # 0/1

Nice one! Works like a spell!
Logged
VL Light 6.0 (Final built, 31/03/09, kernel 2.6.27.12).
Dell Latitude C610 [PIII, 1GHz, 128MB SDRAM, 10GB EIDE/ATA HD, cheapo wifi stick (Belkin)]
Registered Linux User no. 495460
Oh no! -> Tropic of Vector