diff options
Diffstat (limited to 'packages/x11/x11-common/etc/X11/Xinit.d/11zaurus')
-rw-r--r-- | packages/x11/x11-common/etc/X11/Xinit.d/11zaurus | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus b/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus new file mode 100644 index 0000000000..61ca84b595 --- /dev/null +++ b/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ -z "`which chkhinge`" ]; then + # probably not a clamshell zaurus + exit 0 +fi + +chkhinge -e +if [ $? = 12 ]; then + xrandr -o right +fi + |