[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xscreensaver lcd hack for my pbook g4



I've been using the attached script to have xscreensaver turn the lcd
off instead of just the normal blank (turn all the pixels black, but
keep the lcd on).

I put the script in /usr/local/bin and then added the following to the
'programs:' section of ~/.xscreensaver:

"lcd saver" lcdsaver.sh \n\

I also had to change perms on /dev/pmu to allow my mortal user to use
fblevel (I actually just changed the group).

-- 
Adam Lazur, Cluster Monkey
#!/bin/sh
#
# lcdsaver.sh
#   fake xscreensaver to turn off the lcd instead of blanking it
#

FBLEVEL=`fblevel`

fblevel 0

trap "fblevel $FBLEVEL ; exit 0" 15

while : ; do
    sleep 1
done

Reply to: