Jeff Abrahamson on 27 Dec 2003 09:00:03 -0500


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

Re: [PLUG] gnome-terminal and opening URL's


On Thu, Dec 25, 2003 at 10:47:44PM -0500, Stephen Gran wrote:
>   [23 lines, 177 words, 1227 characters]  Top characters: -etonsai
> 
> On Thu, Dec 25, 2003 at 10:11:27PM -0500, Jeff Abrahamson said:
> > gnome-terminal 2.4.2, unlike it's old 1.4 counterpart, wants to open
> > http URL's in lynx in a new gnome-terminal.  That's not what I want.
> > (If it's going to assume X, then I want galeon or mozilla.)
> > 
> > Alas, it also no longer pays attention to .gnome/Gnome, and .gnome2
> > has no such file.  And there's no GUI way to set it apparently.  And
> > google shows many other confused people but no answer that I've found.
> > 
> > Anyone else figured this out?
> 
> GNOME calls the program /usr/bin/sensible-browser to open a 'sensible
> browser' for you.  It sounds like, from reading the code quickly, you
> don't have an alternative for x-www-browser.  man update-alternatives
> for how to set it.  Look in /etc/alternatives for other examples of the
> kinds of thing this system handles.

Gosh, that's a confusing program.

Anyway, I did this:

    update-alternatives --install /usr/bin//sensible-browser x-www-browser /usr/bin/mozilla 90
    asterix:~# update-alternatives --config x-www-browser

    There is only 1 program which provides x-www-browser
    (/usr/bin/mozilla). Nothing to configure.
    asterix:~# update-alternatives --display x-www-browser
    x-www-browser - status is auto.
     link currently points to /usr/bin/mozilla
    /usr/bin/mozilla - priority 90
    Current `best' version is /usr/bin/mozilla.
    asterix:~# 

But gnome-terminal still picks lynx, even if I start a new one (which
I shouldn't have to do, anyway, since it's just calling
sensible-browser, right?)

Hmm, but sensible-browser would try to call /usr/bin/x-www-browser,
which doesn't exist.  I must have messed up the install line above,
but I sure don't see what it wants, and I haven't found any examples
online.

Thoughts?

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: pgpznKjCduO1e.pgp
Description: PGP signature