PDA

View Full Version : [all variants] 11.10: mousekeys configuration not working



JohnM1
October 24th, 2011, 07:08 PM
In 11.10 (in both Unity and Gnome Shell) this configuration file is ignored:
/usr/share/X11/xkb/compat/mousekeys

I used a modified version of this file (in previous versions of Ubuntu) to disable cursor movement (I only simulate the mouse buttons with the keypad, and use the number keys for something else).

However in 11.10 this configuration file is ignored, and I get full cursor movement with the keypad (which I don't want), in addition to the mouse buttons (which I do want).

I found a simple fix, I created the file /etc/X11/xorg.conf:


Section "InputClass"
Identifier "Logitech, Inc. Comfort Wave 450"
MatchIsKeyboard "yes"
Option "XkbOptions" "keypad:pointerkeys"
EndSectionIt works - on the next boot it takes the settings from /usr/share/X11/xkb/compat/mousekeys

My question is: why does it work? Has something changed in Gnome 3 to block the normal X Windows behaviour?

(Note: The basic "on" or "off" setting for mouse keys works in the "Universal Access" settings. This problem is about the configuration file being ignored)