Closed mckinney-subgraph closed 6 years ago
In Debian, the Adwaita theme has a postinst script that will setup /usr/share/icons/default/index.theme
with the following contents:
[Icon Theme]
Inherits=Adwaita
Will fix this issue by doing something similar with our Paper icon theme.
slurp is a tool for selection regions for taking screenshots in Sway. There is currently a problem where
slurp
cannot load the cursor theme for thecrosshair
cursor. This will cause slurp to crash:Prior to the crash, the following call is made:
NULL would normally contain the cursor theme name, which falls back to
default
if not specified. There is nodefault
theme path in Citadel. However, on other systems that lack thedefault
theme path, this call will find the configured theme instead of falling back to the default theme. So it is possible that there is something different in Citadel that is causing the problem -- so I am recording the bug here before taking it to theslurp
developer. I don't expect the cursor lookup failure in Wayland will cause problems for other things but it would be cool to make it work forslurp
.Workaround
The workaround is to copy the crosshair cursor to a path that the Wayland cursor theme loading routines expect. The following paths are expected:
/home/citadel/.icons/default/cursors/ /usr/share/icons/default/cursors/ /usr/share/pixmaps/default/cursors/ /home/citadel/.cursors/default/cursors/ /usr/share/cursors/xorg-x11/default/cursors/ /usr/share/icons/default/cursors/
An example of how to do this (note: since /home/citadel is a tmpfs, this will not persist after rebooting):