Re: Some problems in the daily use of a Debian System
Oooops, I forgot attaching the pbbuttonsd.conf file!
Pablo Gil <email@example.com>
# configfile for pbbuttonsd >= version 0.5
# for options see man pbbuttonsd.conf
#For more security!
userallowed = paranoid
# [MODULE POWERSAVE]
onAC_sleep = no
onAC_dim = no
onAC_blank = no
onAC_Tsleep = 3000
onAC_Tdim = 600
onAC_Thdoff = 0
onBattery_sleep = no
onBattery_dim = no
onBattery_blank = no
onBattery_Tsleep = 3000 ; time in 1/10s
onBattery_Tdim = 600 ; time in 1/10s
onBattery_Thdoff = 12 ; time in multiple of 5 second intervals
SleepKey = 222
SleepKeyDelay = 0 ; values > 0 may be dangerous, if the power key is used to trigger sleep
BWL_First = 21 ; first battery warnlevel, time in minutes
BWL_Second = 10 ; second battery warnlevel, time in minutes
BWL_Last = 3 ; last battery warnlevel, time in minutes
Script_BatCritical = "/sbin/shutdown -h now"
#Script_ProfChanged = ""
Script_HDSetup = "/sbin/hdparm -p -S %d /dev/hda"
CPULoad_sleeplock = yes
CPULoad_min = 20 ; value in percent
CPULoad_period = 20 ; time in seconds
NETLoad_sleeplock = yes
NETLoad_min = 4096 ; trafic in Bytes/s
NETLoad_period = 20 ; time in seconds
NETLoad_device = eth0
# [MODULE DISPLAY]
#Brightness = 12 ; initial brightness level
BrightnessupKey = 225
BrightnessdownKey = 224
dev_framebuffer = "/dev/fb0"
UseFBBlank = yes
# [MODULE OSSMIXER]
dev_mixer = "/dev/mixer"
mixerchannels = "volume, speaker"
volume = 50 ; initial volume level
speakers_muted = no ; mute after startup?
volumeupkey = 115
volumedownkey = 114
mutekey = 113
mixerinitdelay = no
# [MODULE CDROM]
dev_cdrom = "/dev/scd0"
ejectcdkey = 116
ejectcdkeydelay = 2000
# [MODULE PMAC]
dev_pmu = "/dev/pmu"
dev_adb = "/dev/adb"
tpmodeupkey = 225 + alt
tpmodedownkey = 224 + alt
#tpmode = notap
kbdmode = fkeysfirst
replace_pmud = yes