Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Snap: improve cursor theme #2832
One issue with Qt snaps is the default cursor theme, which is a fallback theme and quite ugly. I propose the following changes to the snapcraft.yaml file to use the system cursor theme when available. Please see the following thread on the snapcraft forum for more background info and limitations of this: https://forum.snapcraft.io/t/qt-apps-and-gtk-themes-an-investigation-with-partial-success/10513
Type of change
Description and Context
To use the system cursor theme, the snap needs to connect to the appropriate plug (icon theme plug). In addition, a new stage package is required (qt5 style plugins).
Tested on a few different distros. Please see the forum thread above for details.
With this change there's no drawback, because the default fusion style is still used. Only forcing the QGTKStyle plugin (which is not done here) creates issues when the GTK2 settings are not exposed by the theme and or DE.
So this has only the benefit of using a correct mouse theme when available, if not, nothing changes. Since most users are on Ubuntu, I think this would be a great benefit.