Chromium을 기본 브라우저로 사용한 지 약 1년 후, Linux는 자연스럽게 Firefox를 사용하도록 전환했습니다(아마 일부 업데이트 때문일 것입니다). 다시 전환하고 싶습니다. 기반으로이 답변, 나는 처형했다
xdg-mime default google-chrome.desktop text/html
검증 결과를 활용해
xdg-mime query default text/html
그러나 그것은 계속 돌아오고 있습니다 firefox.desktop
.
몇번을 실수 없이 시도해 보았는데, ~/.config/mimeapps.list
위의 첫 번째 명령을 실행했을 때 가슴이 뭉클했습니다. 그러나 응답은 여전히 존재하며 firefox.desktop
명령줄의 링크를 클릭하면 Firefox가 열립니다. 내 .firefox.desktop
mimeapps.list
분명히 뭔가가 내 설정을 무시하고 있는 것 같은데... 뭔지 아세요?
Linux jmpx19 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
고쳐 쓰다
댓글에서 제안한대로 시도해 보았습니다.
XDG_UTILS_DEBUG_LEVEL=4 xdg-mime query default text/html
그리고 얻었습니다
Checking /home/maaartinus/.config/mimeapps.list
Checking /home/maaartinus/.local/share/applications/xfce-defaults.list and /home/maaartinus/.local/share/applications/xfce-mimeinfo.cache
Checking /home/maaartinus/.local/share/applications/defaults.list and /home/maaartinus/.local/share/applications/mimeinfo.cache
Checking /usr/share/xfce4/applications/xfce-defaults.list and /usr/share/xfce4/applications/xfce-mimeinfo.cache
Checking /usr/share/xfce4/applications/defaults.list and /usr/share/xfce4/applications/mimeinfo.cache
Checking /home/maaartinus/.local/share/flatpak/exports/share/applications/xfce-defaults.list and /home/maaartinus/.local/share/flatpak/exports/share/applications/xfce-mimeinfo.cache
Checking /home/maaartinus/.local/share/flatpak/exports/share/applications/defaults.list and /home/maaartinus/.local/share/flatpak/exports/share/applications/mimeinfo.cache
Checking /var/lib/flatpak/exports/share/applications/xfce-defaults.list and /var/lib/flatpak/exports/share/applications/xfce-mimeinfo.cache
Checking /var/lib/flatpak/exports/share/applications/defaults.list and /var/lib/flatpak/exports/share/applications/mimeinfo.cache
Checking /usr/local/share/applications/xfce-defaults.list and /usr/local/share/applications/xfce-mimeinfo.cache
Checking /usr/local/share/applications/defaults.list and /usr/local/share/applications/mimeinfo.cache
Checking /usr/share/applications/xfce-defaults.list and /usr/share/applications/xfce-mimeinfo.cache
Checking /usr/share/applications/defaults.list and /usr/share/applications/mimeinfo.cache
firefox.desktop
내 /home/maaartinus/.config/mimeapps.list
모습
[Added Associations]
text/csv=libreoffice-calc.desktop;
...
text/x-csrc=xed.desktop;
[Default Applications]
text/html=google-chrome.desktop
...