You are not logged in.

#1 2014-11-07 23:14:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Does setting XDG_DESKTOP_DIR to $HOME work?

Does setting e.g. XDG_DESKTOP_DIR to $HOME work? It doesn't work for me.
If, however, I set it to /home/karol, the Desktop directory doesn't get recreated when starting firefox https://support.mozilla.org/en-US/questions/985990

Can someone test it? If I'm right, I'd like to add this to https://wiki.archlinux.org/index.php/Xd … irectories

Offline

#2 2014-11-07 23:44:55

tonk
Member
Registered: 2013-05-15
Posts: 38

Re: Does setting XDG_DESKTOP_DIR to $HOME work?

XDG_DESKTOP_DIR="$HOME/"

works

XDG_DESKTOP_DIR="$HOME"

does not

Offline

#3 2014-11-08 00:40:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Does setting XDG_DESKTOP_DIR to $HOME work?

Is that a bug then?  None of the other XDG dirs require a trailing slash to work properly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2014-11-08 01:42:30

tonk
Member
Registered: 2013-05-15
Posts: 38

Re: Does setting XDG_DESKTOP_DIR to $HOME work?

I would say it's a bug in setting $HOME without trailing slash wink (yes, i know the problem with dirs and symlinks (edit: i just realized then you cant write $HOME/etc neutral))
But since the other XDG dirs are working without, yes, seems like a bug.

Last edited by tonk (2014-11-08 02:00:45)

Offline

#5 2014-11-13 22:53:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Does setting XDG_DESKTOP_DIR to $HOME work?

Is it caused by http://cgit.freedesktop.org/xdg/xdg-use … g-user-dir where Desktop gets a special treatment?

Offline

Board footer

Powered by FluxBB