Your message dated Sat, 22 Mar 2025 11:21:40 +0000
with message-id <[email protected]>
and subject line Bug#906288: fixed in lxde-common 0.99.3-1
has caused the Debian Bug report #906288,
regarding openbox-lxde-session: /usr/bin/startlxde overrides XDG_DATA_DIRS
making all local .desktop files unable to show on menu
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
906288: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906288
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openbox-lxde-session
Version: 0.99.2-3
Severity: normal
Dear Maintainer,
* 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
ineffective)?
After thorough investigation (logged in
https://forum.snapcraft.io/t/snaps-not-appearing-in-debian9-stretch-lxde-menu-not-wayland-bug/6866/14),
I discovered the /usr/bin/lxde has this line overrides all the
XDG_DATA_DIRS set by Xsession.d configuration files:
```
export
XDG_DATA_DIRS="/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/"
```
By replacing that line with a proper checking before overwriting, the
issue disappeared and all the custom paths appears in the menu properly.
```
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
```
* What was the outcome of this action?
All custom .desktop path are properly populated without manual
intervention.
* 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
impossible.
* p/s
I'm too new to debian mailing list and reportbug tool. In case of
silence, please reach me at [email protected]. I'm willing
to help.
-- 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),
LANGUAGE=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
--- End Message ---
--- Begin Message ---
Source: lxde-common
Source-Version: 0.99.3-1
Done: Andrew Lee (李健秋) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lxde-common, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Lee (李健秋) <[email protected]> (supplier of updated lxde-common package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 22 Mar 2025 10:47:56 +0100
Source: lxde-common
Architecture: source
Version: 0.99.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian LXDE Maintainers <[email protected]>
Changed-By: Andrew Lee (李健秋) <[email protected]>
Closes: 906288 962231
Changes:
lxde-common (0.99.3-1) unstable; urgency=medium
.
* debian/watch: update.
* New upstream version 0.99.3.
* debian/control: bump to Standards-version to 4.7.2, no changes needed.
* debian/copyright: update.
* debian/patches/04-default-binding.patch: add tiling to default key
binding. (Closes: #962231)
* debian/patches/03-menu-xdg.patch: respect user's menu customizations.
(Closes: #906288)
Checksums-Sha1:
2e3f0f1518c55aa5b478fe3df91954506ea8e8c3 2110 lxde-common_0.99.3-1.dsc
e6922f0b227337de93ec7440aa508d577aa2b046 849079 lxde-common_0.99.3.orig.tar.gz
125de4c5febd24e85856f5895e949d753523f0c2 9500
lxde-common_0.99.3-1.debian.tar.xz
35e02a678fc3eb33f6dda4ce5b4445385edd4697 8443
lxde-common_0.99.3-1_source.buildinfo
Checksums-Sha256:
5966c57aaf40a72408640e2fd2add1d7e3cabf6a5fcb9f63ab01cf8123fcd267 2110
lxde-common_0.99.3-1.dsc
e55ac4b4406f7538ed5994677c6488c6a0dd9a4b34a0969402aaa4f04b52b26f 849079
lxde-common_0.99.3.orig.tar.gz
077966dbab1807fc1503d105cef3bf40c688d8144b2b75f599bbc6d006a09a96 9500
lxde-common_0.99.3-1.debian.tar.xz
e76706e226cf8eb76669aba415b15e9d9228f7d4ab255e0157286eeee057f3ff 8443
lxde-common_0.99.3-1_source.buildinfo
Files:
384610465abd909ff432c57a4982c0d3 2110 x11 optional lxde-common_0.99.3-1.dsc
17472ef292dc6f1d5326cbb83a5ed33a 849079 x11 optional
lxde-common_0.99.3.orig.tar.gz
d7a5f8abe492d3933612e24a44479d85 9500 x11 optional
lxde-common_0.99.3-1.debian.tar.xz
4c265d279aee67e47018d79fd666dc4d 8443 x11 optional
lxde-common_0.99.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE703UlH90QYpfEyJV58vhUqwX+XMFAmfemPEACgkQ58vhUqwX
+XPARRAAqML1IhQPgUQDsRg0e91BAFcrGtig7xTMhsr6rNdETIOF0R0cra+FpAAx
hV91zSZalDX/cAiNP5s0CsVzsF84Hv46ZcifB01pV9x8YEkEq8RLXRcEDdCT+zD0
kiKBPwrN4iPJ79AwhDSpUm3jf9HzkEC2mCyhwh9UhUe668ncTtpsY+0Ei+i9q5db
vQnZ5t0TcBa3CPceMwC9SLp+Q9vA0mkBEPd+OQwqC+jJAVk8WIR05nwZHHmaj2tq
uc51LuLUkKjK5vwmei8DLGTeP+9kbwQtbIKdBWPZVJGyZLzwGrR5CMuctuaCUlrF
MoMNlVuvaAscvnxnndc61j3OMlkQFXTV4OFxH6qsTmC/Q2wnRpBsmeVEjKDHhLeV
04z9s8ZfseeJK+jx8N67XwI6iWCKlSisdOYl1YLAHtTyiICNCpfgu1uI/M7GVwD4
CLMNpPxezGkwYh2irYjEwKoOBPOegeGqqNUGJ6KLHG45BNHRIvVstvzvBqxyTE8C
HutRE/XjyCBhHx0j65F5hk/18sH9ZTtr9CLtL1MtKOxzkYoCcJT92iUbN+RNZtFF
pBZAeHjzUOZkkqtF5u+PPEmBLudQR3Ye/PvJzeD751GvPIt6Y5gscZ/aDUV4eGfZ
iXQ8xlUNaFEwuvWkrdyIWOyTSC56dmKmnnmPI43Ppm6Hb613aFE=
=qRyF
-----END PGP SIGNATURE-----
pgpzFGzEIswGG.pgp
Description: PGP signature
--- End Message ---