![]() ![]() |
Oct 8 2004, 03:10 PM
Post
#1
|
|
|
Group: Members Posts: 149 Joined: 17-April 04 Member No.: 2,879 |
I may be missing something obvious, but how do you send mouse button right-clicks and middle-clicks? Up through RC3 I used xmonobut. It still installs (though it's not in the RC5 feed), however RC5 calls up the app menu when you press the menu key and overrides xmonobut. You can still click the xmonobut icon, but that's slow and awkward. Is there an easy alternative built in?
|
|
|
|
Oct 8 2004, 04:36 PM
Post
#2
|
|
|
Group: Members Posts: 183 Joined: 7-September 04 Member No.: 4,501 |
StBrock
QUOTE I may be missing something obvious, but how do you send mouse button right-clicks and middle-clicks? Up through RC3 I used xmonobut. It still installs (though it's not in the RC5 feed), however RC5 calls up the app menu when you press the menu key and overrides xmonobut. You can still click the xmonobut icon, but that's slow and awkward. Is there an easy alternative built in? Click and hold. /etc/xdg/openbox/rc.xml has been set so that if you hold for 400ms it is treated as a right mouse click. - Bundabrg |
|
|
|
Oct 8 2004, 05:25 PM
Post
#3
|
|
![]() Group: Members Posts: 149 Joined: 19-July 03 From: New Zealand Member No.: 268 |
QUOTE(stbrock @ Oct 9 2004, 11:10 AM) I may be missing something obvious, but how do you send mouse button right-clicks and middle-clicks? Up through RC3 I used xmonobut. It still installs (though it's not in the RC5 feed), however RC5 calls up the app menu when you press the menu key and overrides xmonobut. You can still click the xmonobut icon, but that's slow and awkward. Is there an easy alternative built in? The key xmonobut uses to toggle right-click is set using the -k command-line switch. I use the Mail key, which is keycode 98, e.g.: CODE xmonobut -k 98 You can get ideas for keycodes from /etc/X11/kb/corgi.xmodmap. Once you've found a keycode you like you should edit /usr/bin/xmonobut-wrap.sh and change the default. |
|
|
|
Oct 8 2004, 05:27 PM
Post
#4
|
|
![]() Group: Members Posts: 149 Joined: 19-July 03 From: New Zealand Member No.: 268 |
QUOTE(Bundabrg @ Oct 9 2004, 12:36 PM) Click and hold. /etc/xdg/openbox/rc.xml has been set so that if you hold for 400ms it is treated as a right mouse click. Where in /etc/xdg/openbox/rc.xml is this defined? I would love to disable the click-and-hold right-click feature but can't find the section to comment out. |
|
|
|
Oct 8 2004, 05:51 PM
Post
#5
|
|
|
Group: Members Posts: 183 Joined: 7-September 04 Member No.: 4,501 |
QUOTE rgrep Where in /etc/xdg/openbox/rc.xml is this defined? I would love to disable the click-and-hold right-click feature but can't find the section to comment out. sad.gif Easy, the relevant lines look like: - CODE <mouse> <dragThreshold>3</dragThreshold> <doulbeClickTime>200</doubleClickTime> My mistake, so its 200ms. Actually, I think the best solution is if mousekeys is compiled, and then two buttons on the keyboard can be used as the middle and right buttons. I've already mapped the two japanese keys as ctrl and alt, but I'd be happy to sacrifice one of the bottom hotkeys as mouse buttons. - Bundabrg |
|
|
|
Oct 8 2004, 07:18 PM
Post
#6
|
|
|
Group: Members Posts: 149 Joined: 17-April 04 Member No.: 2,879 |
Thanks for the various suggestions on mouse clicks. I hadn't noticed that holding had any results because I almost always keep the screen in landscape position and the screen tends to move slightly with the stylus press. The slightest movement seems to derail the click and hold functionality. Drags of some window borders and frames get dropped too quickly. Double clicks also have to be on almost exactly the same spot to be recognized.
The Z is so light and moves so easily with stylus presses (at least in landscape mode) that this whole approach doesn't work well for me. My vote would be for a default configuration with keymaps for mouse functions beyond the basic point-click. |
|
|
|
Oct 8 2004, 09:11 PM
Post
#7
|
|
|
Group: Admin Posts: 1,418 Joined: 18-May 03 From: St. Paul, MN Member No.: 4 |
must I find out where you live and kill your puppies to get you to post new issues into a different thread?
thanks |
|
|
|
Oct 9 2004, 03:07 AM
Post
#8
|
|
![]() Group: Members Posts: 149 Joined: 19-July 03 From: New Zealand Member No.: 268 |
QUOTE(Bundabrg @ Oct 9 2004, 01:51 PM) QUOTE rgrep Where in /etc/xdg/openbox/rc.xml is this defined? I would love to disable the click-and-hold right-click feature but can't find the section to comment out. sad.gif Easy, the relevant lines look like: - CODE <mouse> <dragThreshold>3</dragThreshold> <doulbeClickTime>200</doubleClickTime> My mistake, so its 200ms. Actually, I think the best solution is if mousekeys is compiled, and then two buttons on the keyboard can be used as the middle and right buttons. I've already mapped the two japanese keys as ctrl and alt, but I'd be happy to sacrifice one of the bottom hotkeys as mouse buttons. - Bundabrg Correct me if I'm wrong, but if that's the "doubleClickTime" it shouldn't have anything to do with right-clicking, should it? I tried removing those two lines completely from rc.xml and then restarted X and it made no difference. I see in this thread that the behaviour is due to a patch applied to tslib. |
|
|
|
Oct 10 2004, 04:15 AM
Post
#9
|
|
|
Group: Members Posts: 183 Joined: 7-September 04 Member No.: 4,501 |
whoops... youre right. Cant believe I kept misreading that <blush>
- Bundabrg |
|
|
|
Oct 18 2004, 03:36 PM
Post
#10
|
|
|
Group: Members Posts: 151 Joined: 15-March 04 From: UK Member No.: 157 |
So is there a modifier key solution to right/middle clicking in RC5? I have Gimp2 running (wow) but right clicking the image by holding the 'mouse' down sometimes does things to the image before the right click clicks in.
|
|
|
|
Oct 18 2004, 08:13 PM
Post
#11
|
|
![]() Group: Members Posts: 149 Joined: 19-July 03 From: New Zealand Member No.: 268 |
QUOTE(macwiz @ Oct 19 2004, 11:36 AM) So is there a modifier key solution to right/middle clicking in RC5? I have Gimp2 running (wow) but right clicking the image by holding the 'mouse' down sometimes does things to the image before the right click clicks in. Install xmonobut. It's a panel applet that allows you to switch between your mouse buttons and supports binding to a hotkey. It's not in either of the RC5 feeds and I can't remember where I downloaded it from but it's available in this feed and should work in RC5. See my post above in this thread about how to change the hotkey (since the default, Menu, is already used in RC5). |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 06:26 AM |