5

I have only a keyboard attached to my Raspberry Pi. How do I simulate a mouse right click from keyboard itself?

I tried various keys like Shift + F10, Alt + . and also the right click button in my keyboard, but nothing seems to be working.

I am running the latest version of Raspbian.

Sudar
  • 317
  • 4
  • 11

2 Answers2

2

you can install a command line tool xdotool that will emulate the click for you. Should be installed on the Pi by default.

http://tuxradar.com/content/xdotool-script-your-mouse

rob
  • 2,813
  • 4
  • 22
  • 31
2

UPDATE:

Navigate using Arrow keys.

  • Hit the "OK" key to select

or

  • Hit the "C" key to bring up the Context-Menu

Works on my Ras Pi 2 with OpenElec.

CraigW
  • 21
  • 2