[openbox] Chromium Browser - xdg issue

Dana Jansens dana at orodu.net
Sun Sep 25 18:43:46 EDT 2011


On Fri, Sep 23, 2011 at 6:59 PM, Robert Orzanna <orschiro at googlemail.com> wrote:
> How must that local xdg-open script look like?

#!/bin/sh

chromium "$*"

would do something.

> But I'm still very unhappy with such a solution. I rather want to
> understand why I encounter this problem of defining chromium-browser
> as default browser with xdg.

As I understand it, xdg-open is a hack that just tries to call
gnome-open or kdesomethingorother.  And if it can't tell what desktop
you're running then good luck.  You can read the xdg-open script for
full details and insert debug prints to figure out what it is doing if
you are so inclined.

> Robert.
>
> On Thu, Sep 22, 2011 at 10:39 PM, Robert Orzanna
> <orschiro at googlemail.com> wrote:
>> Hello,
>>
>> I struggle for days to define Chromium properly as my default browser for xdg.
>>
>> The basic problem:
>>
>> xdg-open http://google.com opens a new chromium window.
>>
>> However, when I want to open links, say from zim
>> (http://localhost:8080) or thunar-dropbox (view on dropbox site)
>> nothing happens.
>>
>> I tried several things, created a defaults.list, exported the DE and
>> BROWSER variable and configured exo-open but none of the things work.
>>
>> I discussed this problem also here [1] where you can find more information.
>>
>> Also I came across this mailing list post [2] where a similar problem
>> was posted. However, adding export BROWSER=exo-open or
>> chromium-browser did not change anything.
>>
>> I hope you guys can help me out. It is really frustrating.
>
> In the worst case you can make a script called xdg-open in your path,
> that runs its parameters in chromium.
>
>> Regards,
>>
>> Robert.
>>
>> [1] https://bbs.archlinux.org/viewtopic.php?pid=993940#p993940
>> [2] http://web.archiveorange.com/archive/v/nBRx34vvAo9stLyJY9lE
>> _______________________________________________
>> openbox mailing list
>> openbox at icculus.org
>> http://icculus.org/mailman/listinfo/openbox
>>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>


More information about the openbox mailing list