Can not see mouse pointer

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jun 18 16:06:11 UTC 2019


On 6/18/19 8:16 AM, Laurentiu-Cristian Duca wrote:
> when I run startx, the mouse pointer is not visible anymore. The
> athena application
> appears on the screen but I can not press the button because it is no
> mouse on the screen.
> 
>    Any ideas on how to get mouse on the screen without calling xterm ?

Modern X servers do not draw the mouse cursor until a program sets the
cursor image.  So you should be able to get the mouse on screen with:

 - modifying the athena application to set a cursor image
 - starting the X server with the -retro flag to get the old behavior
   with the default X cursor shown at startup (see the Xserver(1) man
   page for the -retro flag)
 - running another program that sets the cursor image, such as
	xsetroot -cursor_name bogosity
   (See /usr/include/X11/cursorfont.h for the available names or
    https://www.oreilly.com/library/view/x-window-system/9780937175149/ChapterD.html
    for pictures.)

-- 
	-Alan Coopersmith-               alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - https://blogs.oracle.com/alanc


More information about the xorg mailing list