Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I already configured XDG_TEMPLATES_DIR field in ~/.config/user-dirs.dir ,

The folder is absolute path, and accessible, with several files inside.

But when I right click, the "Create Document" menu is still empty. Is there something I missed?


%> grep TEMP ~/.config/user-dirs.dir

And that path exists and have files inside.

share|improve this question
Does the entry in user.dirs.dir look like this: XDG_TEMPLATES_DIR="$HOME/Templates" ? – Keith May 11 '12 at 6:27
@Keith please check my updates – warl0ck May 11 '12 at 6:31
Try removing the trailing slash. – Keith May 11 '12 at 6:34
@Keith , no luck ... – warl0ck May 11 '12 at 6:35

1 Answer 1

up vote 1 down vote accepted

After few tries , I found xdg-user-dirs-update command , and turns on the file name should be ~/.config/user-dirs.dirs instead.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.