Discussion Locked

Mouse cursor Shape

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In RedHat 6.1 Linux, how to change the shape of the mouse cursor in X window ? To a standard arrow shape ?

5 replies

by Member 24601794

The cursor shape is controlled by whatever window it happens to be sitting over. To set the cursor shape for the cursor when it is not sitting in a window ( when its on the background or in the "root window" ), you can use the xsetroot command.If you want a standard cursor such as the arrow shape, you can use:

xsetroot -cursor_name

You could optionally choose "arrow", "plus", "cross", "circle", "mouse", "clock" or whatever else that might be installed on your system. If you want to create your own cursors, you can do it using:

xsetroot -cursor

where the two bitmap files are bitmap images you might have created with the "bitmap" command. You can use the bitmap command to create any cursor you want. I recommend that you use an all black bitmap file.

This discussion is closed to new replies.