Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The default setting for synaptics touchpads includes a paste functionality mapped to the upper right corner of the touchpad. I can disable this behavior by running the command

synclient RTCornerButton=0

, but every time I reboot my settings are reverted. How do I prevent this from happening?

share|improve this question

You need to put the settings in a xorg.conf file as follows:

sudo gedit /usr/share/X11/xorg.conf.d/60-synaptics-options.conf 

In the new file, type

Section "InputClass"
  Identifier "touchpad catchall"
  Driver "synaptics"
  MatchIsTouchpad "on"
  MatchDevicePath "/dev/input/event*"

  Option "RTCornerButton" "0"

share|improve this answer
You shouldn't make local changes to files in /usr/share. Instead put the new file under /etc/X11/xorg.conf.d/. – jdthood Mar 27 '14 at 20:15
@jdthood This answer suggested editing /etc/X11/xorg.conf – Akseli Palén Jan 28 at 21:49

Gnome settings daemon may override existing settings (for example ones set in xorg.conf.d) for which, the existing settings in /usr/share/X11/xorg.conf.d/50-synaptics.conf are being ignored. This is how i fixed it.

Run dconf-editor

Edit /org/gnome/settings-daemon/plugins/mouse/ (or /org/cinnamon/settings-daemon/plugins/mouse/ for cinnamon)

Uncheck the active setting

It will now respect your system's existing synaptics configuration.

Then follow monkbroc's solution which will work now.

share|improve this answer

(Maybe) the fastest workaround is to create an entry in the "Startup Applications". It could be found in the unity launcher.

An example entry looks something like this:

Name: Enable Palm Detection

Command: synclient PalmDetect=1

Comment: Enable synclient palm detection

This is essentially equivalent to Augustin Riedinger's answer, but instead of creating the desktop entry manually, we let Ubuntu to do it for us.

share|improve this answer

Make synclient options stick between X sessions

Using startx (xinit)

Add any synclient <option>=<value> & lines to .xinitrc before the line which runs your window manager or desktop environment, like so:

## ~/.xinitrc
## X11 startup script; sourced by xinit(1) and its frontend startx(1)

## Set Synaptics touchpad options
synclient RTCornerButton=0 &

## Start desktop environment or window manager of your choice
exec startxfce4
# exec startlxde
# exec startkde
# exec i3
# exec dwm

The above example sets synclient options before running the Xfce desktop environment. Lines beginning with # are comments (they will not be executed).

Using a display manager

The method is the same as for xinit, except you put the synclient lines in a relevant startup script for your display manager, e.g. /etc/GDM/Init/Default.

If you have any doubts, let me refer you to the excellent ArchWiki. Even though its Archlinux-specific, most solutions work in every linux distro due to Arch's DIY nature. Have a good one!

share|improve this answer
Won't work either ... – Augustin Riedinger May 4 '14 at 10:29
Output of synclient; synclient RTCornerButton=0; synclient? – rld. Jun 8 '14 at 5:48

Add synclient [Var=Value] to the end of ~/.bashrc

example: synclient RTCornerButton=0

This will make you system set this synclient setting every time you log in.

share|improve this answer
This doesn't work ... The params are executed when a bash is launched, not on session open ... – Augustin Riedinger May 2 '14 at 7:17

All the solutions suggested here don't work for me:

  • I want the config to be in the /home folder as it is local config (so I can keep the parameters even if I change my distrib for instance)
  • .bashrc or .xinitrc don't seem to be executed correctly

So I ended up creating a .desktop file that is autostarted:

cat ~/.config/autostart/touchpadconfig.desktop 
[Desktop Entry]
Name=Touchpad Config
GenericName=Touchpad Config
Comment=Sets better default parameters to touchpad
Exec="synclient VertScrollDelta=40 && synclient AccelFactor=0.1 && synclient RightButtonAreaTop && synclient RightButtonAreaLeft=0"

Maybe not the best solution but it works for me.

share|improve this answer

None of the solutions worked for me in Ubuntu 14.04 LTS with Unity desktop. To make the settings permanent, I had to paste the synclient commands to a shell script and add the shell script to my Startup Applications in Unity.

Note: The shell script must start something like #!/bin/bash before the synclient commands, and the permissions have to be changed to executable.

share|improve this answer
sudoedit /usr/share/X11/xorg.conf.d/50-synaptics.conf

add those lines in the Section "InputClass"

Option "RTCornerButton" "0"

If you're using GNOME or Cinnamon desktop manager, there is a good chance that GNOME/Cinnamon's settings can override your custom settings. To prevent GNOME/Cinnamon's settings override yours, open dconf Editor [dconf-editor] and edit following entry:


Uncheck active.

share|improve this answer

I'm using Xubuntu 14.04 and this may not work for you. Open Session and startup or whatever the name is for you. Go to Application Autostart tab, again whatever the name is for you. Click the add button. Keep whatever name and description you want to and in the command type:

synclient RTCornerButton=0

If you want to add multiple lines separate them with a ;

Make sure the command you just created is checked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.