On Tue, Jun 17, 2003 at 02:30:12PM -0400, Colin Walters wrote: > On Tue, 2003-06-17 at 06:31, Bill Allombert wrote: > > > Then I have a question: If a user use both KDE and GNOME stuff in a, > > say, KDE environment, should x-www-browser always launch konqueror > > or have GNOME programs launch the GNOME browser ? > > I'm not sure what you mean; x-www-browser is just a symlink. We can't > really talk about what it should or shouldn't do depending on a > particular user's environment.
You are right, I meant sensible-browser, sorry. > If you are thinking of sensible-browser and the autodetection stuff you > mentioned earlier, there aren't really any sane defaults as far as I can > see. If the user is using both KDE and GNOME stuff, then they'll just > have to pick which browser they want to use and configure the > environment appropriately. Then as long as it is a per-user decision and not a per launcher program, I cannot find anything wrong with Joey proposal. Users have already a way to choose what browser they want ($BROWSER). If you want to implement a mechanism so that users don't have to set $BROWSER, just setup KDE and GNOME to create a ~/.sensible-browser at statup with the prefered browser to use in that environment, and let sensible-browser use it if $BROWSER is not set and if it is available. And if Joey don't want to change sensible-browser, you just need to provide a high priority alternative. Your previous proposal | If the BROWSER environment variable is not set, if the program has a | preferred browser which is installed, it may fall back to that. | Otherwise, it should use /usr/bin/x-www-browser... will be broken in this regard (GNOME apps under KDE will not launch konqueror). Of course if a program is set up to use extended feature of some browser, the issue is different, but it is not the goal of this proposal to address that. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.