Gnome needs to set XCURSOR_THEME environment variable?
Applications that are based on Winit and Smithay Client Toolkit (like many graphical apps that have a Wayland backend and are written in Rust) need the environment variable XCURSOR_THEME
to figure out which cursor theme to use, otherwise it will fail to change the cursor type within these windows.
When I run printenv
, there is no variable XCURSOR_THEME
. I'm wondering if it's the responsibility of the adwaita-icon-theme
or libxcursor
packages, that gnome
depends on, or another Gnome package, to set that environment variable? Or is the responsibility for that somewhere else entirely? Maybe a config file?
Could one of the packages in the default Alpine Gnome install can set the environment variable like so: XCURSOR_THEME=Adwaita
, since Adwaita is the default?
I've run into this issue of cursors not changing correctly when using Bevy and Egui. And have previously created an issue on Bevy's issue list (#4768).
If this is not an Alpine Gnome issue either, maybe I should turn to the Gnome org or Smithay instead?