Merge remote-tracking branch 'paulharris/master'

Conflicts:
	README
This commit is contained in:
Phillip Berndt 2013-12-02 10:42:23 +01:00
commit fb01d5e870
2 changed files with 13 additions and 3 deletions

View File

@ -60,3 +60,14 @@ are adjusted accordingly.
To install autorandr call `make install`, define your setup and then call
`make hotplug` to install hotplug scripts.
For Debian using auto-disper:
To make the screen auto-configure when your computer wakes up,
* Copy auto-disper into /usr/local/bin/
* Copy pm-utils/40auto-disper into /etc/pm/sleep.d/
* (Assuming gnome) Run gnome-keybinding-properties and ADD a shortcut,
I called it "Run auto-disper", I set it to CTRL-F7, and the command is:
`auto-disper -c --default default`
* Create a default disper setting... eg for laptop: unplug all monitors,
set up the screen nicely on the laptop display.
Then run `auto-disper --save laptop`

View File

@ -7,10 +7,10 @@ exec > /var/log/autorandr.log 2>&1
FORM=${0##*40}
case $FORM in
auto-disper)
AUTORANDR="auto-disper -c"
AUTORANDR="auto-disper -c --default default"
;;
*)
AUTORANDR="autorandr -c"
AUTORANDR="autorandr -c --default default"
;;
esac
@ -25,7 +25,6 @@ detect_display()
/bin/su -c "${AUTORANDR}" "$user"
fi
done
echo "Done"
}
case "$1" in