The problem is that you saw a .desktop file inside the snap and assumed
that your desktop environment was using that directly.

It's not; that would be dangerous. snapd takes those .desktop files, and
sanitises and transforms them, and the resulting sanitised and
transformed files are the ones picked up by your desktop environment.

If you want to override those, you can; just don't start with the one
from inside the snap as then it will look different enough that you'll
get duplicated entries (and you'll almost certainly be running the wrong
things, in the wrong security confinement, and probably with the wrong
libraries).

Start with the files that your desktop environment uses: look in
$XDG_DATA_DIRS. On Ubuntu, you'll find the files in
/var/lib/snapd/desktop/.

I'm closing the bug as invalid because, as I've just described, you
started with the wrong premise so all your conclusions are off :-)

** Changed in: snapd (Ubuntu)
       Status: Opinion => Invalid

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

Title:
  Snap-installed .desktop items cannot be overridden

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to