Public bug reported:

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/snapd/desktop into environment
variable XDG_DATA_DIRS, which it doesn't do (at least under Lubuntu):

% echo $XDG_DATA_DIRS 
/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share

That's why snap-apps are not found.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.45.1+20.04
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
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.conffile..etc.sudoers.d.99-snapd.conf: [inaccessible: [Errno 13] 
Permission denied: '/etc/sudoers.d/99-snapd.conf']

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887442

Title:
  snapd not setting XDG_DATA_DIRS correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1887442/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to