Power manager for the xfce4 desktop
Brian J. Tarricone
bjt23 at cornell.edu
Thu Oct 2 09:14:10 CEST 2008
On Tue, 30 Sep 2008 14:27:21 +0200 ali abdallah wrote:
> This power manager supports for know battery monitoring (
> primary,ups,mouse,keyboard) dpms settings, cpu frequency scaling
> ( for linux only not yet for other OSs ), hibernate and suspend. it
> does use XFCONF for settings.
Cool! The idea is sound, though I'm having a few problems with it.
1. It comes up and pops up a notification that I'm on battery. I'm not;
I'm on AC power.
2. Whenever I try to set any options, I get something like this on
console:
(xfce4-power-manager:24046): xfconf-CRITICAL **:
xfconf_channel_set_uint: assertion `XFCONF_IS_CHANNEL(channel) &&
property' failed
** (xfce4-power-manager:24046): CRITICAL **: Cannot set
value /xfce4-power-manager/on-ac-cpu-gov
3. The tray icon doesn't come up, even if I select "Always Display an
icon".
4. The UI is a bit rough -- I'd recommend redoing the dialog in glade,
and looking at our other glade files for the correct spacing between
widgets. The settings can probably be grouped a bit better too. You
might want to look at the glade file in the power manager I started for
some hints (it's in SVN).
5. For the battery monitoring, you might want to look at the
"hal_based" branch of xfce4-battery-plugin. Nick did a really great
job with it, and it works really well. No need to reinvent here.
There's a patch in bugzilla to add notification support.
> I know that kelnos started such project, i want to make sure to don't
> duplicate efforts.
Yes, I never really got all that far, unfortunately. Not enough time.
-brian
More information about the Xfce4-dev
mailing list