该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
这是我的 /etc/xdg/user-dirs.defaults:
[root@localhost home]# cat /etc/xdg/user-dirs.defaults
# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=Desktop
DOWNLOAD=Downloads
TEMPLATES=Templates
PUBLICSHARE=Public
DOCUMENTS=Documents
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
[root@localhost home]#
但在新建用户并登录后,文件名全用的是中文:
[root@localhost typhoon]# ls -l
总用量 32
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 公共的
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 模板
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 视频
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 图片
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 文档
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 下载
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:28 音乐
drwxr-xr-x. 2 typhoon typhoon 4096 1月 26 16:34 桌面
[root@localhost typhoon]#