Author Topic: Right Click  (Read 26426 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Right Click
« Reply #15 on: March 23, 2008, 07:36:42 am »
Quote from: gojira
Quote from: gojira
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.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Right Click
« Reply #16 on: April 21, 2008, 10:22:32 am »
Quote from: kkazakov13
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.

 any ideas?

Ah, even tap and hold would work when keyboard cannot be used.
Might evrouter help with this?

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
Right Click
« Reply #17 on: April 24, 2008, 06:22:16 am »
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/
« Last Edit: May 30, 2008, 08:22:53 am by ca1eb »
My OESF account is caONEeb, not caLeb.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
Right Click
« Reply #18 on: July 20, 2008, 11:34:30 pm »
there going to be a deb of this, would be cool once done.  I liked the Fn + Tap for the right click.
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

axeTail

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Right Click
« Reply #19 on: July 24, 2008, 06:46:17 am »
Quote from: scottlfa
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....

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
Right Click
« Reply #20 on: August 30, 2008, 01:35:35 pm »
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: [Select]
#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
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

axellira

  • Newbie
  • *
  • Posts: 6
    • View Profile
Right Click
« Reply #21 on: June 21, 2009, 04:34:03 am »
Quote from: kkazakov13
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: [Select]
/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

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Right Click
« Reply #22 on: June 29, 2009, 11:44:45 am »
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: [Select]
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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo