Anno domini 2022 Fri, 16 Sep 23:32:58 -0500 J Leslie Turriff scripsit:
On 2022-09-16 20:06:58 James Leone wrote:
In general: xinput set-prop id-number "Device Enabled" 0 Specific example (if I wanted to disable my UVC Camera):
xinput set-prop 12 "Device Enabled" 0
You need to identify the id-number of the touchpad first.
Steps:
- at the command prompt, use:
xinput list
Example output:
xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Razer Razer Ornata Chroma id=10 [slave pointer (2)] ⎜ ↳ Razer Razer Ornata Chroma id=11 [slave pointer (2)] ⎜ ↳ Logitech K330 id=13 [slave pointer (2)] ⎜ ↳ Logitech M215 2nd Gen id=14 [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)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Sleep Button id=8 [slave keyboard (3)] ↳ Razer Razer Ornata Chroma id=9 [slave keyboard (3)] ↳ UVC Camera (046d:0825) id=12 [slave keyboard (3)] ↳ Razer Razer Ornata Chroma id=15 [slave keyboard (3)] ↳ Logitech K330 id=16 [slave keyboard (3)]
From the output, determine the id of your device.
Yes, that works. Thank you. Should I put that into my .bashrc, or will it be remembered across logout/ins?
~/.xsessionrc would be the right place.
Nik
Leslie
Operating System: Linux Distribution: openSUSE Leap 15.4 x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.0.12 tde-config: 1.0
Leslie