PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > 'sensible-browser'
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

'sensible-browser'

Réponse
 
LinkBack Outils de la discussion
Vieux 28/07/2007, 05h00   #1
Rick Pasotto
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 'sensible-browser'

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?

--
When in doubt. . . mumble.
Rick Pasotto rick@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
  Réponse avec citation
Vieux 28/07/2007, 05h20   #2
Kevin Mark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 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
  Réponse avec citation
Vieux 28/07/2007, 06h50   #3
M-L
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 'sensible-browser'

On Saturday 28 July 2007 13:57, Rick Pasotto shared this with us all:
>--} 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?
>--}
>--} --
>--} When in doubt. . . mumble.
>--} Rick Pasotto rick@niof.net http://www.niof.net


In KDE go into Control Panel/KDE Components/File Associations/text/html and
select Seamonkey and place it at the top of your list. Directly beneath it
your second choice, beneath that your third choice...... etc., etc..

Hope that s.
Charlie

--
Registered Linux User:- 329524
+++++++++++++++++++++++++++++++++++
I had three chairs in my house; one for solitude, two for friendship, three
for society. .............................Henry David Thoreau
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>
Debian - Just the best way to do magic.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 17h40   #4
Wayne Topa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 'sensible-browser'

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

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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 18h10   #5
Larry Evans
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 'sensible-browser'

On 07/28/2007 12:50 AM, M-L wrote:
> On Saturday 28 July 2007 13:57, Rick Pasotto shared this with us all:
>> --} 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?

[snip]
>
> In KDE go into Control Panel/KDE Components/File Associations/text/html and
> select Seamonkey and place it at the top of your list. Directly beneath it
> your second choice, beneath that your third choice...... etc., etc..
>

On my desktop, toolbar, there's a "Desktop" menu which includes:
Preferences
...
Preferred Applications

From the name of "Preferred Applications" I assumed that's what
I could use to specify the default web browser. In 'Preferred
Applications' there was a 'Internet' tab which had an entry
from 'Web Browser' and 'Mail Reader'. The 'Web Browser'
entry had 'iceweasel'. However, when, in 'icedove' I clicked
on a url, the epiphany browser was used. Why wasn't the
'Preferred Applications'.'Web Browser' application used instead?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/07/2007, 01h00   #6
Rick Pasotto
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 'sensible-browser'

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@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
  Réponse avec citation
Vieux 29/07/2007, 03h10   #7
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 'sensible-browser'

On Sat, Jul 28, 2007 at 07:57:56PM -0400, Rick Pasotto wrote:
>
> How do I add seamonkey to the list of alternatives?


update-alternatives --install seamonkey x-www-browser /path/to/seamonkey 80

Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGq/dfSd75awtatOcRAkasAJwOKJjVqv9kPXcbUtdUY7AgLS9mtgCf UfSI
Flj9R2jssWks+y4YSmJWZOQ=
=vN7W
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17198 seconds with 15 queries