"Lei Zhang" thestig@google.com writes:
This patch attempts to set the shell folders using xdg well known directories via shell redirection. If any part of this fails, the rest of SHELL_RegisterShellFolders() should fill in the gaps.
This will still break if the user changes the drives config. I don't understand why you don't want to simply use the symlinks; why should the dirs be handled differently when they are obtained from the xdg config instead of from the current hard-coded values?