Firefox not launching from menu in Fedora 40 xfce

Seem unable to launch Firefox from menu after upgrading to Fedora 40 xfce template.

Seems to have occurred before with Fedora 38 here here and here.

EDIT: Also Mozilla Thunderbird. @apparatus’ solution below works too.

I don’t recall having problems with this myself - maybe I’m getting old - so I guess it will be patched?

Also weird, KeepassXC seems to have increased font size and spacing.

FWIW, I would love a Debian-based version of Qubes, with Fedora slipped in where Debian is now. I know it can be done, but I want it out of the box.

SOLVED by @apparatus:

It seems that the name of the firefox desktop file was changed from firefox.desktop to org.mozilla.firefox.desktop so the old application entry referring to the firefox.desktop is not working.
Open the qube’s Settings → Applications, remove the old firefox entry from the right column and add new firefox entry from the left to the right column.

1 Like

Thankyou. Works well.

I would like this done automatically, however. I have a fair number of Fedora qubes. Any way to do this, or a patch from devs?

Run this command in dom0 to replace firefox.desktop app menu entry with org.mozilla.firefox.desktop for all qubes based on fedora-40-xfce template:

qvm-ls --raw-data --fields NAME,TEMPLATE | grep "|fedora-40-xfce" | awk -F '|' '{print $1}' | xargs -I % sh -c 'qvm-appmenus --get-whitelist % | sed "s/^firefox.desktop$/org.mozilla.firefox.desktop/g" | qvm-appmenus --set-whitelist - %'

You can change fedora-40-xfce with the name of your template if it’s different.

Works perfectly. Thank you for the effort.