Am Freitag, 4. Oktober 2019, 20:43:43 CEST schrieb Wolfgang Rosenauer:
I'm not sure how update-alternatives should be a good choice here. I think it's totally fine to have firefox and firefox-esr both having a desktop file and a menu entry.
Yes, won't argue against that.
I'm not planning on allowing even more parallel versions anyway but probably I'm missing the advantage here.
The advantage is about choice. There's one /usr/bin/firefox, that's the default, and power users are able to choose the default between the two (or even more: e.g. firefox68, firefox69, firefox70). Hence this scheme would provide real extra value with very little cost. With the current scheme, firefox-esr is always the second citizen, programs looking for /usr/bin/firefox may fail (if firefox{69} isn't installed), or may even start the wrong one... Since firefox is very picky with the profiles, that isn't always fun (e.g. there's an upgrade, but no downgrade path for existing profiles). update-alternatives was created to not force the user into a certain decision, that was done deliberately from somebody else (you!). Playing games with symlinks in /usr/local/bin and $PATH priorities, are so 90ies.. BTW, switching to firefox-esr was fine: zypper in firefox-esr # will create a new profile zypper rm MozillaFirefox # to keep the last 68 profile, just stop it, and copy it over cd ~/.mozilla/firefox cp -a xxxxxxxx.default-1515499617867/* yyyyyyyyy.default-esr68/ # and I did as root: update-alternatives --install /usr/bin/firefox firefox /usr/bin/firefox-esr 25 All looks good, thanks. Cheers, Pete -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org