I am having trouble with the mouse cursor changing theme when hovering the GUI for the application “nomachine” (a remote desktop client, installed from AUR). It looks like it is reverting to the Adwaita theme cursor, and also a very small size. So when I move the cursor in and out from the “nomachine” window on the desktop, the cursor keeps shifting theme and size. I wonder if there is any way to fix this awkward behavior?
This is the “nomachine” app info in pamac (just for reference):
That’s a GTK application. Check the file ~/.config/gtk-3.0/settings.ini. It will contain a line for your cursor. Make sure it is set to the same cursor theme as you use for Plasma and KDE applications.
But the file reverts back by itself to what it was after I have saved it (and logging out and in). Anyway, it didn’t change anything. Also, I have other GTK-apps installed (e.g. gedit). There is no problem with the cursor theme in there.
You could also try setting the icon theme for the entire system in /usr/share/icons/default/index.theme
I have found that occasionally my cursor reverts to adwaita when hovering over the Plasma desktop and some applications if not set there. I had to create the file manually on some of my systems. For example, my index.theme simply contains:
Strange behavior. If I go into the KDE System Settings, and change the cursor theme to some other theme (no mater what, just some other theme). Then it is OK with the nomachine GUI. But if I log out and log in again, then the problem is back (also with other cursor themes).
This behavior also repeats if I close and restart nomachine. So, something with the cursor theme is resetting that not respects the KDE theme setting when launching nomachine.
Also, when looking closely to the nomachine cursor it appears to be the theme “KDE Classic” cursor theme (not the “Adwaita” theme).
Tried this, to force icon theme in nomachine:
$ XCURSOR_THEME=Oxygen_White /usr/NX/bin/nxplayer
Did not make any difference.