IMXYLZ

改变gnome的默认用户目录

| Comments

Fedora的个人目录都是中文的,比如桌面/模板/音乐/图片,而中文输入一直是很麻烦的事情,网上搜索了下,可以替换的, 修改~/.config/user-dirs.dirs文件即可。我的文件如下:

[xylz@xylz ~]$ cat .config/user-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_TEMPLATES_DIR=”$HOME/template”
XDG_PUBLICSHARE_DIR=”$HOME/public”
XDG_DOCUMENTS_DIR=”$HOME/document”
XDG_MUSIC_DIR=”$HOME/music”
XDG_PICTURES_DIR=”$HOME/picture”
XDG_VIDEOS_DIR=”$HOME/video”

Comments

回顶部