startlxde overrides XDG_DATA_DIRS ignoring snap/flatpak .desktop entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxde-common (Debian) |
Unknown
|
Unknown
|
|||
lxde-common (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
debian patches the script /usr/bin/startlxde to reset env variable XDG_DATA_DIRS to some preset directories. [1]
this bug
https:/
can also be fixed when creating a new file
/etc/X11/
containing
# set XDG_DATA_DIRS to include debian menu dirs
new_dirs=
export XDG_DATA_DIRS
if [ -z "$XDG_DATA_DIRS" ]; then
XDG_
else
XDG_
fi
and removing the patch
https:/
This would be more clean and match the behavior of snap as well as
/etc/X11/
thus rendering /usr/bin/lxsession or lxpanel able to find .desktop files placed beneath their respective XDG_DATA_DIRS paths.
Also icons are visible after this as well, that would be missing when just adding symlinks within
~/.local/
This bug regards binary package openbox-
[1] https:/
[2] https:/
[3] https:/
[4] https:/