Score:0

Ubuntu 23.04 invisible mouse

sk flag

System I use

I use Ubuntu 23.04 desktop and KDE.

Symptom

The mouse cursor disappears.

Circumstances

If I move the mouse I cannot see the mouse cursor itself but left click, right click and so are still work.

It happens often. No time or habit dependency. Sometimes it happens after 2 minutes sometimes after 15 minutes. Sometimes Remmina is opened sometimes only the Firefox runs.

Hardware relation

This instance of Ubuntu runs on an old imac (i even don't know its serie).

Possible clues in any log

I did check the log by using dmesg but tbh I don't know what I suppose to look for.

Any help is appreciated.

guiverc avatar
cn flag
If this is occurring over specific windows, what windows are they (ie. it maybe a pattern, eg. GTK, or *snap* windows but not Qt5/KDE for example; you may not know the toolkit/library like I'm referring to here, but what *apps* are they & provide whatever level of detail you can).. You mention KDE on 23.04; so is this a Kubuntu 23.04 install? or you've added specific packages & have only parts of Kubuntu/KDE Plasma?
supi007 avatar
sk flag
This is Ubuntu and I installed KDE by using this command: `sudo apt install kde-plasma-desktop ` Instructions came from here: https://tecadmin.net/how-to-install-kde-desktop-on-ubuntu/
Score:0
sk flag

(I don't understand what the following code does but it solves the root issue.)

Mouse cursor doesn't disappear if I apply the following solution.

If /etc/X11/xorg.conf.d/swcursor.conf doesn't exist then create it first (execute the following lines):

su -

mkdir -p /etc/X11/xorg.conf.d/ &&  touch /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'Section "Device"' >> /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'Identifier "Device0"' >> /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'Driver "intel"' >> /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'Option "AccelMethod" "uxa"' >> /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'Option "SWCursor" "on"' >> /etc/X11/xorg.conf.d/swcursor.conf &&  echo 'EndSection' >> /etc/X11/xorg.conf.d/swcursor.conf

Check the file if exists.

1.) Log out. 2.) Log in.

The key is: uxa acceleration

Possible side effect:

The cursor is anxiously blinking/repositioning.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.