Go to content

geek_stuff/server & linux

한글 우분투의 기본 디렉토리 이름 바꾸기

$vi ~/.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/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

저장 후 아래 명령 실행
mv ~/바탕화면 ~/Desktop
mv ~/다운로드 ~/Downloads
mv ~/템플릿 ~/Templates
mv ~/공개 ~/Public
mv ~/문서 ~/Documents
mv ~/음악 ~/Music
mv ~/사진 ~/Pictures
mv ~/비디오 ~/Videos

리붓하면 끝~!