Ubuntu技巧:更改Ubuntu存放文档,图片等的默认文件夹
时间:2011-05-22 来源:UniMouS
配置文件为:~/.config/usr-dirs.dirs
(阅读此文件内容以获得更多信息)
我现在的文件内容为:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/desktop"
XDG_DOWNLOAD_DIR="$HOME/download"
XDG_DOCUMENTS_DIR="$HOME/document"
XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/picture"
XDG_SOFTWARE_DIR="$HOME/software"
XDG_STUDY_DIR="$HOME/study"
XDG_VIDEOS_DIR="$HOME/video"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
至于为什么要修改成这样,这涉及到我给自己定的文件命名规则:
1、文件名全部用小写字母(如:Document->document);
2、文件名全部不加复数(如:musics->music);
3、文件名全部使用全称(如:doc->document)。