2

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

1 Answer 1

5

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

1
  • 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.
    – user25165
    Apr 10, 2014 at 3:15

You must log in to answer this question.