Utilice xinput para ajustar la dirección de desplazamiento cuando inicie sesión a través de nx-server/player

Utilice xinput para ajustar la dirección de desplazamiento cuando inicie sesión a través de nx-server/player

Seguí estas instrucciones para configurar el desplazamiento natural para mi escritorio normal de Ubuntu (11.04) y funcionaron bien:

http://maketecheasier.com/reverse-mouse-scrolling-direction-in-ubuntu/2011/09/16

pero esas configuraciones, incluso cuando inicio sesión como el mismo usuario a través de nxserver de forma remota, no se aplican. Entonces intenté ajustar la dirección de desplazamiento manualmente usando xinput así:

 xinput list 
"pointer"   id=0    [XPointer]
"keyboard"  id=1    [XKeyboard]

y luego:

 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

para ver el mapa de botones actual, intente cambiar el mapeo con:

 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

resulta en el mismo error. Alguien sabe cómo hacer esto?

Respuesta1

Prueba xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"eso funciona para mí.

información relacionada