Re: impostare iron come browser predefinito
On 14/02/2012 20:40, Davide Prina wrote:
forse ti conviene usare l'opzione: --install
in quale file /path../nomefile e quale riga di esempio di
browser predefinito e non per provare se manualmente può funzionare?
ho provato: (prima ho creato il link symbolic)
update-alternatives --install /etc/alternatives/iron iron
/usr/share/iron/iron
ho provato anche questo:
sudo update-alternatives --install /etc/alternatives/x-www-browser iron
/usr/share/iron/iron
per vedere se impostava qualcosa di default ma niente
anche se creo un iron symbolic link in /etc/alternatives, manca
l'impostazione x-www-browser.1 (x-www-browser.1.gz) che penso sia creata
di default al momento dell'installazione del pacchetto.
ho provato a installare anche chromium per vedere se lo trova nel 1.gz o
cercare di capire come inserirlo manualmente ma niente...
ho provato a cambiare il link simbolico x-www-browser verso iron
piuttosto che iceweasel, ma niente, evidentemente ci sono delle
impostazioni più oscure che non riesco a immaginare.
non sono abbastanza esperto per andare + a fondo, comunque grazie, si
spiega perchè la famiglia chrome, chromium e anche iron non sono in
grado di auto impostarsi come browser predefinito.
grazie
P.S.
x-www-browser.1.gz contiene questo se a qualcuno interessa:
.TH ICEWEASEL 1 "November 4, 2004" iceweasel "Linux User's Manual"
.SH NAME
iceweasel - a Web browser for X11 derived from the Mozilla browser
.SH SYNOPSIS
.B iceweasel
[\fIOPTIONS\fR] [\fIURL\fR]
.B /usr/lib/iceweasel/firefox\-bin
[\fIOPTIONS\fR] [\fIURL\fR]
.SH DESCRIPTION
\fBIceweasel\fR is an open-source web browser, designed for
standards compliance, performance and portability.
.SH USAGE
\fBiceweasel\fR is a simple shell script that will set up the
environment for the actual executable, \fBfirefox\-bin\fR.
If there is an Iceweasel browser already running, \fBiceweasel\fR will
arrange for it to create a new browser window; otherwise it will start
the Iceweasel application.
.SH OPTIONS
A summary of the options supported by \fBiceweasel\fR is included below.
.SS "X11 options"
.TP
.BI \-\-display= DISPLAY
X display to use
.TP
.B \-\-sync
Make X calls synchronous
.TP
.B \-\-no\-xshm
Don't use X shared memory extension
.TP
.BI \-\-xim\-preedit= STYLE
.TP
.BI \-\-xim\-status= STYLE
.TP
.B \-\-g\-fatal\-warnings
Make all warnings fatal
.SS "Mozilla options"
.TP
.B \-h, \-help
Show summary of options.
.TP
.B \-v, \-version
Print Iceweasel version.
.TP
\fB\-P\fR [\fIprofile\fR]
Start with \fIprofile\fR. When no profile is given, displays the Profile
Manager. May require \fB\-no\-remote\fR, see below.
.TP
.B \-migration
Start with migration wizard. May require \fB\-no\-remote\fR, see below.
.TP
.B \-ProfileManager
Start with profile manager. May require \fB\-no\-remote\fR, see below.
.TP
.B \-no\-remote
Don't connect to a running Iceweasel instance. This option can be necessary
in conjunction to several of the options above, that won't have any effect
when an Iceweasel instance is running unless \fB\-no\-remote\fR is used at
the same time.
.TP
\fB\-UILocale\fR \fIlocale\fR
Start with \fIlocale\fR resources as User Interface locale. By default,
it is
guessed from environment and available locales for Iceweasel.
.TP
.B \-safe\-mode
Starts Iceweasel in safe mode, i.e. disabling all extensions and
showing a bit more debugging messages.
.TP
.B \-jsconsole
Start with Javascript Console
.TP
\fB\-new-window\fR \fIURL\fR
Open \fIURL\fR in a new window in an already running Iceweasel process.
.TP
\fB\-new-tab\fR \fIURL\fR
Open \fIURL\fR in a new tab in an already running Iceweasel process.
.TP
\fB\-chrome\fR \fIurl\fR
Load the specified chrome.
.SS "Debugger options"
.TP
.B \-g, \-debug
Starts Iceweasel through a debugger (gdb by default).
.TP
\fB\-\-debugger\fR \fIprogram\fR
Use \fIprogram\fR as a debugger for Iceweasel. Implies \fB\-debug\fR.
.SH ENVIRONMENT
\fIICEWEASEL_DSP\fR - configures the /dev/dsp wrapper to use. Accepted
values
are "auto", "artsdsp", "esddsp", "aoss" or "none" (default).
\fIMOZILLA_DISABLE_PLUGINS\fR - when set, totally disables loading
browser plugins
(the ones that appear at the about:plugins url)
.SH FILES
\fI/usr/bin/iceweasel\fR - shell script wrapping
\fBfirefox\-bin\fR
.br
\fI/usr/lib/iceweasel/firefox\-bin\fR - \fBiceweasel\fR
executable
.br
\fI/etc/iceweasel/iceweaselrc\fR - file containing environment
variables to be passed to Iceweasel.
.br
\fI${HOME}/.mozilla/firefox/rc\fR - file containing environment variables to
be passed to Iceweasel. Overrides \fI/etc/iceweasel/iceweaselrc\fR
.SH BUGS
To report a bug, please visit \fIhttp://bugzilla.mozilla.org/\fR and/or
report bugs
to the Debian Bug Tracking System, as usual.
.SH AUTHORS
.TP
.B The Mozilla Organization
.I http://www.mozilla.org/about.html
Reply to: