2

i want to disable right click in nautilus using Ubuntu 12.04. how to do that?

6

To disable right click for just desktop :

xmodmap -e "pointer = 1 2 99"

To apply for system wide:

xmodmap -e 'pointer = 1 2 0 4 5 6 7 8 9'

If you want to reverse it:

xmodmap -e 'pointer = default'

But, notice that it will restore to defaults upon rebooting.

Now, if you wish to make this option non-volatile do the following:

open dash --> startup Applications --> Add --> fill as in the image below

enter image description here

  • Its not working. When i apply the xmodmap -e "pointer = 1 2 99" , its blocking system wide right click but i just want the desktop right click to block. – YumYumYum Apr 10 '14 at 3:15

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy