Re: 'sensible-browser'



Kevin Mark(kevin.mark@xxxxxxxxxxx) 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.
_______________________________________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Icedove
    ... but another problem is that it does not open the browser when ... In Gnome, icedove can piggyback on other configurations to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: how to set firefox default browser in gnome
    ... What's the correct way to set firefox default browser in gnome? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: webbrowser module bug?
    ... Reseting the default browser with the gnome default application window ... Firefox probably does the right thing by putting the quotes around ... HTML file, in the file browser or some other application which uses ...
    (comp.lang.python)
  • Re: Switch to Sarge lost browser link in Mutt
    ... More likely it is the terminal window, ... This is gnome-terminal's doing, whether running under Gnome or not. ... You need to select a browser in the Gnome control center. ... Pax vobiscum; pax cum omnibus. ...
    (Debian-User)
  • Re: sensible-browser
    ... programs that want to use a browser open a seamonkey window instead of ... firing up the gnome or kde browser? ...
    (Debian-User)