<br><br><div class="gmail_quote">On Fri, Sep 23, 2011 at 17:59, Robert Orzanna <span dir="ltr">&lt;<a href="mailto:orschiro@googlemail.com">orschiro@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
How must that local xdg-open script look like?<br>
<br>
But I&#39;m still very unhappy with such a solution. I rather want to<br>
understand why I encounter this problem of defining chromium-browser<br>
as default browser with xdg.<br>
<br>
Robert.<br>
<div class="im"><br>
On Thu, Sep 22, 2011 at 10:39 PM, Robert Orzanna<br>
</div><div class="im">&lt;orschiro at <a href="http://googlemail.com" target="_blank">googlemail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I struggle for days to define Chromium properly as my default browser for xdg.<br>
&gt;<br>
&gt; The basic problem:<br>
&gt;<br>
&gt; xdg-open <a href="http://google.com" target="_blank">http://google.com</a> opens a new chromium window.<br>
&gt;<br>
&gt; However, when I want to open links, say from zim<br>
&gt; (<a href="http://localhost:8080" target="_blank">http://localhost:8080</a>) or thunar-dropbox (view on dropbox site)<br>
&gt; nothing happens.<br>
&gt;<br>
&gt; I tried several things, created a defaults.list, exported the DE and<br>
&gt; BROWSER variable and configured exo-open but none of the things work.<br>
&gt;<br>
&gt; I discussed this problem also here [1] where you can find more information.<br>
&gt;<br>
&gt; Also I came across this mailing list post [2] where a similar problem<br>
&gt; was posted. However, adding export BROWSER=exo-open or<br>
&gt; chromium-browser did not change anything.<br>
&gt;<br>
&gt; I hope you guys can help me out. It is really frustrating.<br>
<br>
</div><div class="im">In the worst case you can make a script called xdg-open in your path,<br>
that runs its parameters in chromium.<br>
<br>
</div><div class="im">&gt; Regards,<br>
&gt;<br>
&gt; Robert.<br>
&gt;<br>
&gt; [1] <a href="https://bbs.archlinux.org/viewtopic.php?pid=993940#p993940" target="_blank">https://bbs.archlinux.org/viewtopic.php?pid=993940#p993940</a><br>
&gt; [2] <a href="http://web.archiveorange.com/archive/v/nBRx34vvAo9stLyJY9lE" target="_blank">http://web.archiveorange.com/archive/v/nBRx34vvAo9stLyJY9lE</a><br>
&gt; _______________________________________________<br>
&gt; openbox mailing list<br>
</div>&gt; openbox at <a href="http://icculus.org" target="_blank">icculus.org</a><br>
<div><div></div><div class="h5">&gt; <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
&gt;<br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br>I noticed you&#39;ve discussed the topic on the arch linux forums (I didn&#39;t read the forum thread) so I have some suggestions. If you&#39;re using Arch try installing mimeo ( <a href="https://aur.archlinux.org/packages.php?ID=32911">https://aur.archlinux.org/packages.php?ID=32911</a> ) from the AUR. It allows one to set their defualt mime types in desktop files located in the  ~/.local/share/applications or ~/.local/share/mime folders in your home directory. xdg-open uses desktop configuration files stored in /usr/share/applications (at least on Arch) to determine which program to use for a specific mime type. For zim there is an options in the preferences dialog under applications to set up your file browser, web browser, email client, and text editor. It comes up showing xdg default but you can set the apllication you wish to use by clicking on the double arrow on the right side of each option. As for thunar and dropbox, you should be able to set a custom action by using the dialog under Edit; configure custom action dialog.<div>
<br></div><div>As I said, I didn&#39;t read the forum thread, but the combination of mimeo and configure custom actions in thunar have taken care of my needs on Arch.</div><div><br></div><div>Myra Nelson<br clear="all"><div>
<br></div>-- <br>Life&#39;s fun when your sick and psychotic!<br>
</div>