Take the 2-minute tour ×
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?

UPDATE

%> grep TEMP ~/.config/user-dirs.dir
XDG_TEMPLATES_DIR="/YY/XX/Templates/"

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.