Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My new touchscreen laptop does not have the menu button (i.e. the one behaves like a right mouse click) - the one usually next to the right ctrl.

since you cannot left click by touch, I am trying to create a custom keyboard Shortcut for Alt GR for this function (under System > Keyboard > Shortcuts > Custom Shortcuts)

When using the xev command with an onboard keyboard (that has the menu button), I have found out that the button info is:

KeyRelease event, serial 42, synthetic NO, window 0x4800001,
    root 0xab, subw 0x0, time 2544690, (1236,607), root:(1302,1050),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

However, I have no idea what to do with this info...

btw I am using a Ubuntu 13.04.

Any help would be most appreciated...

share|improve this question
I have exactly the same problem with my aspire p3, ubuntu 14.04, right click functions aren't working with touchscreen :( – user65390 Apr 16 '14 at 13:39
@user65390 have you tried freddi schiller's answer... – Ismail M Apr 20 '14 at 21:58
you should edit this question to remove the geekyness. Simply say, how to right click on touchscreens? The question, now answered seems too technical to actually match the answers – Bhikkhu Subhuti Jan 28 at 12:54
up vote 2 down vote accepted

You need to enable the secondary click (as AliNa commented) with gsettings set org.gnome.desktop.a11y.mouse secondary-click-enabled "true" or with dconf editor.

Then it is possible that Ubuntu handles the touchscreen partially like a touchpad, where a touch does not trigger mouse-press. Instead you need to short-tap + touch-and-hold.

share|improve this answer

Just keep touching the screen for 2 or 3 seconds and what is called "right menu" should appear. This is the normal way to emulate a right click on any touchscreen.

share|improve this answer
You should probably enable secondary click first, just by gsettings set org.gnome.desktop.a11y.mouse secondary-click-enabled "true" or via Dconf Editor. – AliNa Sep 16 '13 at 14:28
I entered the above command into the terminal and then even went to universal settings and reduced the acceptance delay to the min. however this still does not solve the problem - when I use a mouse, the menu does appear but when using the touchscreen it doesn't work... – Ismail M Sep 16 '13 at 14:49
@IsmailM Then, I think that you should speak about this with your seller/manufacturer... – Radu Rădeanu Sep 16 '13 at 14:55
@RaduRădeanu I brought this laptop from john lewis with Windows 8 on it (and the touchscreen function is working properly on windows 8). Do you still think I should chat to them because I installed ubuntu myself... – Ismail M Sep 17 '13 at 15:55
@IsmailM Yes, you should. – Radu Rădeanu Sep 17 '13 at 16:35

protected by Community Feb 12 '15 at 4:26

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.