Dear maintainers,

I'm using Debian 12.

I've finally found why my XDG_DATA_DIRS customizations needed to see
Guix installed applications (guix is also an official Debian package)
are not working with LXDE (but are with all other desktop managers).

As suggested in this bug thread, in /usr/bin/startlxde I've replaced

```
export
XDG_DATA_DIRS="/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/"
```

with

```
xdg_path="/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/"
if [ -z "$XDG_DATA_DIRS" ]; then
        export XDG_DATA_DIRS="$xdg_path"
else
        if [ -z "$(echo "$XDG_DATA_DIRS" | grep "$xdg_path")" ]; then
                export XDG_DATA_DIRS="${XDG_DATA_DIRS}:$xdg_path"
        fi
fi
unset xdg_path
```

and now I can see that Guix installed applications are listed in LXDE the
application menu.

Could you please consider to patch /usr/bin/startlxde for the next
release?

Thanks! Gio'


[1] https://guix.gnu.org/

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

Attachment: signature.asc
Description: PGP signature

Reply via email to