nx-server/player 経由でログインしているときに xinput を使用してスクロール方向を調整する

nx-server/player 経由でログインしているときに xinput を使用してスクロール方向を調整する

私は通常の 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"私にとってはうまくいくので試してみてください。

関連情報