Bug#363248: dexconf ignores mouse settings from debconf
Package: xserver-xorg
Version: 1:7.0.18
Followup-For: Bug #363248
I was encountering this same problem, so I dug into /usr/bin/dexconf a
bit. I found this really strange section (starting from line 271):
### MOUSE / INPUTDEVICE
DO_EMULATE3BUTTONS=
fetch xserver-$SERVER/config/inputdevice/mouse/port
MOUSE_PORT="$RET"
fetch xserver-$SERVER/config/inputdevice/mouse/protocol
MOUSE_PROTOCOL="$RET"
fetch xserver-$SERVER/config/inputdevice/mouse/emulate3buttons
if [ "$RET" = "true" ]; then
DO_EMULATE3BUTTONS=true
fi
exec 4>"$DEXCONFTMPDIR/InputDeviceMouse"
cat >&4 <<SECTION
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
SECTION
if [ -n "$DO_EMULATE3BUTTONS" ]; then
printf "\tOption\t\t\"Emulate3Buttons\"\t\"true\"\n" >&4
fi
printf "EndSection\n" >&4
It seems as if dexconf is simply ignoring the values for Option "Device"
and Option "Protocol" that it's pulling from debconf. Is this actually
an intentional behavior?
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xserver-xorg depends on:
ii debconf 1.5.1 Debian configuration management sy
ii x11-common 1:7.0.18 X Window System (X.Org) infrastruc
ii xbase-clients 1:7.0.1-1 miscellaneous X clients
ii xkb-data 0.8-5 X Keyboard Extension (XKB) configu
ii xserver-xorg-core 1:1.0.2-8 X.Org X server -- core server
ii xserver-xorg-input-evdev [xs 1:1.0.0.5-2 X.Org X server -- evdev input driv
ii xserver-xorg-input-kbd [xser 1:1.0.1.3-2 X.Org X server -- keyboard input d
ii xserver-xorg-input-mouse [xs 1:1.0.4-2 X.Org X server -- mouse input driv
ii xserver-xorg-video-ati [xser 1:6.5.8.0-1 X.Org X server -- ATI display driv
ii xserver-xorg-video-dummy [xs 1:0.1.0.5-2 X.Org X server -- dummy display dr
Versions of packages xserver-xorg recommends:
pn discover1 | discover <none> (no description available)
ii laptop-detect 0.12.1 attempt to detect a laptop
pn mdetect <none> (no description available)
pn xresprobe <none> (no description available)
-- debconf information:
xserver-xorg/multiple_possible_x-drivers:
* xserver-xorg/config/monitor/use_sync_ranges: true
* xserver-xorg/config/inputdevice/mouse/port: /dev/input/mice
xserver-xorg/config/doublequote_in_string_error:
xserver-xorg/config/monitor/screen-size: 17 inches (430 mm)
* shared/default-x-server: xserver-xorg
* xserver-xorg/autodetect_monitor: false
* xserver-xorg/config/inputdevice/mouse/protocol: ImPS/2
shared/no_known_x-server:
* xserver-xorg/config/display/default_depth: 24
* xserver-xorg/config/display/modes: 1600x1200
xserver-xorg/config/device/bus_id_error:
* xserver-xorg/config/monitor/vert-refresh: 50-85
* xserver-xorg/config/inputdevice/keyboard/options:
* xserver-xorg/autodetect_keyboard: false
* xserver-xorg/config/device/use_fbdev: false
* xserver-xorg/config/inputdevice/keyboard/variant:
xserver-xorg/config/nonnumeric_string_error:
* xserver-xorg/config/inputdevice/keyboard/layout: us
* xserver-xorg/config/modules: bitmap, ddc, dri, extmod, freetype, glx, int10, type1, vbe
* xserver-xorg/config/monitor/identifier: Attached Screen
* xserver-xorg/config/inputdevice/mouse/emulate3buttons: false
xserver-xorg/autodetect_mouse: true
* xserver-xorg/config/monitor/horiz-sync: 30-75
* xserver-xorg/config/device/video_ram:
xserver-xorg/config/monitor/range_input_error:
* xserver-xorg/config/inputdevice/keyboard/model: pc101
* xserver-xorg/config/device/driver: fglrx
* xserver-xorg/config/device/identifier: ATI Technologies Inc M10 NT [FireGL Mobility T2] (rev 80)
* xserver-xorg/config/monitor/selection-method: Medium
xserver-xorg/config/null_string_error:
shared/multiple_possible_x-servers:
* xserver-xorg/config/device/bus_id:
* xserver-xorg/config/write_files_section: true
xserver-xorg/autodetect_video_card: true
* xserver-xorg/config/monitor/mode-list: 1600x1200 @ 60Hz
* xserver-xorg/config/inputdevice/keyboard/rules: xorg
Reply to: