Bug#1141634: libxcursor does not include ~/.local/share/icons as a cursor path

[email protected] Tue, 7 Jul 2026 11:12:57 -0600 (MDT)
Newsgroups gmane.linux.debian.devel.x
Message-ID <2089858706.8568.1783444377411__48083.6150863738$1783444531$gmane$org@office.mailbox.org>
Package: libxcursor1
Version: 1:1.2.3-1build1

In the packaging data found in /debian/rules on line 10 there is:
--with-cursorpath=~/.icons:\$${datadir}/icons:/usr/share/pixmaps

This appears to include the expected ~/.icons and /usr/share/icons but not ~/.local/share/icons which is a location that modern users would expect to use for cursor themes.

I believe this is impacting other projects such as LXQt, which relies on libxcursor to determine cursor paths, causing cursor themes to not be found when placed in ~/.local/share/icons.  This undesired behavior is present in Debian 13, as well as Ubuntu 25.10 and 26.04, but is not present in non-Debian-based distros such as Fedora 44.

The "missing" themes in Debian LXQt can be made to appear by overriding the XCURSOR_PATH environment variable, further supporting the theory that the default libxcursor path list is simply missing this location.

For reference, here is the relevant bug report filed with LXQt: https://github.com/lxqt/lxqt/issues/2826#issuecomment-4896316556

My suggested change is to include ~/.local/share/icons in the cursorpath.  Whether line 10 of /debian/rules is the place to accomplish that is something that I do not have the knowledge to fully judge, but it looks like it could be.