Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

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

share|improve this answer
    
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 at 3:15
add comment

Your Answer

 
discard

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.