Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198027 > unrolled thread
| Started by | Markus Grunwald <markus@the-grue.de> |
|---|---|
| First post | 2018-07-26 20:40 +0200 |
| Last post | 2018-07-27 23:30 +0200 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.user
xdg-open drives me crazy Markus Grunwald <markus@the-grue.de> - 2018-07-26 20:40 +0200
Re: xdg-open drives me crazy deloptes <deloptes@gmail.com> - 2018-07-26 20:50 +0200
Re: xdg-open drives me crazy Markus Grunwald <markus@the-grue.de> - 2018-07-26 21:00 +0200
Re: xdg-open drives me crazy Andreas Ronnquist <mailinglists@gusnan.se> - 2018-07-26 21:10 +0200
Re: xdg-open drives me crazy Markus Grunwald <markus@the-grue.de> - 2018-07-26 21:10 +0200
Re: xdg-open drives me crazy John Crawley <john@bunsenlabs.org> - 2018-07-27 03:20 +0200
Re: xdg-open drives me crazy Curt <curty@free.fr> - 2018-07-27 10:20 +0200
Re: xdg-open drives me crazy Markus Grunwald <markus@the-grue.de> - 2018-07-27 23:30 +0200
| From | Markus Grunwald <markus@the-grue.de> |
|---|---|
| Date | 2018-07-26 20:40 +0200 |
| Subject | xdg-open drives me crazy |
| Message-ID | <wfTl7-69c-5@gated-at.bofh.it> |
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 ...? -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg
[toc] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2018-07-26 20:50 +0200 |
| Message-ID | <wfTuN-6cN-1@gated-at.bofh.it> |
| In reply to | #198027 |
Markus Grunwald wrote: > But what does that damn thing open? Firefox... > > What can I do ...? Look at update-alternatives update-alternatives --install /etc/alternatives/firefox x-www-browser /opt/custom/firefox/firefox 300 update-alternatives --set x-www-browser /opt/custom/firefox/firefox regards
[toc] | [prev] | [next] | [standalone]
| From | Markus Grunwald <markus@the-grue.de> |
|---|---|
| Date | 2018-07-26 21:00 +0200 |
| Message-ID | <wfTEt-6gn-5@gated-at.bofh.it> |
| In reply to | #198028 |
Hello, > Look at update-alternatives Thanks for the hint, but the alternatives are configured correctly: # ll /usr/bin/x-www-browser lrwxrwxrwx 1 root root 31 Jul 22 2009 /usr/bin/x-www-browser -> /etc/alternatives/x-www-browser # ll /etc/alternatives/x-www-browser lrwxrwxrwx 1 root root 17 Mär 28 21:21 /etc/alternatives/x-www-browser -> /usr/bin/chromium # ll /usr/bin/chromium -rwxr-xr-x 1 root root 3754 Jun 19 14:13 /usr/bin/chromium -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg
[toc] | [prev] | [next] | [standalone]
| From | Andreas Ronnquist <mailinglists@gusnan.se> |
|---|---|
| Date | 2018-07-26 21:10 +0200 |
| Message-ID | <wfTOa-6z8-3@gated-at.bofh.it> |
| In reply to | #198027 |
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
[toc] | [prev] | [next] | [standalone]
| From | Markus Grunwald <markus@the-grue.de> |
|---|---|
| Date | 2018-07-26 21:10 +0200 |
| Message-ID | <wfTOa-6z8-11@gated-at.bofh.it> |
| In reply to | #198030 |
Hello, > It looks in your output like you are using Xfce - what is set in > "Preferred Applications" under Web Browser? Xfce is only installed on the computer. I'm using i3. -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg
[toc] | [prev] | [next] | [standalone]
| From | John Crawley <john@bunsenlabs.org> |
|---|---|
| Date | 2018-07-27 03:20 +0200 |
| Message-ID | <wfZAd-1CC-3@gated-at.bofh.it> |
| In reply to | #198027 |
On 2018-07-27 03:21, Markus Grunwald wrote: > A few programs that I use, in turn use xdg-open. With web-pages, it gets > it completely wrong, no matter what I do: > > > What can I do ...? > file $(which xdg-open) /usr/bin/xdg-open: POSIX shell script, ASCII text executable OK it's a shell script. Try the -x option to see what it's actually doing: sh -x /usr/bin/xdg-open /path/to/file.html There might be a hint there. -- John
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2018-07-27 10:20 +0200 |
| Message-ID | <wg68F-5JJ-1@gated-at.bofh.it> |
| In reply to | #198027 |
On 2018-07-26, 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: What have you done? Completely wrong is a little like completely pregnant? ;-) > % 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 ...? > What about xdg-mime default chromium.desktop text/html xdg-mime default chromium.desktop x-scheme-handler/http xdg-mime default chromium.desktop x-scheme-handler/https xdg-mime default chromium.desktop x-scheme-handler/about or editing ~/.local/share/applications/mimeapps.list directly? Just a quick stab in the darkness because it's quite hot here. -- Boris sober and Boris drunk are such different people, they’ve never even met. -- Sergei Dovlatov, Pushkin Hills
[toc] | [prev] | [next] | [standalone]
| From | Markus Grunwald <markus@the-grue.de> |
|---|---|
| Date | 2018-07-27 23:30 +0200 |
| Message-ID | <wgitc-4Qo-7@gated-at.bofh.it> |
| In reply to | #198042 |
Hello Curt, > xdg-mime default chromium.desktop text/html > xdg-mime default chromium.desktop x-scheme-handler/http > xdg-mime default chromium.desktop x-scheme-handler/https > xdg-mime default chromium.desktop x-scheme-handler/about That did the trick! Thank you very much :) cu -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web