Forum › Forums › New users › New Users and General Questions › [SOLVED] Easy way to disable touchpad?
- This topic has 15 replies, 7 voices, and was last updated Feb 22-2:59 pm by MarkG_108.
-
AuthorPosts
-
April 8, 2019 at 1:10 am #20228Member
Mynaardt
Hi!
I got antiX working on my ASSUS X55U nicely now.
Except the cursor is prone to flying all over the place when I’m typing.Any suggestions for the best way to disable that when the mouse is plugged in or when you’re typing?
Thanks in advance!
- This topic was modified 4 years ago by Mynaardt. Reason: to mark topic as solved
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 8, 2019 at 4:54 am #20240Member
eriefisher
April 8, 2019 at 1:27 pm #20259Member
Mynaardt
::This should work.
synclient Touchpadoff=1
Create a bash script and attach it to a key combo. To turn on,
synclient Touchpadoff=0eriefisher
I’m still in the learning curve mode. What file(s) do I make those changes in?
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 8, 2019 at 2:22 pm #20261Member
eriefisher
::I think this is the simplest way and accessible to all users if multi.
Using your favorite text editor type
TouchpadOff=1, save as padoff. Now edit that toTouchpadOff=0, save as padon. Close the text editor. Open a terminal and enterchmod +x padoffand repeat withchmod +x padonThis will make them executable. Now we will put them somewhere to access them when needed. While still in the terminalsudo cp padoff /usr/binThen repeat withsudo cp padon /usr/binBe sure to hit enter after each command. With the terminal still open we can test our scripts by typingpadoffDoes the touchpad work? Now trypadonIs the touchpad working?Good luck with your script.
eriefisher
- This reply was modified 4 years ago by eriefisher.
- This reply was modified 4 years ago by eriefisher.
April 8, 2019 at 2:34 pm #20264Member
eriefisher
::I tried to reply with a script but it doesn’t show on my end. If you cannot see it as well I will repost. Let me know
eriefisher
April 8, 2019 at 3:13 pm #20265Moderator
caprea
::eriefisher, the script is not shown here.The forum software sometimes makes quirky,crazy decisions.
As always in linux options, options and more options.
Another easy way would be to try syndaemon. open a terminal and type
syndaemon -i 2 -d
This will disable the touchpad while typing only.And will stay during your session.If you like to make this behaviour permanent, you can write it in the startup-file of your desktop.
Edit the startup in the hidden ~/.desktop-session folder in home
syndaemon -i 2 -d &April 8, 2019 at 3:32 pm #20266Member
eriefisher
::I will try this again. This will shut off/on at will, however the above is a great solution too. As always in Linux there are many ways. This way you get to write a script. How much fun is that! This can be done with 1 script using ‘if’ statements and such but we will keep it simple.
Using your favorite text editor type
TouchpadOff=1, save as padoff. Now edit that toTouchpadOff=0, save as padon. Close the text editor. Open a terminal and enterchmod +x padoffand repeat withchmod +x padonThis will make them executable. Now we will put them somewhere to access them when needed. While still in the terminalsudo cp padoff /usr/binThen repeat withsudo cp padon /usr/binBe sure to hit enter after each command. With the terminal still open we can test our scripts by typingpadoffDoes the touchpad work? Now trypadonIs the touchpad working?Good luck with your script.
eriefisher
- This reply was modified 4 years ago by eriefisher.
April 8, 2019 at 3:45 pm #20268Member
eriefisher
::I should mention you can attach key combos to these scripts as well and control the touch pad when you want.
eriefsher
April 9, 2019 at 12:26 am #20291Member
Mynaardt
::eriefisher, the script is not shown here.The forum software sometimes makes quirky,crazy decisions.
As always in linux options, options and more options.
Another easy way would be to try syndaemon. open a terminal and type
syndaemon -i 2 -d
This will disable the touchpad while typing only.And will stay during your session.If you like to make this behaviour permanent, you can write it in the startup-file of your desktop.
Edit the startup in the hidden ~/.desktop-session folder in home
syndaemon -i 2 -d &Cool! That one works. Made it permanent sort of thing in the startup file.
Thanks for that, caprea!What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 9, 2019 at 12:28 am #20292Member
Mynaardt
::I should mention you can attach key combos to these scripts as well and control the touch pad when you want.
Thanks for that!
I’ll make those two scripts so I can always make sure it’s OFF-OFF if necessary.
Thanks again!
What have the Romans ever done for us?
Apart from: sanitation, medicine, education, wine, public order, irrigation, roads, fresh water, and public health?April 2, 2021 at 12:57 pm #56946Memberok-ok
::This also works using .bash_aliases :
alias off=”synclient TouchpadOff=1″
alias on=”synclient TouchpadOff=0″
of course after saving the file do:
. .bash_aliases
this will load the file otherwise one can just shut
down the terminal and then re-start the terminal.November 3, 2021 at 2:59 pm #70126Memberchuck
November 3, 2021 at 3:06 pm #70127Memberchuck
::just want to turn pad off have a right button not working. Help would like a command to put in term to kill the pad for good.
November 4, 2021 at 4:31 am #70193ModeratorBobC
::Chuck,
Remember to Subscribe to the thread (or click the Notify me checkbox) if you ask a question so it will send you an email when an answer is posted. I answered this for you a couple days ago. https://www.antixforum.com/forums/topic/how-to-disable-laptop-touchpad/#post-70061
A few more suggestions:
Use Forum > Search to find answers the easy way. In this case you could search for disable touchpad.
If you don’t find an answer using search, create a new topic (probably in New Users forum) to ask your question instead of adding it to an old thread.
Read PPC’s Short Esenntial How To post for Linux newbies to help you get started https://www.antixforum.com/forums/topic/short-essential-how-to-list-for-the-complete-linux-newbie/
Welcome to antiX! We try to help, but you have to do your part to help yourself as well…
February 22, 2023 at 2:55 pm #100334 -
AuthorPosts
- You must be logged in to reply to this topic.