snapd not setting XDG_DATA_DIRS correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm just trying to figure out why Lubuntu does not offer snap-installed apps like Chromium-Browser in the desktop application launcher.
snapd is supposed to patch /var/lib/
% echo $XDG_DATA_DIRS
/usr/share/
That's why snap-apps are not found.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.45.1+20.04
ProcVersionSign
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: LXQt
Date: Tue Jul 14 00:00:29 2020
InstallationDate: Installed on 2020-06-12 (31 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
From duplicate bug #1887227, there's a known bug in LXDE that overrides XDG_DATA_DIRS (https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 906288), however I'm not sure where the value "/usr/share/ Lubuntu" comes from. This requires further investigation.