On 06/18/2018 08:14 AM, karl schattschneider wrote:
Hello everyone ....

and special thanks to J. Fahrner for pointig me in the right direction. Doing a lot of scripting myself I wondered what his script would come up with. So I just tried.

xinput list gave me:

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave pointer  (2)] ⎜   ↳ eGalax Inc. eGalaxTouch EXC3000-0166-29.00.00    id=10 [slave pointer  (2)] ⎜   ↳ ITE Tech. Inc. ITE Device(8910)             id=11    [slave pointer  (2)] ⎜   ↳ Logitech Optical USB Mouse                  id=13    [slave pointer  (2)] ⎜   ↳ ITE Tech. Inc. ITE Device(8910)             id=12    [slave pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave keyboard (3)]     ↳ Power Button                                id=6    [slave keyboard (3)]     ↳ Video Bus                                   id=7    [slave keyboard (3)]     ↳ Power Button                                id=8    [slave keyboard (3)]     ↳ Sleep Button                                id=9    [slave keyboard (3)]     ↳ USB2.0 HD UVC WebCam                        id=14    [slave keyboard (3)]     ↳ Intel Virtual Button driver                 id=15    [slave keyboard (3)]     ↳ AT Raw Set 2 keyboard                       id=16    [slave keyboard (3)]     ↳ ITE Tech. Inc. ITE Device(8910)             id=17    [slave keyboard (3)]

which told me that the *grep* would have failed but I tried to issue the necessary commands manually.

Finally xinput set-prop  *12* "Device Enabled" 0  did what I wanted to achieve. When I found out that this was only valid for the current session I just put the command in a shell script which is called from my ~/.xinitrc.

You see: I don't really know what I'm doing:-D. Things probably can be done more elegantly but he touchpad doesn't get in my way anymore.

(Did I reply correctly? If not please give me hints on what I could do better. Special markup for snippets of code?)

Thank you.

Karl.


Hi Karl,

Using the id number may only last for one session as it can change after rebooting. Instead call out the entire device by name "ITE Tech. Inc. ITE Device(8910)" with quotation marks due to the spaces in the name.

Something like:

xinput --disable "ITE Tech. Inc. ITE Device(8910)"

and then you can use:

xinput --enable "ITE Tech. Inc. ITE Device(8910)"

to re-enable the device.

Are you sure it is id12 that is you pointer? I ask because that name is also used for id=17, which is noted as a slave keyboard. That command above may disable both devices. I hope it does not disable your keyboard also. You may have to reboot or login on a different virtual screen to change back.

I am on my desktop now so I can not look at how my laptop is configured to disable the synaptic touchpad but I used something similar as above using the name of the pointing device.

Regards,

Eric


_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to