Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934155 - Gnome needs to set XCURSOR_THEME environment variable?
Summary: Gnome needs to set XCURSOR_THEME environment variable?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 16:53 UTC by Stefan Salewski
Modified: 2024-06-12 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Salewski 2024-06-12 16:53:49 UTC
I am running the Gnome desktop with wayland.

Today I decided to try the new Rust Xilem GUI, which is currently under strong development and should become very popular soon, see https://github.com/linebender/xilem

When running the examples, I get the following error messages:

WARN winit::Window::set_cursor: Failed to set cursor to Default

The reason is described in

https://github.com/bevyengine/bevy/issues/4768 and

https://gitlab.alpinelinux.org/alpine/aports/-/issues/13901

Seems to occur also when the famous Rust Bevy game engine is used. Actually it is related to Rust winit, a library to provide a primitive window on the screen.

A possible fix is to define the environment variable XCURSOR_THEME as in

XCURSOR_THEME=Adwaita cargo run --example calc

I am not sure if this is something which Gentoo can fix, but a fix would be very welcome.