User Tools

Site Tools



Hide the Mouse Cursor in X Windows

X Windows has an argument, -nocursor, that can be used to hide the mouse cursor. See for more information.

On the ComfilePi, you can add this argument to the /etc/lightdm/lightdm.conf file to hide the mouse cursor. Open the file in a text editor and edit the xserver-command line to include the -nocursor argument.

For example, if the xserver-command line is xserver-command=X -s 0 dpms, edit it to be xserver-command=X -nocursor -s 0 dpms

To see the changes take effect without rebooting, run the command sudo systemctl restart display-manager.

ComfilePi - Industrial Raspberry Pi Panel PC

comfilepi/hide_the_mouse_cursor/index.txt · Last modified: 2022/07/08 06:38 by COMFILE Technology