On 4 May 2010 16:31, Martin Jansa <[email protected]> wrote:
> On Tue, May 04, 2010 at 04:03:28PM +0200, Joachim Ott wrote:
>> On 3 May 2010 22:10, Martin Jansa <[email protected]> wrote:
>> > On Mon, May 03, 2010 at 04:22:50PM +0200, Joachim Ott wrote:
>> >> Maybe other people could use this too. I need to have the "-nocursor"
>> >> option stripped before the X server starts.
>> >>
>> >> --- /etc/X11/Xserver.orig       2010-05-03 13:44:29.000000000 +0200
>> >> +++ /etc/X11/Xserver    2010-05-03 16:16:53.000000000 +0200
>> >> @@ -3,6 +3,11 @@
>> >>
>> >>  . /etc/X11/xserver-common
>> >>
>> >> +# let a local script modify the variables
>> >> +if [ -e /etc/X11/xserver-system ] ; then
>> >> +       . /etc/X11/xserver-system
>> >> +fi
>> >> +
>> >>  echo "tslib: $TSLIB_TSDEVICE"
>> >>  echo "exec $XSERVER $ARGS -dpi $DPI $*"
>> >>  exec $XSERVER $ARGS -dpi $DPI $*
>> >> _______________________________________________
>> >> Shr-devel mailing list
>> >> [email protected]
>> >> http://lists.shr-project.org/mailman/listinfo/shr-devel
>> >
>> > OK
>> > http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=e10aead5714b4b3d4b2b7f1ecb2c1ffee645c1c9
>>
>> Great. Here is my xserver-system and how it works:
>>
>> r...@gta02v6 /etc/X11 # cat xserver-system
>> #!/bin/bash
>>
>> # remove -nocursor option
>> ARGS=${ARGS/-nocursor/}
>>
>> r...@gta02v6 /etc/X11 # sh -x xserver-common
>> ...
>> + '[' Xorg '!=' Xorg ']'
>> + ARGS='-br -pn  -dpi 280 -nocursor'
>> + '[' Xorg '!=' Xorg ']'
>> + '[' -e /etc/X11/xserver-system ']'
>> + . /etc/X11/xserver-system
>> ++ ARGS='-br -pn  -dpi 280 '
>>
>> Thanks again.
>
> You're using mouse attached to neo? in old Xserver I had some hackish
> method to detect that mouse is attached and drop -nocursor in that case
> (never tried it myself), but if you need it, maybe you could send patch
> for that (please something less hackish).
>
> Also -nocursor was added when we moved from Xglamo to Xorg, because it
> was easy to make Xorg segfault while fast typing on illume keyboards..
> last time I checked it (about month ago) the bug was still there, you
> don't have any segfaults (while using ts/mouse)?

No mouse, just my own screenlock program, which uses a transparent
cursor. When the lock is not active, I have the X cross cursor, I
turned it off with xsetroot in the begiining, but nowadays it doesn't
bother me anymore. I have no segfaults because of this. Otoh, I don't
use the illume keyboards.
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to