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.

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 at 13:39
    
@user65390 have you tried freddi schiller's answer... –  Ismail M Apr 20 at 21:58

2 Answers 2

up vote 1 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
1  
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

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.