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

Re: 'sensible-browser'



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).
-K
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:           |
| : :' :      The  Universal     |mysite.verizon.net/kevin.mark/|
| `. `'      Operating System    | go to counter.li.org and     |
|   `-    http://www.debian.org/ |    be counted! #238656       |
|  my keyserver: subkeys.pgp.net |     my NPO: cfsg.org         |
|join the new debian-community.org to help Debian!              |
|_______  Unless I ask to be CCd, assume I am subscribed _______|



Reply to: