This is on Ubuntu 24.04 and Firefox is snap. I managed to launch it up and now I would like to pin FireFox icon to Dash. Usually in prior versions, an icon of the application will show in Dash with a menu item of "Pin to Dash" when the application is running. But now, I cannot see any such icon in Dash for Firefox, so I don't know how to pin FireFox to Dash. Can you teach me how?
Environment variable
$XDG_DATA_DIRS
should point to/var/lib/snapd/desktop
which should find it.If it does point to it and the icon is not showing (and it exists in
/var/lib/snapd/desktop/applications
) then there is probably something else wrong - possibly a permission not set right. You can fix it temporarily by just copying the file as follows: -I hope this is of some help.