Start the X server with the -nocursor
option.
X always must have a cursor. Its appearance depends on the window the cursor is over. You can change the appearance of the root window cursor and make it invisible that way. To make the root window mouse cursor invisible create an empty bitmap file. To do so you can either create a file emptyCursor.xbm
with the content:
#define emptyCursor_width 1
#define emptyCursor_height 1
#define emptyCursor_x_hot 0
#define emptyCursor_y_hot 0
static unsigned char emptyCursor_bits[] = {
0x00};
or you can use the application bitmap
. Start bitmap, create a new bitmap file with the File->New
menue, and save it with File->Save
. Assuming you called the empty bitmap file emptyCursor.xbm
you can now change the root window cursor with:
xsetroot -cursor emptyCursor.xbm emptyCursor.xbm
NOTE: As mentioned this only affects the root window cursor. Modern window managers create their own root window. Its cursor is not affected by this. Also most applications define their own cursors. Moving a cursor over an application will cause its cursor to be displayed if it defines its own cursor. If it doesn't it will inherit the cursor of its parent window.
The server will start without any devices connected. No core input device is needed anymore, it is automatically allocated. If your server crashes or shows other signs, this is a bug. Please file a bug report.
You may also want to add the following line to the ServerFlags section of your xorg.conf file:
Option "AllowEmptyInput" "True"
X refuses to start if the initialization of the core pointer input driver fails. You can add the line:
Option "AllowMouseOpenFail"
to the "ServerFlags"
section to prevent this. However the better solution is to use the void
driver as driver for the mouse input device.
IDEA: Dual head setup and configuration issues