X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=blobdiff_plain;f=presentation_mode;h=bda393d366c23618d7b4e7b4b896c64c163b877b;hp=375ecd5000f645af33c84a80b16df1865f36c7a9;hb=HEAD;hpb=881a2c98ccd186f8286a9c79d244b0958e5da5b4 diff --git a/presentation_mode b/presentation_mode index 375ecd5..bda393d 100755 --- a/presentation_mode +++ b/presentation_mode @@ -1,15 +1,18 @@ #!/bin/sh +# sudo radeontool regset FP_GEN_CNTL $((0x000345cd & ~0x0c07 | 0x0405)) +# sudo radeontool regset FP_GEN_CNTL $((0x00034148 & ~0x0c07 | 0x0405)) + if [ -n "$1" ]; then # xrandr -s 1024x768 xrandr -s 800x600 - xmodmap -e 'keysym Left = p' - xmodmap -e 'keysym Right = n' +# xmodmap -e 'keysym Left = p' +# xmodmap -e 'keysym Right = n' killall xscreensaver else xrandr -s 1440x900 - xmodmap -e 'keycode 102 = Right' - xmodmap -e 'keycode 100 = Left' +# xmodmap -e 'keycode 102 = Right' +# xmodmap -e 'keycode 100 = Left' # XXX test to see if the X screensaver is already running /usr/bin/xscreensaver & >/dev/null 2>&1 fi; \ No newline at end of file