Xubuntu - Disable Mouse's Right Click
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.So, create an autostart script as following in ~/.config/autostart/disablerightclick.desktop : [Desktop Entry] Encoding=UTF-8 Version=0.9.4 Type=Application Name=Disable Right Click Comment=Disable Right Click Exec=xmodmap -e "pointer = 1 2 99" StartupNotify=false Terminal=false Hidden=false Restart and log-in again to see it work.