View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3273
Just some quick tip (and it's probably not even new in this thread - in fact I'm pretty sure it's at least mentioned somewhere in the early 100 pages):

I just installed Marble in ED and stumbled upon the problem of not being able to create waypoints for routing, because that requires a right-click, which doesn't work for KDE applications via ED's default way of tap&hold.

So I installed xdotool and added these five lines to my .config/openbox/lxde-rc.xml:
Code:
$ diff lxde-rc.xml.orig  lxde-rc.xml
--- lxde-rc.xml.orig
+++ lxde-rc.xml
@@ -501,6 +501,11 @@
       </mousebind>
     </context>
     <context name="Client">
+      <mousebind button="S-mod5-Left" action="Click">
+        <action name="Execute">                                                  
+          <command>xdotool click 3</command>                                             
+        </action>
+      </mousebind>
       <mousebind button="Left" action="Press">
         <action name="Focus"/>
         <action name="Raise"/>
This allows me to perform a right-click by holding down Shift+Mod5 (the blue arrow key) and tapping the screen.

It should work in pretty much any application. At least it does in Marble, Netsurf and Pcmanfm (although in the latter two also tap&hold works).
For reasons I don't really care to dig into, it doesn't work in Lxterm.
 

The Following 7 Users Say Thank You to sulu For This Useful Post: