[maemo-developers] how to disable right-click (tap and hold) event?

From: Tomàs Jiménez Lozano tomas at oranginalab.com
Date: Fri Nov 23 21:25:26 EET 2007
Here we are again trying to disable or at least configure the
tap-and-hold event.

I've been looking desesperately for some kind of configuration files for
the X server shipped with ITOS2007 but I've found nothing.

Google helped me to discover that the X server is started in a script
called at /etc/init-d/x-server and it is configured by command line

I've checked all the command line arguments and discovered that things
like keyboard's autorepeat delay time are configurable by command line
arguments. Nothing about tap-and-hold configuration, however.

Xserver is started with a "-mouse tslib" option and now I am going to
follow that clue have a look at xserver-xomap and tslib source code

As you may have noticed I am not an expert in X servers, device drivers
and so on and this is becoming quite hard for me.

I would really thank anyone pointing me in the rigth way.


Tomàs Jiménez

On Thu, 2007-11-22 at 12:00 +0200, maemo-developers-request at maemo.org
> Sorry to bother you again.
> We have developed a Flash application that runs on N800 devices.
> We need to get rid of the contextual menu that the Flash plugin shows
> when we "tap and hold" on the device. (It only shows the "About
> Macromedia..." info but it is quite confusing and disturbing and we
> have
> received lots of user complaints)
> We have tried to disable the contextual menu from the
> Flash/Actionscript
> side but it's not possible to completely remove it.
> The only chance we have now is to somehow disable the "tap and hold"
> event (or reconfigure the amount of time needed to fire it) so the
> Flash
> plugin never catches it. 
> Is the amount of time between the tap and the "tap and hold" event
> being
> fired a configuration setting stored in Gconf? 
> Could anyone be so kind to give us a clue on where to find?
> Thank you again.
> Tom?s Jim?nez
> oranginalab
> On Fri, 2007-11-16 at 12:08 +0100, Tom?s Jim?nez Lozano wrote:
> > Hi,
> > 
> > Is there any way to completely disable the right-click event that
> fires
> > when the pointer is hold on the screen?
> > 
> > I've tried with xmodmap:
> > 
> > xmodmap -e "pointer = 1 3 2"
> > 
> > but it had no effect.
> > 
> > If it is not possible to completely avoid the right-click event from
> > firing it would be fine at least to configure some way the amount of
> > time before the event is fired.
> > 
> > Thanks in advance,
> > 
> > Tom?s Jim?nez
> > oranginalab
> > 
> >  
> >  

More information about the maemo-developers mailing list