X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-x;h=62d2c5ae979ad5a5c9a7bd5ef56da238cce6c0be;hb=02800fcd4417aa0d3f4cc7882aeba49819259812;hp=c6f57613f5e1626b59722bdac57514b27570f003;hpb=35bde6fd5891715a7ad8e0b0db5109ce92271191;p=grml-x.git diff --git a/grml-x b/grml-x index c6f5761..62d2c5a 100755 --- a/grml-x +++ b/grml-x @@ -294,7 +294,7 @@ mouse() if grep -q 'Device:.*Synaptics' "$MOUSEINFO" ; then if [[ "$SYNAPTICS" == "yes" ]] ; then # check for '-nosynaptics'-option MOUSEDRIVER='synaptics' - SYNMOUSE='InputDevice "Synaptics" "AlwaysCore"' + SYNMOUSE='InputDevice "Synaptics" # "AlwaysCore"' SYNMOUSEDETAIL=" Section \"InputDevice\" Driver \"synaptics\" @@ -329,7 +329,7 @@ EndSection if grep -q 'Device:.*ALPS' "$MOUSEINFO" ; then if [[ "$SYNAPTICS" == "yes" ]] ; then # check for '-nosynaptics'-option MOUSEDRIVER='synaptics' - SYNMOUSE='InputDevice "Synaptics" "AlwaysCore"' + SYNMOUSE='InputDevice "Synaptics" # "AlwaysCore"' SYNMOUSEDETAIL=" Section \"InputDevice\" Driver \"synaptics\" @@ -730,6 +730,7 @@ Section "Module" Load "extmod" # some commonly used server extensions (e.g. shape extension) Load "record" # recording extension Load "evdev" # generic input handling driver on Linux + Load "xtrap" # X Trap extension # Load "vbe" # Vesa BIOS Extension # Load "i2c" # I2C bus # Load "int10" # initialize graphics cards via int10 call to the BIOS @@ -892,6 +893,11 @@ $fg[red]" function runit { writeconfig + if [ "$(readlink /etc/X11/X)" = /bin/true ] ; then + print "$bold_color$fg[red]Fatal: /etc/X11/X is a symlink to /bin/true." + print "Fix it via running 'ln -sf /usr/bin/Xorg /etc/X11/X'" + exit 10 + fi if [ -z "$NOSTART" ] ; then print "$reset_color" if [ -x /etc/init.d/xorg-common ] ; then