Public bug reported:

I have Firefox installed as a snap on Kubuntu 22.04 and have a custom
.desktop file under ~/.local/share/applications that looks like
https://pastebin.ubuntu.com/p/8r3nrtwGs3/. I have pinned the application
instance corresponding to the the taskbar. Clicking that causes the icon
to change briefly to indicate that it is loading, but nothing happens
after that and the application does not launch after that.

In the output of 'journalctl -f' when this happens, I see log lines like

```
Aug 04 20:58:16 hogwarts systemd[2348]: Started 
snap.firefox.firefox-64e57f56-c36c-4bcd-9814-5dd895748d6a.scope.
Aug 04 20:58:16 hogwarts systemd[2348]: Started Canonical Firefox - Web Browser.
```

But after that there is nothing indicating what the issue might be.

As a workaround, I have tried launching the application using the same
.desktop file with the command 'kioclient5 exec
~/.local/share/applications/canonical-firefox.desktop' and that works
okay every time without fail.

'snap run firefox <all the arguments from the custom .desktop file's
Exec line>' works too.

This has been happening ever since I installed Kubuntu 22.04 on this
computer on 14 Jan 2023.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: kubuntu-desktop 1.418.1
ProcVersionSignature: Ubuntu 6.5.0-45.45~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-45-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Sun Aug  4 21:05:49 2024
InstallationDate: Installed on 2023-01-14 (568 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
SourcePackage: kubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy third-party-packages

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

Title:
  Firefox snap does not launch on clicking the .desktop file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/2076036/+subscriptions


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

Reply via email to