summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_webapp_runs_on_wine/comment_2_f28441b18b0be90c1e58348455ce09d9._comment
blob: 9853705b3a8ce1c9dcfe0aa80b8aeda4eefe3c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawm01ida6POv7vqyUYtOlymEbJTbrImAIzM"
 nickname="Reinis"
 subject="comment 2"
 date="2013-06-14T18:49:06Z"
 content="""
Thanks! It looks like it is a xdg issue, I can reproduce it by running xdg-open manually.

Faulty file is:
[[!format sh \"\"\"
~$ grep -ri htmlfile .local/share/applications/
.local/share/applications/wine-extension-htm.desktop
~$ rm .local/share/applications/wine-extension-*
~$ locate .desktop | parallel grep -ri htmlfile {}
\"\"\"]]

Then it tried to open with /usr/bin/emacsclient! In Gnome setting Firefox is listed as default browser, but xdg-settings thinks that it is Epiphany, what a mess..

Anyways, this fixes it:
[[!format sh \"\"\"
~$ xdg-settings set default-web-browser firefox.desktop
\"\"\"]]
"""]]