The Following 7 Users Say Thank You to t_moyashi For This Useful Post: | ||
![]() |
2009-07-28
, 17:53
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#2
|
![]() |
2009-07-28
, 18:01
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
The Following 3 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2009-09-03
, 08:27
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#4
|
#!/bin/sh export DISPLAY=:0.0 /usr/local/bin/clickhack_F6 &
The Following User Says Thank You to magic_doc For This Useful Post: | ||
|
2009-09-05
, 01:52
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#5
|
The Following User Says Thank You to For This Useful Post: | ||
![]() |
2009-09-05
, 17:02
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#6
|
Maybe I'm missing something, but this didn't work for me. I downloaded xmodmap from the Lancode.de repository, then followed the instructions in this thread, and while it changed something, it definitely didn't enable right-click. Some widgets wouldn't respond (which they would to a normal left-click), but widgets that had, say, a context menu, behaved like I'd just left-clicked them normally, rather than displaying the menu. (e.g. links in Tear)
Is there something I'm missing? I exported DISPLAY properly, and ran it as root.
xmodmap -pp
talakara:~# xmodmap -pp There are 32 pointer buttons defined. Physical Button Button Code 1 1 2 2 3 3 ...
talakara:~# xmodmap -pp There are 32 pointer buttons defined. Physical Button Button Code 1 3 2 2 3 1 ...
xmodmap -e "pointer = 3 2 1"
xmodmap -e "pointer = 1 2 3"
Also, is this supposed to disable F6's fullscreen functionality? I didn't see anything explicit in the source to do that, but I've never played around with this sort of stuff. If not, is there a way to do that?
The Following User Says Thank You to magic_doc For This Useful Post: | ||
|
2009-09-07
, 04:38
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#7
|
![]() |
2009-09-07
, 20:30
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#8
|
Thanks, but I'd already tried that, and everything checks out. To clarify, does this only work in non-hildonized GTK or Qt apps? On further investigation, it works correctly in the GConf editor app, but not in any other program I have installed, that I've tried so far. Maybe I'm just misunderstanding something.
|
2009-09-08
, 06:48
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#9
|
![]() |
2009-09-08
, 20:01
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#10
|
Off the top of my head, Tear, Maemo RSS Reader, microB (I think)... I tried a whole bunch of apps, but not systematically.
Right-clicking has been achieved by a long tap.(libgtkstylus.so)
It works well ,but I wanted the function like VNCViewer(in Maemo)'s.
so , I made this app.
While you hold down the FullScreenKey(F6) , your taps become Right-clicks.(you can even drag)
I attached a SCShot of using this app in easy-debian(qvwm).
also, it will work in maemo(ie:KDE.or Ooo).
It may work in mer.
6 steps for testing :
1.download <clickhack1b_F6.tar.gz>
2.open the terminal you like(ie: osso-Xterm)
3.install <xmodmap> from appmanager or "apt-get install xmodmap" as root.
4.unpack "tar xvzf /your/download/dir/clickhack1b_F6.tar.gz"
(ie:tar xvzf /user/home/MyDocs/clickhack1b_F6.tar.gz)
5.run it "/your/download/dir/clickhack1b_F6/clickhack_F6"
(ie:/user/home/MyDocs/clickhack1b_F6/clickhack_F6)
6.if you want to stop using it, just press [Ctrl+C] or run "killall clickhack_F6" in another terminal
>if you want to run it automatically
1.run "mv clickhack1b_F6/clickhack_F6 /yourdebianroot/usr/local/bin/"
2.add "/usr/local/bin/clickhack_F6 &" to startup script (ie : .xinitrc).
3.to be free from longtap function , run "export $GTK_MODULES=''"
Do you think I reinvented the wheel ?
clickhack1b_F6.tar.gz includes :
clickhack1b_F6/
clickhack1b_F6/clickhack1b.c #dirty source code
clickhack1b_F6/clickhack_F6 #main program
Update :
Update1: (10-04-09) clickhack1b: some bugs were fixed(?).
Last edited by t_moyashi; 2009-10-04 at 05:22. Reason: Update1