This desktop file contains NoDisplay=true because it is meant to be
replaced by the desktop file installed by the snap package, which lives
in /var/lib/snapd/desktop/applications/chromium_chromium.desktop. If
both were visible, desktop environment would show two entries for
chromium, which would be confusing.

I'm not familiar with LXDE/LXQt, but IĀ assume it should respect the XDG
spec by looking for desktop files under $XDG_DATA_DIRS, which snapd
patches to add /var/lib/snapd/desktop (can you confirm the value of the
environment variable does contain this path?). If it doesn't, that would
be a bug in the DE.

There is some code in the wrapper script (/usr/bin/chromium-browser)
that handles replacing existing favourites for various well-known
desktop environment (see https://bazaar.launchpad.net/~chromium-team
/chromium-browser/groovy-stable/view/head:/chromium-browser), but it
doesn't yet handle LXDE/LXQt. Contributions to implement this are very
welcome.

** Changed in: chromium-browser (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1887227

Title:
  desktop launcher for chromium invisible

Status in chromium-browser package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I was wondering why I could not launch chromium from Lubuntu desktop
  since upgrading to 20.04.

  The chromium package has been replaced by a stub package which just
  installs the chromium snap. The desktop launcher just does not show an
  entry for chromium.

  The reason might be that 
   

  /usr/share/applications/chromium-browser.desktop

  contains

  NoDisplay=true


  After removing this line, everything works fine and as normal, desktop
  launcher has an entry and it works.

  So why does that file contain that line inhibiting it's function?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: chromium-browser 83.0.4103.97-0ubuntu0.20.04.1
  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: Sat Jul 11 13:33:44 2020
  InstallationDate: Installed on 2020-06-12 (28 days ago)
  InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  Snap.Changes:
   ID   Status  Spawn                      Ready                      Summary
   15   Done    2020-07-11T00:48:29+02:00  2020-07-11T00:48:32+02:00  Connect 
chromium:password-manager-service to snapd:password-manager-service
  Snap.ChromeDriverVersion: ChromeDriver 83.0.4103.116 
(8f0c18b4dca9b6699eb629be0f51810c24fb6428-refs/branch-heads/4103@{#716})
  Snap.ChromiumVersion: Chromium 83.0.4103.116 snap
  SourcePackage: chromium-browser
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887227/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to