On 2022-09-17 08:29:51 James Leone wrote:
I made a bash script for the laptop i did this for a
while back and plonked
it into ~/.trinity/Autostart.
(Executable text file)
"~" means home directory.
For the lay person.
On Sat, Sep 17, 2022, 6:01 AM Jim <zlists(a)ns.sympatico.ca> wrote:
> On Fri, Sep 16, 2022 at 23:32 (-0500), J Leslie Turriff wrote:
> > 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:
> >> 1. at the command prompt, use:
>
> <snip>
>
> >> 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?
>
> In case James doesn't get back to you soon...
>
> A quick experiment will probably show you that it will not be
> remembered across logout / logins.
>
> Yes, if you put that command into your .bashrc (assuming you use bash)
> you should be good to go.
>
> Jim
There seem to be multiple ways of making
this work. I tried the .xsessionrc method, and
I'm happy with that.
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