Closed Bassadin closed 2 months ago
I'm using webbrowser
python module to open the browser. In my case it uses xdg-settings get default-web-browser
command to determine the default web browser. What does the last command return in your system?
That command actually returns google-chrome.desktop
for me :)
@Bassadin What does this little Python snippet give you?
import webbrowser
b = webbrowser.get()
print(b.name)
@dsommers that one actually prints out firefox
:D
@Bassadin Okay, that's the difference then .... as on my system (RHEL-8), that snippet returns xdg-open
; which should use whatever xdg-settings
returns. The webbrowser
Python module is provided by the Python packages, so I dunno what EndeavourOS has done so it returns firefox
.
If the environment variable BROWSER exists, it is interpreted as the os.pathsep-separated list of browsers to try ahead of the platform defaults.
So make sure to set your BROWSER
env var accordingly as it takes precedence. ;)
That was it indeed! To add to it, my solution was to just set the BROWSER env var to undefined in my autostart config so that xdg-open takes over :)
Hey! Love the project. :)
My main browser is chrome and it is where I got my password manager, etc. running. However, when trying to connect to out VPN with the indicator, the SSO page is always opened with Firefox and I found no way to configure anything else. I'm running EndeavorOS with KDE Plasma 6 and have Chrome configured as my default browser there.