Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: 'sensible-browser'

From: Rick Pasotto <rick(at)niof.net>
Date: Sat Jul 28 2007 - 19:57:56 EDT


On Sat, Jul 28, 2007 at 12:06:12PM -0400, Wayne Topa wrote:
> 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

How do I add seamonkey to the list of alternatives?

-- 
"...to choose one's government is not necessarily to secure freedom."
	-- Friedrich Hayek (1899-1992)
    Rick Pasotto    
rick(at)niof.net    
http://www.niof.net


-- 
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 19:57:36 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:27:55 EDT


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