Hi all,
Here's an update on my issues with
xlock and power management in Precise Puppy retro.
My problems persisted with my computer freezing up even though sometimes it was many hours later that I would experience such issues. After some research and experimentation, I think that I have finally achieved a permanent solution...
Here's what I have figured out:
The crux is that the default settings for power management namely:
standby,
suspend, and
power off are set to the same value, namely:
600 (seconds). This doesn't work, of course, because you cannot have effective power management if the system is trying to achieve three different states at the same time!
I can easily change this with xset command:
where the values are in seconds for each power management state, which (by the way) are the settings used in Wary 5.3 and are also apparently the default settings according to the documentation regarding
xset. The problem here is that any changes
xset makes are session specific only. This is useful for testing configurations but I want something permanent. It turns out that I can do that in
xorg.conf
Code: Select all
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "StandbyTime" "20"
Option "SuspendTime" "30"
Option "OffTime" "40"
EndSection
Note that the values entered for power management in
xorg.conf are in minutes whereas the values listed with
xset are in seconds. This is potentially a source for confusion, and, (I suspect) what can happen when you have more than one developer working on related projects... Interestingly enough, I haven't figured out yet where the permanent values for power management are actually set in Wary Puppy, but, it is not in
xorg.conf so, (as is often the case in configurations) there is more than one method to get this result.
Last, I reset the values for the screen to blank out and cycle in
.xintrc to be the same as in Wary 5.3
Code: Select all
else
##Xorg has it's own fontpath settings in /etc/X11/xorg.conf...
#if [ "`readlink /usr/bin/X`" != "Xorg" ];then
# #xset fp+ /usr/lib/X11/fonts/Type1/
# #xset fp+ /usr/lib/X11/fonts/TTF/
# xset fp+ /usr/share/fonts/default/Type1/
# xset fp+ /usr/share/fonts/default/TTF/
#fi
xset s 600 600 s blank
fi
This means the screen will blank out, and cycle after ten minutes although (to be honest) I could not find any info from my research as to exactly what is the
cycle function.
I want to emphasize that I am using the same values for power management as in Wary 5.3 because that is what works for me, but I do think there is room for adjustment in
xorg.conf
Code: Select all
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
I think this would work nicely because it means that the time that the screen blanks is going to be the same as when the computer goes into
standby mode. If these two events go hand in hand, then who knows, it might even result in better power management overall... --worth a try I think.
Hope this helps,
Monsie