Discussion:
[Fluxbox-users] No more xfce power manager. Alternatives?
Time for some thrilling heroics.
2014-12-23 12:08:23 UTC
Permalink
Google tells me that the xfce4-power-manager now requires
xfce4-power-manager-plugins for a notification icon; it also seems to
indicate this doesn't work in the fluxbox notification area. I am
getting OSD updates from it, though I'm not sure they're coming in
reliably, and it's (mostly) working to suspend/hibernate etc. (There are
some bug reports in my future, probably during a night of heavy
drinking, re: that, but nothing to do with fluxbox.)

The whole xfce-power-manager/fluxbox shebang was working fine for me on
my old laptop with Debian Wheezy; I've just gone to Jessie on a new one
w/ xfce4-power-manager 1.4.1-1 and can't get a visual on my battery
status for love nor money. Tried wmbattery and it sticks at whatever the
battery status was when I logged in, doesn't update. Same with the one
(I forget the package) that puts the green bar across the bottom of the
screen.

What are people using for power management & to keep an eye on battery
status these days? (Is there some necessary, and completely obvious,
package that I should be installing to make other battery monitors work?)
Javier Vasquez
2014-12-23 15:51:40 UTC
Permalink
On Tue, Dec 23, 2014 at 6:08 AM, Time for some thrilling heroics.
Post by Time for some thrilling heroics.
...
What are people using for power management & to keep an eye on battery
status these days? (Is there some necessary, and completely obvious,
package that I should be installing to make other battery monitors work?)
I'm not sure what others are using, but for monitoring, I only use
conky. I can read with it battery, temperature and others.

For suspending and such, I have menu entries in fluxbox. Withot
systemd my main entries were:

! [exec] (Suspend-Disk) {urxvt -pe -tabbed -e sudo local_s2disk.sh}
! [exec] (Suspend-Mem) {urxvt -pe -tabbed -e sudo local_s2ram.sh}
! [exec] (Reboot) {sudo shutdown -r now "Sutdown:
Rebooting now..."}
! [exec] (Shutdown) {sudo shutdown -h now "Shutdown:
Shuting down now..."}

% cat /usr/bin/local_s2ram.sh
#!/bin/env sh

echo "Suspending to RAM NOW..."
sync
swapoff -a
swapon -a
echo 'mem' > /sys/power/state

% cat /sr/bin/local_s2disk.sh
#!/bin/env sh

echo "Suspending to Disk NOW..."
sync
swapoff -a
swapon -a
telinit run ntp stop
echo 'disk' > /sys/power/state
telinit run ntp start

Telinit is a init system from sourceMage GNU/Linux. Now with systemd
on Arch and similar:

[exec] (Disk) {systemctl hibernate}
[exec] (Both) {systemctl hybrid-sleep}
[exec] (Mem) {systemctl suspend}

[exec] (Reboot) {systemctl reboot}
[exec] (PowerOff) {systemctl poweroff}

Though honestly I don't see the hybrid very useful so far...

For power savings settings, well there are many ways without using
laptop-mode and such any more. Most configs can be set with systemctl
directly and a init personal setting at boot plus udev...

Others might have other alternatives though, :-)
--
Javier.
e***@riseup.net
2014-12-23 15:59:17 UTC
Permalink
I'm using pm-utils (+ samsung_tools) and xscreensaver for the pm
settings and conky to control and have an eye on it (have a look at
the mega conky thread in the crunchbang forum for examples and
possible settings.

In any case my system controls look like this:

----------------
TEXT
${color FA062A}S Y S T E M I N F O$color
${color FA062A}${hr}$color
Host:$alignr$nodename
Uptime:$alignr$uptime
RAM:$alignr$mem | $memmax
Swap use:$alignr$swap | $swapmax
Disk use root:$alignr${fs_used /} | ${fs_size /}
Disk use home:$alignr${fs_used /home} | ${fs_size /home}
CPU usage: $alignr${cpu cpu0}%
System temperature: $alignr${acpitemp}°
Battery/AC adapter:${alignr}${battery_percent BAT1}% | ${acpiacadapter
ACAD} ${if_up wlan0}WLAN: ${alignr}${wireless_essid wlan0} |
${wireless_link_qual wlan0}%${else}No wlan connection${endif} ${if_up
wlan0}UP | DOWN:${alignr}${upspeed wlan0} | ${downspeed
wlan0}${else}${endif} ${if_up eth0}ETH0 UP:${alignr}${upspeed eth0} |
DOWN:${downspeed eth0}${else}No ethernet connection present${endif}
--------------

HTH


Am Tue, 23 Dec 2014
13:08:23 +0100 schrieb "Time for some thrilling heroics."
Post by Time for some thrilling heroics.
Google tells me that the xfce4-power-manager now requires
xfce4-power-manager-plugins for a notification icon; it also seems to
indicate this doesn't work in the fluxbox notification area. I am
getting OSD updates from it, though I'm not sure they're coming in
reliably, and it's (mostly) working to suspend/hibernate etc. (There
are some bug reports in my future, probably during a night of heavy
drinking, re: that, but nothing to do with fluxbox.)
The whole xfce-power-manager/fluxbox shebang was working fine for me
on my old laptop with Debian Wheezy; I've just gone to Jessie on a
new one w/ xfce4-power-manager 1.4.1-1 and can't get a visual on my
battery status for love nor money. Tried wmbattery and it sticks at
whatever the battery status was when I logged in, doesn't update.
Same with the one (I forget the package) that puts the green bar
across the bottom of the screen.
What are people using for power management & to keep an eye on
battery status these days? (Is there some necessary, and completely
obvious, package that I should be installing to make other battery
monitors work?)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media,
is your hub for all things parallel software development, from weekly
thought leadership blogs to news, videos, case studies, tutorials and
more. Take a look and join the conversation now.
http://goparallel.sourceforge.net
_______________________________________________ Fluxbox-users mailing
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Loading...