You are not logged in.
Hi!
I have a seriously annoying problem. Whenever I try to open a link outside Chromium, it'll start anything but Chromium. I tidied up everything concerning mime types, everything's set to chromium.desktop, nothing else. Yet links just wouldn't open in Chromium. As a last resort I deleted every other web browsers. Now the links are opened in Links (the command line web browser). I just can't wrap my head around this, it doesn't make any sense.
I went through the Wikis several times, read many forums but everything tells me there's nothing else to do.
I can see only one error message, the command
xdg-settings set default-web-browser chromium.desktopgives me the message
xdg-mime: malformed argument 'chromium.desktop;', expected *.desktop
Try 'xdg-mime --help' for more information.I tried to find what this means but I couldn't.
I'm using Openbox, everything's up to date. Chromium says it's not the default browser. This problem exists for... well, it's here as long as I can remember actually, only I never opened links from other apps before but these days I do that a lot and I want them to be opened in Chromium. Thunderbird is the only exception, the links there open in Chromium and I didn't even have to set any custom strings in its config editor; it just works.
Any idea what should I do? What can I do?
Last edited by freyr (2016-01-02 08:39:51)
What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?
Offline
Hmm is it a problem your of shell / terminal? ';' in 'chromium.desktop;' of the error is suspicious. Btw works fine here:
[tom@localhost ~]$ cat .local/share/applications/mimeapps.list
[Default Applications]
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
[tom@localhost ~]$ xdg-settings set default-web-browser chromium.desktop
[tom@localhost ~]$ cat .local/share/applications/mimeapps.list
[Default Applications]
text/html=chromium.desktop
x-scheme-handler/http=chromium.desktop
x-scheme-handler/https=chromium.desktop
x-scheme-handler/about=chromium.desktop
x-scheme-handler/unknown=chromium.desktop
[tom@localhost ~]$ xdg-settings set default-web-browser firefox.desktop
[tom@localhost ~]$ cat .local/share/applications/mimeapps.list
[Default Applications]
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktopLast edited by tom.ty89 (2016-01-02 06:35:50)
Offline
Hmm is it a problem your of shell / terminal? ';' in 'chromium.desktop;' of the error is suspicious. Btw works fine here:
[tom@localhost ~]$ cat .local/share/applications/mimeapps.list [Default Applications] text/html=firefox.desktop x-scheme-handler/http=firefox.desktop x-scheme-handler/https=firefox.desktop x-scheme-handler/about=firefox.desktop x-scheme-handler/unknown=firefox.desktop [tom@localhost ~]$ xdg-settings set default-web-browser chromium.desktop [tom@localhost ~]$ cat .local/share/applications/mimeapps.list [Default Applications] text/html=chromium.desktop x-scheme-handler/http=chromium.desktop x-scheme-handler/https=chromium.desktop x-scheme-handler/about=chromium.desktop x-scheme-handler/unknown=chromium.desktop [tom@localhost ~]$ xdg-settings set default-web-browser firefox.desktop [tom@localhost ~]$ cat .local/share/applications/mimeapps.list [Default Applications] text/html=firefox.desktop x-scheme-handler/http=firefox.desktop x-scheme-handler/https=firefox.desktop x-scheme-handler/about=firefox.desktop x-scheme-handler/unknown=firefox.desktop
o.O
Could it be that simple? No semicolon at the end of the lines? Never thought of that. Thanks!
I removed them, but in .local/share/applications/mimeapps.list was not enough, I had to remove them in .config/mimeapps.list too.
Now it's working.
But why are semicolons there if they are not needed? I'm sure I didn't put them there.
Last edited by freyr (2016-01-02 08:36:55)
What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?
Offline