OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: scottlfa on December 12, 2007, 07:07:46 pm
-
I am trying to set the behavior of my Z, specifically I want the screen to remain on when plugged in for instance ... and to set the times on the auto suspend and such when on battery power.
-
Have you checked this thread?
https://www.oesf.org/forum/index.php?showtopic=25152 (https://www.oesf.org/forum/index.php?showtopic=25152)
-
Turns out setting the gnome-power-management functions did the trick.
-
Turns out setting the gnome-power-management functions did the trick.
Is there a trick to that? I tried it and it changes the backlight levels when plugging/unplugging AC power but doesn't suspend on idle...
-
VooDoo I guess, mine did fine but others have issues ... sorry
-
VooDoo I guess, mine did fine but others have issues ... sorry
ok, I must be sacrificing the wrong number of chickens or something then. oh, well. gnome-power-statistics is cute though...
anyway, I've come up with a couple of alternatives
this one doesn't need X (just skip the "-s" line). also check the list of interrupts if you're not using a 3x00. also see sleepctl
sleepd \
-u 120 \
-i 75 -i 76 -i 81 -i 98 -i 100 -i 102 -i 103 -i 155 \
-s "xmessage -buttons abort -default abort -timeout 10 suspending && apm -s"
this one requires X but doesn't need dbus and hal like the gnome thing does
xautolock \
-time 2 \
-detectsleep \
-locker "apm | grep 'Off-line' > /dev/null && xmessage -buttons abort -default abort -timeout 10 suspending && apm -s"