projects
/
grml-x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace EmulateMiddleButtonTime with EmulateMidButtonTime; symlink check
[grml-x.git]
/
grml-x
diff --git
a/grml-x
b/grml-x
index
cb4c1fc
..
62d2c5a
100755
(executable)
--- a/
grml-x
+++ b/
grml-x
@@
-352,7
+352,7
@@
Section \"InputDevice\"
Option \"MaxSpeed\" \"2.00\"
Option \"AccelFactor\" \"0.030\"
Option \"UpDownScrolling\" \"1\"
Option \"MaxSpeed\" \"2.00\"
Option \"AccelFactor\" \"0.030\"
Option \"UpDownScrolling\" \"1\"
- Option \"EmulateMidButtonTime\" \"75\"
+ Option \"EmulateMid
dle
ButtonTime\" \"75\"
Option \"CircularScrolling\" \"1\"
Option \"CircScrollDelta\" \"0.1\"
Option \"CircScrollTrigger\" \"8\"
Option \"CircularScrolling\" \"1\"
Option \"CircScrollDelta\" \"0.1\"
Option \"CircScrollTrigger\" \"8\"
@@
-893,6
+893,11
@@
$fg[red]"
function runit
{
writeconfig
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
if [ -z "$NOSTART" ] ; then
print "$reset_color"
if [ -x /etc/init.d/xorg-common ] ; then