user-dirs.dirs is reset every boot

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Mon Jul 05, 2010 2:22 am

user-dirs.dirs is reset every boot

Postby dna100 » Mon Jul 05, 2010 2:29 am

I make changes to the config file, "~/.config/user-dirs.dirs" to set different default directories but when I reboot the file is reverted to the the original. I even experimented by setting the file with root ownership and access only but it still gets reset.

Any clues?


User avatar
Level 17
Level 17
Posts: 7650
Joined: Fri May 09, 2008 1:14 pm

Re: user-dirs.dirs is reset every boot

Postby remoulder » Wed Jul 14, 2010 10:33 am

Do you have User-Folders running in Startup Applications? If so untick it. Also changing the file directly is not a great idea, better to use something like Ubuntu Tweak to do this. Check you are still the owner and can make changes if you've been accessing it as root.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.

Level 1
Level 1
Posts: 1
Joined: Tue Jun 05, 2012 3:40 pm

Re: user-dirs.dirs is reset every boot

Postby Zon » Sun Jul 15, 2012 3:41 pm

This is old, but the first result I found while searching... so, since I figured it out...

xdg-user-dirs-update is run at startup, which checks /etc/xdg/user-dirs.conf, and if enabled=True there sets your XDG folders in accord with /etc/xdg/user-dirs.defaults

So, you can either change the defaults, or in the conf file set enabled=False (and then it will use your ~/.config/user-dirs.dirs)
When you set it how you want it, just run xdg-user-dirs-update manually (or log out & in)

Return to “XFCE”

Who is online

Users browsing this forum: No registered users and 3 guests