[Nix-dev] configuring xdg-open

Mathijs Kwik mathijs at bluescreen303.nl
Fri Oct 4 15:39:34 CEST 2013

Hi all,

I'm running a custom i3 desktop setup with some kde base apps.
When I click a pdf file in dolpin, kde correctly launches okular to
view the file.
However, using xdg-open to open the file leads to my web browser
(conkeror) trying to download the file.

I googled a bit on xdg-open and it seems I need to add some
configuration files to ~/.local/share to configure default
applications per mimetype.
However this did not work. Looking at my environment, it seems XDG_*
variables only point to system-wide or nix-controlled locations.

Is this by design? How should I configure this correctly?
PS: I'm using the new zsh stuff, which might be related.

Have a nice weekend,

More information about the nix-dev mailing list