Closed Hofer-Julian closed 2 months ago
It should work if you replace every occurrence of firefox.desktop
with org.mozilla.firefox.desktop
. Rather than removing, it would be better to fix the tip.
That would break the instructions for f39 though, so maybe we need to have a separate instructions for f40 and f39 or below. Or update the instructions with a cryptic one-liner:
for desktop_file in /usr/share/applications/*firefox.desktop; do sed "2a\\NotShowIn=GNOME;KDE" "$desktop_file" | sudo tee "/usr/local/share/applications/$(basename $desktop_file)"; done
Unfortunately, I can not confirm that this works. This hides the fedora firefox, but also the flatpak firefox. This makes sense I think since they share the same app id.
Unfortunately, I can not confirm that this works. This hides the fedora firefox, but also the flatpak firefox. This makes sense I think since they share the same app id.
It's not supposed to, as flatpak exports are placed first in the XDG_DATA_DIRS
and have higher priority than the /usr/local
. This might be a bug somewhere (or a deliberate spec violation) :(
I've just checked the latest Silverblue F40 and it does seem to work as expected though:
/usr/local/share/applications/org.mozilla.firefox.desktop
/usr/local
override in place.I've just checked the latest Silverblue F40 and it does seem to work as expected though:
I only tried it on my local installation not a virtual machine. Maybe something is messed up on my system...
Thanks for the PR. See https://github.com/fedora-silverblue/silverblue-docs/pull/178
It doesn't work anymore with Fedora 40