You are not logged in.

#1 2020-10-17 09:56:13

definitellynotspammer
Member
Registered: 2016-06-07
Posts: 53

How do I set browser for URLs that are being opened using 'xdg-open'?

Firefox is already set as default browser in Plasma. What am I missing?

$ xdg-mime query default x-scheme-handler/http 
firefox.desktop
$ xdg-mime query default x-scheme-handler/https
firefox.desktop
$ xdg-open 'https://www.speedtest.net/result/c/3545ddc2-91bd-4655-9cd6-f59372ebe8f7'
Icon theme "gnome" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
command= "env WINEPREFIX=\"/home/erikas/.local/share/winbox/wine\" wine start /ProgIDOpen htmlfile %f" args= ("env WINEPREFIX=\"/home/erikas/.local/share/winbox/wine\" wine start /ProgIDOpen htmlfile %f", "https://www.speedtest.net/result/c/3545ddc2-91bd-4655-9cd6-f59372ebe8f7")
kf.kio.core: Protocol Class of url QUrl("https://www.speedtest.net/result/c/3545ddc2-91bd-4655-9cd6-f59372ebe8f7") , isn't ':local', cancelling job.
Icon theme "gnome" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Copying QUrl("https://www.speedtest.net/result/c/3545ddc2-91bd-4655-9cd6-f59372ebe8f7")  to QUrl("file:///home/erikas/.cache/kioexec/krun/17090_0/3545ddc2-91bd-4655-9cd6-f59372ebe8f7")
Telling kioexecd to watch path "/home/erikas/.cache/kioexec/krun/17090_0/3545ddc2-91bd-4655-9cd6-f59372ebe8f7" dest "https://www.speedtest.net/result/c/3545ddc2-91bd-4655-9cd6-f59372ebe8f7"
All files downloaded, will call slotRunApp shortly
EXEC "/usr/bin/env WINEPREFIX=/home/erikas/.local/share/winbox/wine wine start /ProgIDOpen htmlfile /home/erikas/.cache/kioexec/krun/17090_0/3545ddc2-91bd-4655-9cd6-f59372ebe8f7"
/usr/bin/env: ‘wine’: No such file or directory
EXEC done
^C
$ 

Offline

#2 2020-10-17 14:06:40

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How do I set browser for URLs that are being opened using 'xdg-open'?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2020-10-18 07:44:02

definitellynotspammer
Member
Registered: 2016-06-07
Posts: 53

Re: How do I set browser for URLs that are being opened using 'xdg-open'?

Thank you. However, I already added below output to the initial comment:

$ xdg-mime query default x-scheme-handler/http 
firefox.desktop
$ xdg-mime query default x-scheme-handler/https
firefox.desktop

But it is still trying to open using wine browser and not firefox.

Offline

#4 2020-10-18 10:24:28

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How do I set browser for URLs that are being opened using 'xdg-open'?

updatedb && locate firefox.desktop

Also make sure default-web-browser is set to firefox.

Last edited by Mr.Elendig (2020-10-18 10:24:40)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB