Bug#513286: xserver-xorg-input-synaptics: proof of principle/dirty hack
Package: xserver-xorg-input-synaptics
Version: 1.1.0-1
Severity: normal
I agree this needs to handled more automatically. I'm a bit embarassed to include this as it's really ugly and very likely will not work in all cases, but this got my configuration converted nicely. I just stuck the output of
sed -n '/Synaptics Touchpad/,/EndSection/ s/\"//gp' /etc/X11/xorg.conf \
| grep -v ^# \
| awk '/Option/ {printf "<merge key=\"input.x11_options.%s\" type=\"string\">%s</merge>\n",$2,$3}'
into /etc/hal/fdi/policy/11-x11-synaptics.fdi
This caught my attention because my edge scrolling wasn't working. It was almost as bad as using a Sun keyboard :). I realised that this was actually a "feature". The reason my egde scrolling wasn't enabled by default was that my touchpad was detected as supporting two fingered scrolling which did in fact work, but of course wasn't what I wanted. I needed
<merge key="input.x11_options.VertTwoFingerScroll" type="string">false</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
to get things working as before.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29.018-wl (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages xserver-xorg-input-synaptics depends on:
ii libc6 2.9-7 GNU C Library: Shared libraries
ii libx11-6 2:1.2.1-1 X11 client-side library
ii libxi6 2:1.2.1-2 X11 Input extension library
ii xserver-xorg-core 2:1.6.0-1 Xorg X server - core server
xserver-xorg-input-synaptics recommends no packages.
Versions of packages xserver-xorg-input-synaptics suggests:
pn gsynaptics | ksynaptics | qsy <none> (no description available)
-- no debconf information
Reply to: