Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: 'sensible-browser'

From: Kevin Mark <kevin.mark(at)verizon.net>
Date: Sat Jul 28 2007 - 00:14:10 EDT


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 _______|


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Jul 28 00:14:45 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:25:48 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library