Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"XDG_TEMPLATES_DIR is set to invalid path" warning is too noisy #33

Open
jleclanche opened this issue Oct 25, 2017 · 1 comment
Open

Comments

@jleclanche
Copy link
Member

From here:

g_warning("XDG_TEMPLATES_DIR is set to invalid path, ignoring it");

This seems to trigger every single time I open any libfm app, even if I properly set the variable.

Googling the warning, it's all over the place in every single pcmanfm startup log etc. Something seems wrong. I'm not sure it ever even worked? Either way, the warning should either be fixed, take a default or go away...

@yan12125
Copy link
Member

yan12125 commented Nov 8, 2017

As a workaround, I modify ~/.config/user-dirs.dirs

--- /home/yen/.config/user-dirs.dirs.orig       2017-11-08 22:19:34.022490006 +0800
+++ /home/yen/.config/user-dirs.dirs    2017-11-08 22:19:40.998958987 +0800
@@ -7,7 +7,7 @@
 # 
 XDG_DESKTOP_DIR="$HOME/Documents"
 XDG_DOWNLOAD_DIR="$HOME/Documents"
-XDG_TEMPLATES_DIR="$HOME/"
+XDG_TEMPLATES_DIR="$HOME/Documents"
 XDG_PUBLICSHARE_DIR="$HOME/"
 XDG_DOCUMENTS_DIR="$HOME/Documents"
 XDG_MUSIC_DIR="$HOME/"

Of course ~/Documents should be created beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants