[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'sensible-browser'



Kevin Mark(kevin.mark@verizon.net) is reported to have said:
> On Fri, Jul 27, 2007 at 11:57:45PM -0400, Rick Pasotto wrote:
> > The browser I have running all the time is seamonkey. How can I get
> > programs that want to use a browser open a seamonkey window instead of
> > firing up the gnome or kde browser?
> If you examine /usr/bin/sensible-browser, which is not very long, you
> see 2 things that it looks for:
> 1) the environment variable called BROWSER
> 2) the Debian 'alternative' www-browser and x-www-browser
> It check $BROWSER first and if that does not exist, it checks, if in X,
> x-www-browser. This is set by a few means. One way is to make a manual
> symlink. On my system:
> $ ls -l /etc/alternatives/x-www-browser
> lrwxrwxrwx 1 root root 16 2007-04-09 23:04 /etc/alternatives/x-www-browser -> /usr/bin/firefox
> So, 'ln -s /etc/alternatives/x-www-browser /usr/bin/seamonkey' might do
> it. I say might because, IIRC, gnome and kde sometimes overide this in
> ways that i have not investiaged.(if someone out in -user land knows the
> rest of the story, do tell).

Or do it the debian way woth update-alternatives.

 u update-alternatives --config x-www-browser

 Wayne

-- 
Real programmers don't bring brown-bag lunches.  If the vending machine
doesn't sell it, they don't eat it.  Vending machines don't sell
quiche.
_______________________________________________________



Reply to: