Re: xdg-open drives me crazy
On Thu, 26 Jul 2018 20:21:07 +0200,
Markus Grunwald<markus@the-grue.de> wrote:
>Hello,
>
>A few programs that I use, in turn use xdg-open. With web-pages, it
>gets it completely wrong, no matter what I do:
>
>% xdg-settings get default-web-browser
>chromium.desktop
>% echo $BROWSER
>chromium
>
>
> % grep -i bin /usr/share/xfce4/helpers/chromium.desktop
>/usr/share/applications/chromium.desktop
>/usr/share/xfce4/helpers/chromium.desktop:X-XFCE-Binaries=chromium;chromium-browser;
>/usr/share/applications/chromium.desktop:Exec=/usr/bin/chromium %U
>
>
>But what does that damn thing open? Firefox...
>
>What can I do ...?
>
It looks in your output like you are using Xfce - what is set in
"Preferred Applications" under Web Browser?
also test
exo-open --launch WebBrowser
which is a Xfce specific way. See
https://docs.xfce.org/xfce/exo/preferred-applications
for more info.
-- Andreas Rönnquist
mailinglists@gusnan.se
andreas@ronnquist.net
Reply to: