You are not logged in.
I cannot get gnome to set chromium as my default browser. In settings app > Default Applications > Web, chromium is not an option. However, as you can see below, chromium should be the mime default for http/https URLs.
[thomas@thomas-pc ~]$ xdg-settings get default-web-browser
chromium.desktop
[thomas@thomas-pc ~]$ xdg-mime query default x-scheme-handler/http
chromium.desktop
[thomas@thomas-pc ~]$ echo $BROWSER
[thomas@thomas-pc ~]$ xdg-mime query default text/html
chromium.desktop
[thomas@thomas-pc ~]$ cat ~/.local/share/applications/mimeapps.list
cat: /home/thomas/.local/share/applications/mimeapps.list: No such file or directory
[thomas@thomas-pc ~]$ ls ~/.config/mimeapps.list
ls: cannot access '/home/thomas/.config/mimeapps.list': No such file or directory
[thomas@thomas-pc ~]$ xdg-open http://example.com
** (epiphany:88667): WARNING **: 22:19:00.847: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
...proceeds to open epiphanyI've also searched for various other places where mimeapps.list could be, but I cannot find it.
Can anyone please help me out. Is there anything I'm missing?
Offline
[thomas@thomas-pc ~]$ ls ~/.config/mimeapps.list
ls: cannot access '/home/thomas/.config/mimeapps.list': No such file or directory
That should've been cat, not ls.
Check the following values. I use Google Chrome as my default browser. I also have Chromium installed and it used to be my default browser before Google removed account sync.
x-scheme-handler/http=chromium.desktop;google-chrome.desktop;
application/xhtml+xml=chromium.desktop;google-chrome.desktop;
x-scheme-handler/https=chromium.desktop;google-chrome.desktop;
text/html=google-chrome.desktop;
text/html=google-chrome.desktop
x-scheme-handler/mailto=google-chrome.desktop
x-scheme-handler/http=google-chrome.desktop
application/xhtml+xml=google-chrome.desktop
x-scheme-handler/https=google-chrome.desktop
x-scheme-handler/webcal=google-chrome.desktopLast edited by yochananmarqos (2021-08-08 21:50:10)
Offline
[thomas@thomas-pc ~]$ ls ~/.config/mimeapps.list
ls: cannot access '/home/thomas/.config/mimeapps.list': No such file or directoryThat should've been cat, not ls.
I was just demonstrating that the file doesn't exist.
Check the following values.
Do you mean check mimeapps.list for those values, as I do not have that file, at least not in the location I would expect? But xdg-mime seems to work correctly, so could that file be in a different location now?
I installed this system today btw.
Last edited by Weissnix4711 (2021-08-08 22:15:48)
Offline
Well. then create it and add the appropriate values. See https://wiki.archlinux.org/title/XDG_MI … ons#Format
Offline
Well. then create it and add the appropriate values. See https://wiki.archlinux.org/title/XDG_MI … ons#Format
I'll try it. I wouldn't expect it to work, as xdg-mime already somehow seems to understand that chromium should be the default app. But I'll try it nonetheless and see if it makes a difference.
Offline