
Я следовал этим инструкциям, чтобы настроить естественную прокрутку для моего обычного рабочего стола Ubuntu (11.04), и они отлично сработали:
http://maketecheasier.com/reverse-mouse-scrolling-direction-in-ubuntu/2011/09/16
но эти настройки, даже когда я вхожу в систему как тот же пользователь через nxserver удаленно, не применяются. Поэтому я попытался вручную настроить направление прокрутки с помощью xinput, например так:
xinput list
"pointer" id=0 [XPointer]
"keyboard" id=1 [XKeyboard]
а потом:
xinput get-button-map 0
X Error of failed request: XI_BadDevice (invalid Device parameter)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 3 (X_OpenDevice)
Device id in failed request: 0x0
Serial number of failed request: 15
Current serial number in output stream: 15
чтобы увидеть текущую карту кнопок, попробуйте изменить отображение с помощью:
xinput set-button-map "pointer" 1 2 3 5 4 6 7 8 9 10 11 12 13 14 15 16
X Error of failed request: XI_BadDevice (invalid Device parameter)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 3 (X_OpenDevice)
Device id in failed request: 0x0
Serial number of failed request: 15
Current serial number in output stream: 15
приводит к той же ошибке. Кто-нибудь знает, как это сделать?
решение1
Попробуйте xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"
, мне это подходит.