Author Topic: Fvwmapmdaemon  (Read 3842 times)

Christoph

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
Fvwmapmdaemon
« on: April 03, 2005, 06:31:10 am »
Hey you approximate five fvwm users on pdaX,

perhaps you are interested in a module that monitors the apm status.
I wrote it to replace a shell script which needed to much resources.
You can configure certain commands that are executed when the
battery/AC - status changes. Just look at the sample config
in /share/fvwm.
If you want to compile it:
Unpack the source within the modules directory of the fvwm source tree
and change the Makefile to your needs.

Christoph
SL C850, pdaXrom rc10, fvwm

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Fvwmapmdaemon
« Reply #1 on: April 03, 2005, 10:36:03 am »
Hey! Then I think I'm one of the five...

I also felt the need for something like this and I made a very small GUI program for my pdaxrom-fvwm project which can be swallowed by a FvwmButton bar for example and you can have the battery and the processor status there plus a clock (and if you click on the battery, you can change the backlight intensity and if you click on the proc. speed, you can change it too)

I've written it in the most resource sparing graphical lib I found.  So it nearly doesn't use any, in fact.

The reason I haven't released it yet, is that I have some text and background image problem if I compile it on the Zaurus... On my main computer it's working perfectly.

Others (whithout fvwm ) can use it too, but it will be working in a window and then it's not as useful as in a taskbar.

I share it with you, I hope you like it!

There's an included README where I tell you how to compile and there's an i386 and arm binary too.

You can see the ugly version on this screenshot: http://web.interware.hu/radon/pda/gpsdrive-cvs.png
And here's the beautiful one, compiled and running on my desk computer: http://web.interware.hu/radon/pda/ztaskbar.jpg
And the stuff itself: http://web.interware.hu/radon/pda/ztaskbar-alpha1.tar.bz2

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Christoph

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
Fvwmapmdaemon
« Reply #2 on: April 15, 2005, 06:34:57 pm »
Just to keep things going...

here is another a little updated version of the fvwm apm daemon module.
The module is just a daemon that executes configurable commands when
certain events like "AC Power plugged in", "Battery percentage changed",
"Critical battery threshold reached", etc. occur.
There is still some work to do to benefit from the functionality, just to fullfill
the tradition of fvwm.

Here is a "serving proposal for how it can be used:"

 [ Invalid Attachment ]

This is done by a FvwmButtons module to show the message
and a button with id "apm" that changes the icon upon a change of the
battery status.
The ipkg contains the module unpacked within /libexec/fvwm...,
a sample configuration in /share/fvwm and a set of battery images
for every ten battery percentage.
Have fun with it, you 5 other fvwm users if you are still there...  

Christoph
SL C850, pdaXrom rc10, fvwm

Christoph

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
Fvwmapmdaemon
« Reply #3 on: April 15, 2005, 06:36:44 pm »
I managed not to include the image:

 [ Invalid Attachment ]
SL C850, pdaXrom rc10, fvwm