rg3/youtube-dl — comment on commit 0cd235eef674540b7001f15681c97d7dd8e6cb13
File: youtube-dl line 4133
By rbrito:

I don't know if you know that, but there is a module called `xdg` that is probably useful to use if it is present.