Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.
Cytat: mirekc w Maj 27, 2023, 05:47:26 PMx-scheme-handler/http=thunderbird.desktop
x-scheme-handler/https=thunderbird.desktop
x-scheme-handler/chrome=thunderbird.desktop
Cytat: mirekc w Maj 27, 2023, 05:47:26 PMTo była właśnie przyczyna że linki z Telegrama próbowały mi się otwierać w Thunderbirdzie, jak to pisałem w którymś z poprzednich postów.A sam otwiera w Firefoksie, jak ma ustawione.
Cytat: mirekc w Maj 27, 2023, 03:52:52 PMWygląda że masz rację, bo u mnie też się zmieniło i teraz jest tak:Qrcze! Thunderbird (przynajmniej wersja 68.12.0 dostępna w MX 19.4) ma babola! Próbowałem w nim ustawić, żeby linki http i https otwierał w Firefoksie (i w ustawieniach jest ,,Używaj programu firefox"), a on mi w pliku /home/.config/mimeapps.list wpisuje tak:x-scheme-handler/chrome=userapp-Firefox-BDHO90.desktop
Tylko nie załapałem w którym momencie: czy po użyciu Menu -> Ustawienia -> Preferowane programy, czy po kliknięciu ,,Ustaw jako domyślną przeglądarkę" w Firefoksie. W każdym razie powiązanie jest. Póki mogę wolę korzystać z GUI, ale o tym pliku postaram się pamiętać.
x-scheme-handler/ftp=userapp-Pale Moon-I7AL90.desktop
x-scheme-handler/http=userapp-Firefox-BDHO90.desktop
x-scheme-handler/https=userapp-Firefox-BDHO90.desktop
x-scheme-handler/http=thunderbird.desktop
x-scheme-handler/https=thunderbird.desktop
x-scheme-handler/chrome=thunderbird.desktop
To była właśnie przyczyna że linki z Telegrama próbowały mi się otwierać w Thunderbirdzie, jak to pisałem w którymś z poprzednich postów.Cytat: robson75 w Maj 27, 2023, 03:27:31 PMW pliku /home/.config/mimeapps.list są zapisane informacje jaki program ma co uruchamiać, u mnie on np. tak wyglądaWygląda że masz rację, bo u mnie też się zmieniło i teraz jest tak:[Default Applications]
text/x-matlab=org.xfce.mousepad.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop
image/png=org.xfce.ristretto.desktop
image/jpeg=org.xfce.ristretto.desktop
text/plain=org.xfce.mousepad.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-ZT9611.desktop
application/xml=org.xfce.mousepad.desktop
application/octet-stream=featherpad.desktop
video/mp4=smplayer.desktop
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop
application/x-extension-keyring=featherpad.desktop
application/x-zerosize=org.xfce.mousepad.desktop
x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop
text/x-chdr=featherpad.desktop
inode/directory=xfce4-file-manager.desktop
x-scheme-handler/trash=xfce4-file-manager.desktop
image/svg+xml=org.inkscape.Inkscape.desktop
image/vnd.microsoft.icon=org.xfce.ristretto.desktop
application/json=featherpad.desktop
application/vnd.kde.kxmlguirc=org.xfce.mousepad.desktop
application/pdf=FoxitReader.desktop
application/ppdf=FoxitReader.desktop
application/pgp-signature=featherpad.desktop
application/x-designer=featherpad.desktop
text/vnd.trolltech.linguist=featherpad.desktop
application/x-ms-dos-executable=LutrisWine.desktop
image/gif=org.xfce.ristretto.desktop
application/x-wine-extension-msp=LutrisWine.desktop
application/x-msi=LutrisWine.desktop
application/x-msdos-program=LutrisWine.desktop
text/win-bat=LutrisWine.desktop
application/x-ms-shortcut=LutrisWine.desktop
text/x-ms-regedit=LutrisWine.desktop
application/x-wine-extension-ini=org.xfce.mousepad.desktop
image/x-xpixmap=featherpad.desktop
application/x-cd-image=engrampa.desktop
[Added Associations]
text/x-matlab=org.xfce.mousepad.desktop;
text/plain=featherpad.desktop;io.github.mightycreak.Diffuse.desktop;org.xfce.mousepad.desktop;
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;
text/x-log=featherpad.desktop;
image/png=pinta.desktop;gimp.desktop;shutter.desktop;org.xfce.ristretto.desktop;
image/jpeg=org.xfce.ristretto.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-1V4411.desktop;userapp-Telegram Desktop-ZT9611.desktop;
application/x-desktop=featherpad.desktop;
application/xml=org.xfce.mousepad.desktop;
application/octet-stream=featherpad.desktop;
video/mp4=smplayer.desktop;
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop;
application/x-extension-keyring=featherpad.desktop;
application/x-zerosize=org.xfce.mousepad.desktop;
text/x-systemd-unit=featherpad.desktop;
inode/directory=xfce4-file-manager.desktop;
image/svg+xml=gimp.desktop;org.inkscape.Inkscape.desktop;
text/x-chdr=featherpad.desktop;
x-scheme-handler/trash=xfce4-file-manager.desktop;
image/vnd.microsoft.icon=pinta.desktop;org.xfce.ristretto.desktop;
application/json=featherpad.desktop;
application/vnd.kde.kxmlguirc=org.xfce.mousepad.desktop;
application/pdf=epdfview.desktop;
text/x-csrc=org.xfce.mousepad.desktop;featherpad.desktop;
application/pgp-signature=featherpad.desktop;
application/x-designer=featherpad.desktop;
text/vnd.trolltech.linguist=featherpad.desktop;
application/x-ms-dos-executable=wine.desktop;
image/gif=org.xfce.ristretto.desktop;
application/x-cd-image=wine.desktop;engrampa.desktop;
application/x-wine-extension-ini=org.xfce.mousepad.desktop;
image/x-xpixmap=featherpad.desktop;
application/vnd.rar=engrampa.desktop;
x-scheme-handler/chrome=userapp-Firefox-BDHO90.desktop
x-scheme-handler/ftp=userapp-Pale Moon-I7AL90.desktop
x-scheme-handler/http=userapp-Firefox-BDHO90.desktop
x-scheme-handler/https=userapp-Firefox-BDHO90.desktop
Tylko nie załapałem w którym momencie: czy po użyciu Menu -> Ustawienia -> Preferowane programy, czy po kliknięciu ,,Ustaw jako domyślną przeglądarkę" w Firefoksie. W każdym razie powiązanie jest. Póki mogę wolę korzystać z GUI, ale o tym pliku postaram się pamiętać.[Default Applications]
text/x-matlab=org.xfce.mousepad.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop
image/png=org.xfce.ristretto.desktop
image/jpeg=org.xfce.ristretto.desktop
text/plain=org.xfce.mousepad.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-ZT9611.desktop
application/xml=org.xfce.mousepad.desktop
application/octet-stream=featherpad.desktop
video/mp4=smplayer.desktop
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop
application/x-extension-keyring=featherpad.desktop
application/x-zerosize=org.xfce.mousepad.desktop
x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop
text/x-chdr=featherpad.desktop
inode/directory=xfce4-file-manager.desktop
x-scheme-handler/trash=xfce4-file-manager.desktop
image/svg+xml=org.inkscape.Inkscape.desktop
image/vnd.microsoft.icon=org.xfce.ristretto.desktop
application/json=featherpad.desktop
application/vnd.kde.kxmlguirc=org.xfce.mousepad.desktop
application/pdf=FoxitReader.desktop
application/ppdf=FoxitReader.desktop
application/pgp-signature=featherpad.desktop
application/x-designer=featherpad.desktop
text/vnd.trolltech.linguist=featherpad.desktop
application/x-ms-dos-executable=LutrisWine.desktop
image/gif=org.xfce.ristretto.desktop
application/x-wine-extension-msp=LutrisWine.desktop
application/x-msi=LutrisWine.desktop
application/x-msdos-program=LutrisWine.desktop
text/win-bat=LutrisWine.desktop
application/x-ms-shortcut=LutrisWine.desktop
text/x-ms-regedit=LutrisWine.desktop
application/x-wine-extension-ini=org.xfce.mousepad.desktop
image/x-xpixmap=featherpad.desktop
application/x-cd-image=engrampa.desktop
[Added Associations]
text/x-matlab=org.xfce.mousepad.desktop;
text/plain=featherpad.desktop;io.github.mightycreak.Diffuse.desktop;org.xfce.mousepad.desktop;
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;
text/x-log=featherpad.desktop;
image/png=pinta.desktop;gimp.desktop;shutter.desktop;org.xfce.ristretto.desktop;
image/jpeg=org.xfce.ristretto.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-1V4411.desktop;userapp-Telegram Desktop-ZT9611.desktop;
application/x-desktop=featherpad.desktop;
application/xml=org.xfce.mousepad.desktop;
application/octet-stream=featherpad.desktop;
video/mp4=smplayer.desktop;
application/x-bittorrent=org.qbittorrent.qBittorrent.desktop;
application/x-extension-keyring=featherpad.desktop;
application/x-zerosize=org.xfce.mousepad.desktop;
text/x-systemd-unit=featherpad.desktop;
inode/directory=xfce4-file-manager.desktop;
image/svg+xml=gimp.desktop;org.inkscape.Inkscape.desktop;
text/x-chdr=featherpad.desktop;
x-scheme-handler/trash=xfce4-file-manager.desktop;
image/vnd.microsoft.icon=pinta.desktop;org.xfce.ristretto.desktop;
application/json=featherpad.desktop;
application/vnd.kde.kxmlguirc=org.xfce.mousepad.desktop;
application/pdf=epdfview.desktop;
text/x-csrc=org.xfce.mousepad.desktop;featherpad.desktop;
application/pgp-signature=featherpad.desktop;
application/x-designer=featherpad.desktop;
text/vnd.trolltech.linguist=featherpad.desktop;
application/x-ms-dos-executable=wine.desktop;
image/gif=org.xfce.ristretto.desktop;
application/x-cd-image=wine.desktop;engrampa.desktop;
application/x-wine-extension-ini=org.xfce.mousepad.desktop;
image/x-xpixmap=featherpad.desktop;
application/vnd.rar=engrampa.desktop;
Cytat: robson75 w Maj 25, 2023, 02:49:41 PMSpróbuj edytować plik /home/.config/mimeapps.list, i pozmieniać na firefox.Jesteś tego pewny? Bo u mnie jest tam takie coś:
Szczególnie te liniex-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
-scheme-handler/chrome=userapp-Firefox-BDHO90.desktop;thunderbird.desktop;userapp-Pale Moon-I7AL90.desktop;
x-scheme-handler/ftp=thunderbird.desktop;userapp-Pale Moon-I7AL90.desktop;
x-scheme-handler/http=exo-web-browser.desktop;thunderbird.desktop;userapp-Firefox-BDHO90.desktop;
x-scheme-handler/https=exo-web-browser.desktop;thunderbird.desktop;userapp-Firefox-BDHO90.desktop;
x-scheme-handler/mailto=exo-mail-reader.desktop
Użyłem ustawienia wyszukanego przez @MSki. Jak dotąd wygląda że zadziałało poprawnie (potrzebuję jeszcze trochę popracować), ale przestawienie tam nie zmienia niczego w pliku /home/.config/mimeapps.list. Może więc jednak służy on do czegoś innego?Cytat: pavroo w Maj 26, 2023, 02:19:47 PMupdate-alternatives zmienia globalne ustawienia systemowe.Ustawienie domyślnej przeglądarki powinno działać właśnie ,,na użytkownika". Każdy powinien mieć możliwość ustawienia własnej domyślnej przeglądarki. Natomiast nie jest prawdą, że dla każdej aplikacji użytkownika trzeba to ustawiać oddzielnie. Na przykład po instalacji dowolnej przeglądarki opartej na Chromium (nie tylko Ulaa) i ustawieniu jej jako domyślnej staje się ona taką dla wszystkich aplikacji użytkownika: klienta poczty, pakietów office (a mam zainstalowane trzy), czytników PDF, komunikatorów itp. Może jest jakaś egzotyka gdzie to tak nie działa, ale nie używam/nie zauważyłem. Zatem powinien też być sposób żeby przywrócić takie zachowanie dla poprzednio zainstalowanego Firefoksa ,,jednym ruchem" bez grzebania we wszystkich aplikacjach i o taki (skuteczny) sposób pytam. Update-alternatives jest nieskuteczne.
Poszczególne aplikacje mogą wybierać przeglądarkę użytkownika, dlatego trzeba w tych aplikacjach ustawić to oddzielnie.
Cytat: pavroo w Maj 26, 2023, 10:21:56 AMNie ma innej możliwości aby globalnie ustawić domyślną przeglądarkę www.Wcale nie. To ustawia domyślną przeglądarkę tylko dla tych aplikacji, które otwierając link wywołują /usr/bin/x-www-browser. Niestety nie wszystkie tak robią, a wręcz śmiem twierdzić, że większość tak nie robi.
Musisz wpisać numer odpowiadający Twoje przeglądarce i dać ENTER.
To polecenie nie zmienia nic w ustawieniach telegrama, thunderbirda lub innych aplikacjach, tylko ustawia domyślną przeglądarkę www.
Wybór Ścieżka Priorytet Status
------------------------------------------------------------
0 /usr/bin/firefox 100 tryb auto
1 /usr/bin/firefox 100 tryb ręczny
* 2 /usr/bin/mx-viewer 20 tryb ręczny
Proszę wcisnąć <enter>, aby pozostawić bieżący wybór[*]; albo wpisać wybrany numer:
Czyli domyślną przeglądarką powinien być mx-viewer, tak?