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.
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel