How to create a right-click keyboard shortcut?

Is there any shortcut to have the same effect as the right click of the mouse as I don't have the menu button on my laptop

If not, is there any alternative way such that I can make it possible

I am using Ubuntu-gnome14.04

0

2 Answers

The easiest way is to install xdotool, with which you can a.o. simulate key (combinations) and mouseclicks.

sudo apt-get install xdotool

then open System Settings > Keyboard > Shortcuts > Custom Shortcuts, set a key combination you like, and make it run the command:

xdotool click 3
1

In the latest Ubuntus you can do that with Shift+F10

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like