GNOME - jak ustawić Chrome jako domyślną przeglądarkę?


(Ovitz Pl) #1

Cześć wszystkim,

Od niedawna zacząłem korzystać z Fedory 17 i mam taki problem. Zainstalowałem Chrome i wywaliłem Firefoxa, gdy odpalam Chrome to za każdym razem pyta się mnie czy ustawić go jako domyślną przeglądarkę, mimo że klikam opcję aby to robił to tak się nie dzieje. Nawet w ustawieniach system domyślnych aplikacji nie mam żadnej przeglądarki do wyboru. Ktoś wie jak to naprawić?


(marcin82) #2

Podaj wynik polecenia:

ls -al /etc/alternatives

(Ovitz Pl) #3
total 16

drwxr-xr-x. 2 root root 4096 10-23 10:57 .

drwxr-xr-x. 125 root root 12288 10-23 19:43 ..

lrwxrwxrwx. 1 root root 15 10-21 19:06 cdda2wav -> /usr/bin/icedax

lrwxrwxrwx. 1 root root 31 10-21 19:06 cdda2wav-cdda2wavman -> /usr/share/man/man1/icedax.1.gz

lrwxrwxrwx. 1 root root 14 10-21 19:06 cdrecord -> /usr/bin/wodim

lrwxrwxrwx. 1 root root 30 10-21 19:06 cdrecord-cdrecordman -> /usr/share/man/man1/wodim.1.gz

lrwxrwxrwx. 1 root root 14 10-21 19:06 cdrecord-dvdrecord -> /usr/bin/wodim

lrwxrwxrwx. 1 root root 30 10-21 19:06 cdrecord-dvdrecordman -> /usr/share/man/man1/wodim.1.gz

lrwxrwxrwx. 1 root root 15 10-21 19:06 cdrecord-readcd -> /usr/bin/readom

lrwxrwxrwx. 1 root root 31 10-21 19:06 cdrecord-readcdman -> /usr/share/man/man1/readom.1.gz

lrwxrwxrwx. 1 root root 46 10-23 10:57 java -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java

lrwxrwxrwx. 1 root root 48 10-23 10:57 java.1.gz -> /usr/share/man/man1/java-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 37 10-23 10:57 jre -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 37 10-23 10:57 jre_1.7.0 -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 45 10-23 10:57 jre_1.7.0_exports -> /usr/lib/jvm-exports/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 45 10-23 10:57 jre_exports -> /usr/lib/jvm-exports/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 37 10-23 10:57 jre_openjdk -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 45 10-23 10:57 jre_openjdk_exports -> /usr/lib/jvm-exports/jre-1.7.0-openjdk.x86_64

lrwxrwxrwx. 1 root root 49 10-23 10:57 keytool -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/keytool

lrwxrwxrwx. 1 root root 51 10-23 10:57 keytool.1.gz -> /usr/share/man/man1/keytool-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 15 10-21 18:55 ld -> /usr/bin/ld.bfd

lrwxrwxrwx. 1 root root 20 10-21 19:06 mkisofs -> /usr/bin/genisoimage

lrwxrwxrwx. 1 root root 20 10-21 19:06 mkisofs-mkhybrid -> /usr/bin/genisoimage

lrwxrwxrwx. 1 root root 36 10-21 19:06 mkisofs-mkhybridman -> /usr/share/man/man1/genisoimage.1.gz

lrwxrwxrwx. 1 root root 36 10-21 19:06 mkisofs-mkisofsman -> /usr/share/man/man1/genisoimage.1.gz

lrwxrwxrwx. 1 root root 27 10-21 19:09 mta -> /usr/sbin/sendmail.sendmail

lrwxrwxrwx. 1 root root 41 10-21 19:09 mta-aliasesman -> /usr/share/man/man5/aliases.sendmail.5.gz

lrwxrwxrwx. 1 root root 23 10-21 19:09 mta-mailq -> /usr/bin/mailq.sendmail

lrwxrwxrwx. 1 root root 39 10-21 19:09 mta-mailqman -> /usr/share/man/man1/mailq.sendmail.1.gz

lrwxrwxrwx. 1 root root 28 10-21 19:09 mta-newaliases -> /usr/bin/newaliases.sendmail

lrwxrwxrwx. 1 root root 44 10-21 19:09 mta-newaliasesman -> /usr/share/man/man1/newaliases.sendmail.1.gz

lrwxrwxrwx. 1 root root 24 10-21 19:09 mta-pam -> /etc/pam.d/smtp.sendmail

lrwxrwxrwx. 1 root root 23 10-21 19:09 mta-rmail -> /usr/bin/rmail.sendmail

lrwxrwxrwx. 1 root root 39 10-21 19:09 mta-rmailman -> /usr/share/man/man8/rmail.sendmail.8.gz

lrwxrwxrwx. 1 root root 26 10-21 19:09 mta-sendmail -> /usr/lib/sendmail.sendmail

lrwxrwxrwx. 1 root root 42 10-21 19:09 mta-sendmailman -> /usr/share/man/man8/sendmail.sendmail.8.gz

lrwxrwxrwx. 1 root root 46 10-23 10:57 orbd -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/orbd

lrwxrwxrwx. 1 root root 48 10-23 10:57 orbd.1.gz -> /usr/share/man/man1/orbd-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 49 10-23 10:57 pack200 -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/pack200

lrwxrwxrwx. 1 root root 51 10-23 10:57 pack200.1.gz -> /usr/share/man/man1/pack200-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 17 10-21 18:58 print -> /usr/bin/lpr.cups

lrwxrwxrwx. 1 root root 20 10-21 18:58 print-cancel -> /usr/bin/cancel.cups

lrwxrwxrwx. 1 root root 36 10-21 18:58 print-cancelman -> /usr/share/man/man1/cancel-cups.1.gz

lrwxrwxrwx. 1 root root 16 10-21 18:58 print-lp -> /usr/bin/lp.cups

lrwxrwxrwx. 1 root root 18 10-21 18:58 print-lpc -> /usr/sbin/lpc.cups

lrwxrwxrwx. 1 root root 33 10-21 18:58 print-lpcman -> /usr/share/man/man8/lpc-cups.8.gz

lrwxrwxrwx. 1 root root 32 10-21 18:58 print-lpman -> /usr/share/man/man1/lp-cups.1.gz

lrwxrwxrwx. 1 root root 17 10-21 18:58 print-lpq -> /usr/bin/lpq.cups

lrwxrwxrwx. 1 root root 33 10-21 18:58 print-lpqman -> /usr/share/man/man1/lpq-cups.1.gz

lrwxrwxrwx. 1 root root 18 10-21 18:58 print-lprm -> /usr/bin/lprm.cups

lrwxrwxrwx. 1 root root 33 10-21 18:58 print-lprman -> /usr/share/man/man1/lpr-cups.1.gz

lrwxrwxrwx. 1 root root 34 10-21 18:58 print-lprmman -> /usr/share/man/man1/lprm-cups.1.gz

lrwxrwxrwx. 1 root root 20 10-21 18:58 print-lpstat -> /usr/bin/lpstat.cups

lrwxrwxrwx. 1 root root 36 10-21 18:58 print-lpstatman -> /usr/share/man/man1/lpstat-cups.1.gz

lrwxrwxrwx. 1 root root 46 10-23 10:57 rmid -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/rmid

lrwxrwxrwx. 1 root root 48 10-23 10:57 rmid.1.gz -> /usr/share/man/man1/rmid-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 53 10-23 10:57 rmiregistry -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/rmiregistry

lrwxrwxrwx. 1 root root 55 10-23 10:57 rmiregistry.1.gz -> /usr/share/man/man1/rmiregistry-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 52 10-23 10:57 servertool -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/servertool

lrwxrwxrwx. 1 root root 54 10-23 10:57 servertool.1.gz -> /usr/share/man/man1/servertool-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 51 10-23 10:57 tnameserv -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/tnameserv

lrwxrwxrwx. 1 root root 53 10-23 10:57 tnameserv.1.gz -> /usr/share/man/man1/tnameserv-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 51 10-23 10:57 unpack200 -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/unpack200

lrwxrwxrwx. 1 root root 53 10-23 10:57 unpack200.1.gz -> /usr/share/man/man1/unpack200-java-1.7.0-openjdk.1.gz

lrwxrwxrwx. 1 root root 22 10-22 10:26 unrar -> /usr/bin/unrar-nonfree

lrwxrwxrwx. 1 root root 38 10-22 10:26 unrar.1.gz -> /usr/share/man/man1/unrar-nonfree.1.gz

lrwxrwxrwx. 1 root root 33 10-21 18:58 xinputrc -> /etc/X11/xinit/xinput.d/ibus.conf

(marcin82) #4

Zainstaluj jeszcze raz Firefoxa i podaj wynik polecenia:

ls -al /etc/alternatives

Można to spokojnie dowiązać ręcznie, tylko w systemie musi być obecna nadrzędna kategoria, nazwana na przykład /usr/bin/x-www-browser. Jak to wygląda w praktyce - zajrzyj tutaj - ostatni komentarz:

http://debian.linux.pl/entries/151-Fire ... C4%99ziach .