Notizie: scarica ora l'ultima versione disponibile di Thunderbird!

Autore Topic: aprire link con firefox  (Letto 2555 volte)

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline hariseldon

  • Post: 25
aprire link con firefox
« il: 19 Settembre 2010 15:50:32 »
Premetto che prima della reinstallazione di Firefox non avevo nessun problema ad aprire link URL da Thunderbird, ci cliccavo sopra e come per magia mi trovavo in Firex. Adesso invece dopo la reinstallazione (di Firefox, non di Thunderbird) ciò non è più possibile. Sia sul manuale di Thunderbird che su questo forum ho letto che basta aggiungere queste 3 righe
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox");
user_pref("network.protocol-handler.app.ftp", "/usr/bin/firefox");
nel file user.js, peccato però che questo file non esiste nella mia cartella .tunderbird (sottocartelle comprese), ho provato ad aggiungerle nel pref.js, ma la cosa non funziona. Cosa devo fare?

gianni

Offline Underpass

  • I've got fabric to sell
  • Amministratore
  • Post: 24618
    • Mozilla Italia
Re: aprire link con firefox
« Risposta #1 il: 19 Settembre 2010 17:05:47 »
Scusami, se dai il comando

Codice: [Seleziona]
which firefox
che cosa ti viene restituito?

Offline hariseldon

  • Post: 25
Re: aprire link con firefox
« Risposta #2 il: 20 Settembre 2010 10:12:45 »
il comando whic firefox restituisce /usr/bin/firefox

gianni

Offline Underpass

  • I've got fabric to sell
  • Amministratore
  • Post: 24618
    • Mozilla Italia
Re: aprire link con firefox
« Risposta #3 il: 20 Settembre 2010 10:15:41 »
Guarda, mi è capitata la stessa cosa giorni fa e non capivo il motivo: poi a un certo punto mi è venuto in mente di guardare nel menu Amministrazione --> Programmi predefiniti (uso GNOME su Debian) e ho visto che Firefox non era il browser predefinito.

A questo punto fai anche tu questo controllo: evidentemente nelle ultime versioni dei programmi Mozilla vengono onorate le impostazioni di sistema.

Offline klades

  • Moderatore
  • Post: 5788
    • http://www.nic-nac-project.org/~kaosmos
Re: aprire link con firefox
« Risposta #4 il: 20 Settembre 2010 10:23:25 »
Credo che nelle ultime versioni, per aggirare le impostazioni del sistema, bisogna mettere anche queste righe, oltre quelle indicate nel primo post:

Codice: [Seleziona]
user_pref("network.protocol-handler.expose.http", true);
user_pref("network.protocol-handler.external.http", true);
user_pref("network.protocol-handler.expose.https", true);
user_pref("network.protocol-handler.external.https", true);
user_pref("network.protocol-handler.expose.ftp", true);
user_pref("network.protocol-handler.external.ftp", true);

Queste righe vanno messe nel file user.js e se questo file non esiste va creato.

Offline hariseldon

  • Post: 25
Re: aprire link con firefox
« Risposta #5 il: 20 Settembre 2010 11:54:10 »
Come si crea il file user.js?

gianni

Offline klades

  • Moderatore
  • Post: 5788
    • http://www.nic-nac-project.org/~kaosmos
Re: aprire link con firefox
« Risposta #6 il: 20 Settembre 2010 11:59:01 »
E' un normale file di testo, quindi va bene un qualunque editor (gedit, kedit, vi, nano eccetera).

Offline hariseldon

  • Post: 25
Re: aprire link con firefox
« Risposta #7 il: 20 Settembre 2010 12:39:54 »
fatto! ...ma non funziona!

gianni

Offline hariseldon

  • Post: 25
Re: aprire link con firefox - CASO RISOLTO
« Risposta #8 il: 20 Settembre 2010 13:22:04 »
Ho trovato la soluzione su un forum di UBUNTU:

Citazione
In Thunderbird go to "Edit --> Preferences --> Advanced" in the Thunderbird menus and click on the "Config Editor" button.

Search for the following three entries:
network.protocol-handler.warn-external.http
network.protocol-handler.warn-external.https
network.protocol-handler.warn-external.ftp
Set the value of each of these three entries to true (you can do this by double-clicking on each entry)

Right click on white space in the Config Editor window and click on "New --> String".

Enter the preference name "network.protocol-handler.app.http", click on "OK" and then enter string value "/usr/bin/google-chrome".

Click "OK"

Repeat to create strings "network.protocol-handler.app.https" and "network.protocol-handler.app.ftp", both with the same value "/usr/bin/google-chrome"

Close the "about:config" window and click "OK" on the "Thunderbird Preferences" window.

Having completed these steps, the next time you click on an http, https or ftp link in Thunderbird, you will be presented with the "Launch Application" window. Press the "Choose" button on this window to select your browser of choice. This is a one-time task; having selected the browser once, links of the same type will now always be opened with the selected browser.

per farla breve, è necessario modificare il file di configurazione, è la via più diretta e sicura.

comunque, grazie per i consigli.

gianni
« Ultima modifica: 20 Settembre 2010 13:31:03 da Underpass »

Offline Underpass

  • I've got fabric to sell
  • Amministratore
  • Post: 24618
    • Mozilla Italia
Re: aprire link con firefox
« Risposta #9 il: 20 Settembre 2010 13:32:11 »
E' sempre meglio creare il file user.js per queste modifiche, come suggerito da klades.
Comunque grazie per aver condiviso la soluzione.

0 Utenti e 1 Visitatore stanno visualizzando questo topic.