触摸屏、X11去掉鼠标

cursor disable in X11

摘自:http://www.noah.org/wiki/cursor_disable_in_X11

When working with touch-screen interfaces or embedded systems you often don't want or need the mouse cursor. Most of the information I found about this specific topic described people either trying to use `xsetroot` or loading a cursor theme with all the cursors set to transparent. The following is, I believe, the correct solution.

Simply pass the nocursor option to the X server when you start it. There are a million ways to start X-Windows. I will list four variations. When using `startx` or `xinitrc` you can put these options in .xinitrc.

Xorg -nocursor 
X -nocursor 
xinit -- -nocursor 
startx -- -nocursor 

猜你喜欢

转载自www.cnblogs.com/LiuYanYGZ/p/9436255.html