|
Post by Hippytaff on May 26, 2021 15:59:00 GMT
Recently a user on discord asked about how to disable the touchpad on their laptop at startup. Before getting an answer they worked it out and kindly shared how they did it on the channel. I thought it would be worth noting their method here for reference and for others who wish to do the same. Install xinput: Create a new .xprofile file in home directory:Open the file in a text editor (Leafpad/Nano) and add the following line:Thanks to gellb Edit - In this example the touchpad is assigned to "Device 16". Enigma, has posted below how to find the number for your touchpad, as I failed to mention that bit...oops. (Thanks for the headsup Craig )
|
|
enigma9o7
Crew Member
Posts: 1,504
Likes: 1,381
|
Post by enigma9o7 on May 26, 2021 16:29:45 GMT
Not everyone will be device id 16 tho, first just run "xinput" to list all devices and guess which slave pointer is your touchpad. Mine is called glidepoint.
In my case I have the following in my ~/.e/e/applications/startup/startupcommands:
xinput --disable 13 (I wasnt aware of the .xprofile but I imagine it does the same thing? If any reason to put it there instead of e startup, please advise!)
|
|
|
Post by ylee on May 27, 2021 2:29:56 GMT
it is my understanding that commands in .xprofile will be executed before the window manager is started and as lightdm loads or maybe after (I am unsure on that without testing) and I am being lazy tonight.
While commands in ~/.e/e/applications/startup/startupcommands are executed as Moksha is loading. In this particular case, there is no advantage if all you use is Moksha. I would prefer it in startupcommands myself, seems more the Moksha way. BUT if you use other window-managers/DE in addition to Moksha you may want in .xprofile.
|
|
gellb
Member
Posts: 1
Likes: 0
|
Post by gellb on Jun 6, 2021 6:47:20 GMT
Hi,I'm gellb who had the touchpad issue. Thanks guys to post and comment the topic. Since I'm a new-comer in Bodhi, and I didn't know how to config startup for Moksha, I set .xconfig instead.
|
|