Cursor theme changes when changing windows

I had changed the default cursor theme of gnome (adwaita) for a different one that I like, but in some programs the cursor changes to the default one, and the size varies according to the program, any advice to correct it?


Hi! Are you actually using Fedora 43? How did you install the extra theme?

I am currently using Fedora 43, I downloaded the cursor for Gnome themes, and installed it in the address /usr/share/icons, and changed it to the “refine” program.

Can you check if XCURSOR_PATH and XCURSOR_THEME are correctly set?

echo $XCURSOR_THEME $XCURSOR_PATH

If XCURSOR_THEME is not set, add the following line to ~/.bash_profile:

export XCURSOR_THEME=refine

If XCURSOR_PATH is not set (unlikely), add the following line to ~/.bash_profile:

export XCURSOR_PATH=${XCURSOR_PATH}:/usr/share/icons

I have tried to apply the setup in the environment, but it doesn’t seem to work, I don’t know, being that something is missing.

Can you list all installed cursor themes?

find /usr/share/icons -type d -name "cursors"

Additionally, are those apps Flatpaks?

Yes, these are the cursor themes that come:

/usr/share/icons/Adwaita/cursors
/usr/share/icons/Future Dark Cursors/cursors

Future Dark Cursors is the one I use, and yes, I installed MPV from Flatpak, like Blender.

For Flatpak apps, run the following commands:

flatpak -u override --filesystem=/usr/share/icons/:ro
flatpak -u override --env=XCURSOR_PATH=/usr/share/icons/
flatpak -u override --env=XCURSOR_THEME="Future Dark Cursors"

For non-Flatpak apps, you need to change ~/.bash_profile to

export XCURSOR_THEME="Future Dark Cursors"

It is to fix the previously added environment variables.

I have seen this issue in earlier versions of F42 as well, which got fixed in the meantime, so it looks like a recurring issue only in development branches of Fedora distributions.