On Fri, Nov 26, 2010 at 5:25 PM, Philip Ganchev <phil.ganc...@gmail.com> wrote: > Should the message for x-www-browser also mention "x-www-browser" (and > similarly for www-browser)? > > 'hep: Help is being displayed in x-www-browser, your default browser: %s' > > For symlinks, we could use the program namei (if it exists) to check > the last target in a chain of symlinks. >
The user might not know what x-www-browser is, since it gets set automatically by the debian package manager. We could let the user know how to update this link, although I am not sure if it is used on non-debian based distros. if type -f update-alternatives > /dev/null printf (_ "You may change the default browser by entering:\nupdate-alternatives --config x-www-browser") end I get the following on my debian machine when I enter: update-alternatives --config x-www-browser There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/epiphany-browser 85 auto mode 1 /usr/bin/chromium-browser 40 manual mode 2 /usr/bin/epiphany-browser 85 manual mode 3 /usr/bin/iceweasel 70 manual mode Press enter to keep the current choice[*], or type selection number: ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users