List Info

Thread: Re: disabling pressure information (for x11vnc)




Re: disabling pressure information (for x11vnc)
user name
2007-04-18 03:41:02
Hi,

ext Mike Cowlishaw wrote:
> Hi, I am going to have to try this before the weekend
-- x11vnc seems to be
> the only game in town for a demo of N800 apps to an
audience using a
> projector.  I'm happy for this to be a one-off 'turn
off pressure
> information' as I never use that feature anyway (I
tried it, but the screen
> got so mucky so fast...).
> 
> Your instructions are a bit vague, however.  When you
say:
> 
>   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.  
> 
> It's not clear where to add it.  I would add it to the
end of the
> ARGS="...." string, preceded by a space.  Is
that correct?

Yes.  You can test what Xserver thinks about it with:
  Xomap -mouse tslib -nozap -wr -nolisten tcp -extension
XInputExtension

If you use something else, you can see what kind of an error
X server
would give (at startup) if the X server argument is not
correct.


> [Subsidiary question .. is there a way to use maemopad
to edit files on the
> internal filesystem?  Copying to an mmc card and
editing there or on another
> machine sounds a bad idea for system files...]

Applications are run under "user" user, so it
cannot edit files that are
not writable by "user".


	- Eero


> 
> Thanks!   Mike
> 
> 
>> -----Original Message-----
>> 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
> 

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

RE: disabling pressure information (for x11vnc)
user name
2007-04-18 10:09:17
Hi, many thanks ... I can form that: 

> >   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.
> >
> > Where it is added to the end of the
> > ARGS="...." string, preceded by a space.
 

Does indeed mean that the mouse over X11vnc now works on the
task manager
pane on the left.  Many thanks!

It doesn't completely fix the problems though .. the other
big problem is
still there, in that in X-terminal pressing the enter key
brings up the
thumb keyboard and does not enter the data.  One can achieve
an Enter by
clicking on the window (which brings up the stylus keyboard)
and then on the
Enter key there, but that's terribly inconvenient.  Any
suggestions?

mfc

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )