Не все так просто... Я перед тим як вам писав робив так.
Зараз заглянув в логи іксів і там пише таке:
(II) config/udev: Adding input device "Power Button" (/dev/input/event2)
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.3.902, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event2"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,ua"
(**) Option "xkb_variant" ",winkeys"
(**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
(II) config/udev: Adding input device "Power Button" (/dev/input/event4)
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event4"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,ua"
(**) Option "xkb_variant" ",winkeys"
(**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
(II) config/udev: Adding input device "saa7134 IR (Kworld Xpert TV PVR" (/dev/input/event6)
(**) "saa7134 IR (Kworld Xpert TV PVR": always reports core events
(**) "saa7134 IR (Kworld Xpert TV PVR": Device: "/dev/input/event6"
(II) "saa7134 IR (Kworld Xpert TV PVR": Found keys
(II) "saa7134 IR (Kworld Xpert TV PVR": Configuring as keyboard
(II) XINPUT: Adding extended input device ""saa7134 IR (Kworld Xpert TV PVR"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,ua"
(**) Option "xkb_variant" ",winkeys"
(**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
(II) config/udev: Adding input device "AT Translated Set 2 keyboard" (/dev/input/event1)
(**) "AT Translated Set 2 keyboard": always reports core events
(**) "AT Translated Set 2 keyboard": Device: "/dev/input/event1"
(II) "AT Translated Set 2 keyboard": Found keys
(II) "AT Translated Set 2 keyboard": Configuring as keyboard
(II) XINPUT: Adding extended input device ""AT Translated Set 2 keyboard"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,ua"
(**) Option "xkb_variant" ",winkeys"
(**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
(II) config/udev: Adding input device "ImExPS/2 Generic Explorer Mouse" (/dev/input/event5)
(**) "ImExPS/2 Generic Explorer Mouse": always reports core events
(**) "ImExPS/2 Generic Explorer Mouse": Device: "/dev/input/event5"
(II) "ImExPS/2 Generic Explorer Mouse": Found 9 mouse buttons
(II) "ImExPS/2 Generic Explorer Mouse": Found scroll wheel(s)
(II) "ImExPS/2 Generic Explorer Mouse": Found relative axes
(II) "ImExPS/2 Generic Explorer Mouse": Found x and y relative axes
(II) "ImExPS/2 Generic Explorer Mouse": Configuring as mouse
(**) "ImExPS/2 Generic Explorer Mouse": YAxisMapping: buttons 4 and 5
(**) "ImExPS/2 Generic Explorer Mouse": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""ImExPS/2 Generic Explorer Mouse"" (type: MOUSE)
(**) "ImExPS/2 Generic Explorer Mouse": (accel) keeping acceleration scheme 1
(**) "ImExPS/2 Generic Explorer Mouse": (accel) acceleration profile 0
(II) "ImExPS/2 Generic Explorer Mouse": initialized for relative axes.
(II) config/udev: Adding input device "ImExPS/2 Generic Explorer Mouse" (/dev/input/mouse1)
(**) "ImExPS/2 Generic Explorer Mouse": always reports core events
(**) "ImExPS/2 Generic Explorer Mouse": Device: "/dev/input/mouse1"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""ImExPS/2 Generic Explorer Mouse""
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/event0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/event0"
(II) "Macintosh mouse button emulation": Found 3 mouse buttons
(II) "Macintosh mouse button emulation": Found relative axes
(II) "Macintosh mouse button emulation": Found x and y relative axes
(II) "Macintosh mouse button emulation": Configuring as mouse
(**) "Macintosh mouse button emulation": YAxisMapping: buttons 4 and 5
(**) "Macintosh mouse button emulation": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""Macintosh mouse button emulation"" (type: MOUSE)
(**) "Macintosh mouse button emulation": (accel) keeping acceleration scheme 1
(**) "Macintosh mouse button emulation": (accel) acceleration profile 0
(II) "Macintosh mouse button emulation": initialized for relative axes.
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/mouse0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/mouse0"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""Macintosh mouse button emulation""
xorg.conf виглядає так:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "sp_inet"
Option "XkbLayout" "us,ua"
Option "XkbVariant" ",unicode"
Option "XkbOptions" "lv3:win_switch,grp:ctrl_shift_toggle,grp_led:scroll,compose:rwin"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Щось тут не так... Дивлячись по логах видно, що система на хorg.conf не звертає уваги...