OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Right Click, the right way?
ZDevil
post Mar 23 2008, 03:36 AM
Post #16





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



QUOTE(gojira @ Mar 23 2008, 02:38 AM) *
QUOTE(gojira @ Mar 20 2008, 09:55 PM) *
If the X server supports the XKB extension you can use xmodmap to map the mouse buttons onto the keyboard

My mistake, that's not really useful for a touchscreen. It's great for a one-button trackpad (I'm looking at you, MacBook), but for a touchscreen, there's no mouse move, just click and drag, so it only lets you right/middle-click somewhere where you already just left clicked...
xbindkeys might do what you want if you use the press event to change the mapping and the release event to put it back.

True, but xbindkeys has a bit lagging and a little overhead in real use on the Z.
So far I find the mouseclick solution the best in terms of resource and ease of use, despite, as you mention, the need to implement the click where the pointer/cursor goes. But I can live with that.
Go to the top of the page
 
+Quote Post
datathief
post Apr 21 2008, 06:22 AM
Post #17





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(kkazakov13 @ Feb 2 2008, 08:09 PM) *
Is it possible to have something like

Fn + tap = right click ( ONE time only ) ?

Not like "To change in right click mode, press something, to change it back to left click mode, press something else". I hate this.

smile.gif any ideas?

Ah, even tap and hold would work when keyboard cannot be used.

Might evrouter help with this?
Go to the top of the page
 
+Quote Post
ca1eb
post Apr 24 2008, 02:22 AM
Post #18





Group: Members
Posts: 28
Joined: 6-April 06
Member No.: 9,556



I updated the C version of mouseclick, and provides armel stripped binaries.

Source code has no change, just add strip option in the Makefile.

mouseclick-20080424.tar.gz

And, I found xdotool may help on this topic:
http://www.semicomplete.com/projects/xdotool/
Go to the top of the page
 
+Quote Post
scottlfa
post Jul 20 2008, 07:34 PM
Post #19





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



there going to be a deb of this, would be cool once done. I liked the Fn + Tap for the right click.
Go to the top of the page
 
+Quote Post
axeTail
post Jul 24 2008, 02:46 AM
Post #20





Group: Members
Posts: 76
Joined: 14-December 07
Member No.: 21,073



QUOTE(scottlfa @ Jul 21 2008, 05:34 AM) *
there going to be a deb of this, would be cool once done. I liked the Fn + Tap for the right click.


Yeah, could someone please provide a deb file ???? thanks....
Go to the top of the page
 
+Quote Post
scottlfa
post Aug 30 2008, 09:35 AM
Post #21





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



Seems 2ro0 and ZDevil I think have found a solution that works.

First part is in .xbindkeysrc this one works for me with the fn as the right click button.
CODE
#mouse-click-m
"mouse-r"
    m:0x10 + b:1
    Mod2 + Mode_switch

#mouse-click-m
"mouse-m"
    m:0x1 + b:1
    Shift + Shift_L


and ZDevil's program here
Go to the top of the page
 
+Quote Post
axellira
post Jun 21 2009, 12:34 AM
Post #22





Group: Members
Posts: 6
Joined: 23-August 08
Member No.: 22,251



QUOTE(kkazakov13 @ Feb 2 2008, 12:09 PM) *
Ah, even tap and hold would work when keyboard cannot be used.


I personaly prefer this way. In case you guys are still looking for this, there is Mousetweaks, from the gnome project. Don't worry, it won't hurt to install. Just some minor gnome libraries.It can be downloaded here. For debian, you can get the mousetweaks and at-spi packages. To make it work, just run:

CODE
/usr/lib/at-spi/at-spi-registryd
mousetweaks -e delay


You can make it run with your favorite session manager by adding these two to the init scripts.
The debian packages can be easily (?) ported to angstrom and pdaxrom.

Regards.
Axel Lira
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 29 2009, 07:44 AM
Post #23





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I might as well throw my latest in here as well...

My current setup just uses Fluxbox's event grabber to run "xmodmap -e 'pointer = 3 2 1'" or similar commands. I also have it change the cursor so I can visually check what button will be pressed at any given time.

The other option (I haven't tried this yet) is to add
CODE
Option          "EmulateRightButton"    "1"

to the "input" section of xorg.conf. That SHOULD enable press-and-hold right clicking.

Like I said, I haven't tried it, so YMMV.

Hope that helps somebody.
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th August 2014 - 08:27 PM