Put the following into /etc/pm/sleep.d to make reconfigure the screens
after suspend or hibernation. Nice to have if you have suspended with a
different screen configuration.#!/bin/bash
. /usr/lib/pm-utils/functions
case "$1" in
hibernate|suspend)
;;
thaw|resume)
export DISPLAY=:0
export XAUTHORITY=/home/username/.Xauthority
xrandr --auto
;;
*)
;;
esac
exit
cl search engine
onsdag, juni 24, 2009
reconfigure laptop screen from suspend
Prenumerera på:
Kommentarer till inlägget (Atom)
Inga kommentarer:
Skicka en kommentar