Skip to content

Instantly share code, notes, and snippets.

@zeryx
Created November 15, 2016 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeryx/3390c8a5273c43ea8d6c5b1c993e4da1 to your computer and use it in GitHub Desktop.
Save zeryx/3390c8a5273c43ea8d6c5b1c993e4da1 to your computer and use it in GitHub Desktop.
with mouse connected:
$ xsetpointer -l | grep Pointer
2: "Virtual core pointer" [XPointer]
4: "Virtual core XTEST pointer" [XExtensionPointer]
15: "ETPS/2 Elantech Touchpad" [XExtensionPointer]
9: "USB Laser Game Mouse" [XExtensionPointer]
16: "USB Laser Game Mouse" [XExtensionPointer]
with mouse disconnected:
$ xsetpointer -l | grep Pointer
2: "Virtual core pointer" [XPointer]
4: "Virtual core XTEST pointer" [XExtensionPointer]
15: "ETPS/2 Elantech Touchpad" [XExtensionPointer]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment