Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Code Block
languagebash
$ LANG=CxdgC xdg-user-dirs-update --force


Moving DESKTOP directory from 바탕화면 to Desktop
Moving DOWNLOAD directory from 다운로드 to Downloads
Moving TEMPLATES directory from 서식 to Templates
Moving PUBLICSHARE directory from 공개 to Public
Moving DOCUMENTS directory from 문서 to Documents
Moving MUSIC directory from 음악 to Music
Moving PICTURES directory from 사진 to Pictures
Moving VIDEOS directory from 비디오 to Videos

...

xdg-user-dirs-update 명령은 ${HOME}/.config/user-dirs.dirs 파일을 만들고 다음 내용을 채워 넣습니다. 


Code Block
# 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"

...