|
2012-06-04
, 10:52
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#2
|
xbindkeys -f /home/user/.xbindkeysrc
"wmctrl -r :ACTIVE: -b toggle,fullscreen" m:0x4 + c:65 Control + space "xdotool click 2" m:0x80 + b:1 + release "xdotool click 3" m:0x01 + b:1 + release
|
2012-06-04
, 10:57
|
Posts: 85 |
Thanked: 38 times |
Joined on Sep 2010
@ Canada
|
#3
|
|
2012-06-04
, 11:34
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#4
|
|
2012-06-04
, 19:23
|
|
Posts: 356 |
Thanked: 217 times |
Joined on Aug 2010
@ Netherlands
|
#5
|
I remember a thread where qole tried to solve this problem, AFAIK without fully satisfying results
There is libktkstylus.so which solves the right-click problem, albeit only in gtk applications.
Then there are some solutions involving xbindkeys and xdotool, but they are difficult do set up and a bit messy.
So I was wondering: wouldn't it be possible to take the sources of xbindkeys and xdotool, do some copy-and-paste and some editing and end up with a simple stand-alone program ("stylus2mouse") which solves these problems one and for all on X11-level, i.e. regardless of the toolkit used?
Something like:
I am not asking anyone to write this, I know I'll have to do this myself, but I'd like to hear some advice, so I don't set out to try the impossible. There are quite a number of things I am not sure about: