[maemo-developers] disabling pressure information (for x11vnc)

From: Eero Tamminen eero.tamminen at nokia.com
Date: Thu Apr 12 11:48:41 EEST 2007
Hi,

ext Mike Cowlishaw wrote:
>>> I get the same problem as you with the x11vnc not responding to clicks
>>> on
>>> the docking/application bar. It's frustrating as heck because it was
>>> inversely so neat to even find a vnc server for this. It is definately
>>> an
>>> x11vnc issue as I tried 2 different VNC viewers, and if I maximize
>>> applications I can still register clicks in that area.
>> I think the issue is that x11vnc uses the XTest protocol/extension to
>> simulate the events at the device and XTest doesn't support pressure
>> information.  Pressure information is needed for detecting whether
>> the device is used with fingers or stylus.
>>
>> If you want to disable pressure information usage, you need to run
>> the device X server with XInput protocol/extension disabled.  Just
>> add  "-extension XInputExtension" to the /etc/init.d/x-server file
>> X server options and reboot the device.  Note that if you make a mistake
>> and X server doesn't start, your device could end up in a reboot loop.
> 
> That sounds promising!  Is there a 'safe' way to disable this
> (e.g., via an installable applet)?

To disable X server extensions/protocols you need to start X server
without them.  Only way X server provides for this is the command line
options (in the kdrive build configuration, with the Linux Desktop
X server you can change the configuration also from the
/etc/X11/xorg.conf file and then restart the X server).

I think Gtk/Gdk check the extensions availability also only at process
startup.


	- Eero


More information about the maemo-developers mailing list