Docunext


Home Folder Data Storage

October 2nd, 2009

I recently blogged about home folder configuration settings storage, and now I'm thinking about how data could be stored.

Thinking about data too, I wonder if .config is the best name for a "top level" storage folder. Maybe something generic like ".storage" might be more appropriate.

By the way, the dot (".") in front of config or storage lets the graphical user interface, the GUI, know that the folder should normally be hidden. I guess that's why its been OK for so many programs to simply dump their configurations and storage folders right into a home directory for so long.

I did a little research and found [this awesome thread at the Arch Linux Forums about putting $HOME in .home](http://bbs.archlinux.org/viewtopic.php?id=77606) where I learned about $XDG_CONFIG_HOME!

The author that thread suggests using .home as the "top level" home directory. Personally, I think that's a brilliant name for it, but I'm not too crazy about the implementation.

Another possibility found in the thread is the use of libetc.

¥

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022