Я следовал этим инструкциям, чтобы настроить естественную прокрутку для моего обычного рабочего стола 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
, чтобы увидеть текущую карту кнопок, пытаясь изменить отображение с помощью: [ 118]
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
приводит к той же ошибке. Кто-нибудь знает, как это сделать?
Попробуйте xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"
, который работает для меня.