On 19 February 2012 23:08, Hartmut Figge <h.fi...@gmx.de> wrote: > Hartmut Figge: > >>But first i should look into that ominous xdg-open. > > 'man xdg-open' didn't help much, but xdg-open is part of xdg-utils. And > there is e.g. xdg-settings. Looking into 'man xdg-settings' and then > > hafi@i5_64 ~ $ xdg-settings --list > Known properties: > default-url-scheme-handler Default handler for URL scheme > default-web-browser Default web browser > hafi@i5_64 ~ $ xdg-settings get default-web-browser > xdg-settings: unknown desktop environment > > No wonder, there is not such thing as a desktop environment here. Now it > seems that libreoffice assumes that it is run in a desktop environment. > Grmbl. > > Hartmut
xdg-open is intended to select an appropriate binary using the MIME type of the argument file. In the absence of gnome-open or kfmclient (the KDE equivalent), it's supposed to parse the files in .local to determine what to open. If you create an appropriate binding to your browser, that should do the trick (using xdg-mime, which is cumbersome but does the job).