Question- How to run a command at startup?
Background info

I have a problem with the tap to click action that isn’t enabled, so that it's solved using

synclient TapButton1=1 TapButton2=3 TapButton3=2

But every time the computer starts I have to run manually the command. I have added the line to the .bashrc file, added it to the mate-session-properties, looked for the xinitrc, but there is only a xinitrc.template that I’m not sure this is the one the system is using, and all of that doesn’t work. I hope this won't have to be added to the rc services.

1 Answer 1


The best way to run a command at startup in MATE Desktop is going to Control Center -> Startup Applications -> + Add and then you can insert your command. But in your specific case it won't work, when you will wake up your computer from suspend the tap to click action will not work again. The best way to enable tap to click is going in Control Center -> Mouse -> Touchpad -> Enable mouse clicks with touchpad.

  • While this answers the specific use case of the original question, it does not address the general title of the post. Not sure how to resolve this, as users searching for this general topic, but not the specific Mouse Touchpad Click, issue won't be helped.
    – 0xSheepdog
    Mar 14, 2019 at 19:39
  • @0xSheepdog, agreed! I am just such a user! My search continues...
    – Frobozz
    Jun 22, 2021 at 14:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .