Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
El día Friday, March 06, 2009 a las 08:54:49AM +0100, Ed Kapitein escribió: On Fri, 2009-03-06 at 07:52 +0100, Matthias Apitz wrote: Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx matthias Hi Matthias, The way i work arround this is by having an xmessage with three buttons. if i press button 1 xmodmap wil map the click to button 1 if i press button 2 xmodmap wil map the click to button 2 for a while if i press button 3 xmodmap wil map the click to button 3 for a while (right click) It is not perfect, but it suits my needs. ( using all mouse functions in vnc for example ) Hi Ed, Yes, I need it exactly for vncviewer; could you please be so kind and mail me your scripts; in Om2008.9 there is not even xmessage, but I think I can 'borrow' one from Debian; Thx and kind regards matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
Ed Kapitein e...@kapitein.org writes: The way i work arround this is by having an xmessage with three buttons. xmodmap did not work for me with Xglamo, are you using Xorg? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
On Fri, 2009-03-06 at 09:04 +0100, Matthias Apitz wrote: El día Friday, March 06, 2009 a las 08:54:49AM +0100, Ed Kapitein escribió: On Fri, 2009-03-06 at 07:52 +0100, Matthias Apitz wrote: Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx matthias Hi Matthias, The way i work arround this is by having an xmessage with three buttons. if i press button 1 xmodmap wil map the click to button 1 if i press button 2 xmodmap wil map the click to button 2 for a while if i press button 3 xmodmap wil map the click to button 3 for a while (right click) It is not perfect, but it suits my needs. ( using all mouse functions in vnc for example ) Hi Ed, Yes, I need it exactly for vncviewer; could you please be so kind and mail me your scripts; in Om2008.9 there is not even xmessage, but I think I can 'borrow' one from Debian; Thx and kind regards matthias Sure, it is at http://www.kapitein.org/openmoko/mod_mouse But be aware, i run this script on the host where i connect to, not on the freerunner itself. i use kde, so i added a symlink to the script in ~/.kde/Autostart. This way every time i log in to my desktop the xmessage is triggered. Hope this helps. Kind regards, Ed ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
El día Friday, March 06, 2009 a las 09:27:03AM +0100, Ed Kapitein escribió: Sure, it is at http://www.kapitein.org/openmoko/mod_mouse But be aware, i run this script on the host where i connect to, not on the freerunner itself. i use kde, so i added a symlink to the script in ~/.kde/Autostart. This way every time i log in to my desktop the xmessage is triggered. Hope this helps. Thanks for that; but I think it does not help me out; this trick would change the mouse buttons *inside* the desktop presented by the vncviewer and not in the X11 server running on the FR. It seems that the vncviewer (vnc_3.3.7-r0, see the other thread in the mailing list with the Subject: [Om2008.9] vncviewer vnc_3.3.7-r0 but ...) needs a right button click into the scrollbars of the vncviewer application itself to get moved backward (don't know if this is true, but at least someone said so); Thanks anyway matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
Matthias Apitz ha scritto: Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx Sorry for that, I was in funny humor yesterday :) Normal use in touch screen devices is to catch the long touch as right mouse, Qtopia does this, in fact if you open notes in Om2008.x distros create a note and then on that one you click and hold your finger you'll see a popup menu. I think the same could be implemented by frameworks or by daemons but unfortunately I don't know how. This could solve almost the right-click I think mid click could be solved with a button (AUX?) and left click or right click as suggested by Risto Bye :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
think I can 'borrow' one from Debian; well, why don't you borrow xorg-xserver-input-tslib as well? or at least libgtkstylus.so? 2008.9 uses xorg, right? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
2008.9 uses xorg, right? No: yes, it does. xorg as opposed to framebuffer (like, qtopia). i am not sure, though, how good tslib works with (your current) xglamo -- and libgtkstylus.so does gtk-apps only, iirc. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[Om2008.9] ButtonPress event for button 3 (right mouse button)
Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
On Fri, Mar 6, 2009 at 8:52 AM, Matthias Apitz g...@unixarea.de wrote: Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx matthias Could the AUX be used for this: clicking the screen with AUX pressed could generate the right click? I don't know how to do this, there have been some scripts around that change the behaviour of AUX when running a program (for example I've had it in PDF viewers to exit the full screen mode - without it you're stuck in the fullscreen mode as there's no ESC to clik :/ Hope it helps.. r -- | risto h. kurppa | risto at kurppa dot fi | http://risto.kurppa.fi ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] ButtonPress event for button 3 (right mouse button)
On Fri, 2009-03-06 at 07:52 +0100, Matthias Apitz wrote: Hi, The question is seriously, so please don't respond with 'use the right finger': How can I generate the X11 event ButtonPress/ButtonRelease for button 3, i.e. the right button of the mouse, with the touchpad of the FR? Thx matthias Hi Matthias, The way i work arround this is by having an xmessage with three buttons. if i press button 1 xmodmap wil map the click to button 1 if i press button 2 xmodmap wil map the click to button 2 for a while if i press button 3 xmodmap wil map the click to button 3 for a while (right click) It is not perfect, but it suits my needs. ( using all mouse functions in vnc for example ) Kind regards, Ed ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community