[Pkg-lxde-maintainers] Bug#906288: StartLXDE replace XDG_DATA_DIRS
Maxwell Aguiar Silva
maxwellaguiarsilva at gmail.com
Sun Aug 30 19:04:51 BST 2020
* What led up to the situation?
When I install snaps in a freshly installed Debian 9 with LXDE. The
snaps with .desktop should be populated automatically inside the menu,
but it didn't.
* What exactly did you do (or not do) that was effective (or
After thorough investigation (logged
I discovered the /usr/bin/lxde has this line overrides all the
XDG_DATA_DIRS set by Xsession.d configuration files:
By replacing that line with a proper checking before overwriting, the
issue disappeared and all the custom paths appears in the menu properly.
if [ -z "$XDG_DATA_DIRS" ]; then
if [ -z "$(echo "$XDG_DATA_DIRS" | grep "$xdg_path")" ]; then
* What was the outcome of this action?
All custom .desktop path are properly populated without manual
* What outcome did you expect instead?
I expect all the .desktop are populated properly, without monkey
patching anything created by the package.
Currently, those UI-based snaps are quite hard to access, but not
I'm too new to debian mailing list and reportbug tool. In case of
silence, please reach me at kean.ho.chew at zoralab.com. I'm willing
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-7-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openbox-lxde-session depends on:
ii lxde-common 0.99.2-3
ii lxsession 0.5.3-2
ii openbox 3.6.1-4
openbox-lxde-session recommends no packages.
openbox-lxde-session suggests no packages.
-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-lxde-maintainers