Cambiar la Ubicación de las Carpetas Personales de Linux / Ubuntu (Documentos, Música, Vídeos, etc)
Para cambiar la Ubicación de las carpetas personales (Documentos, Imágenes, Música, Escritorio…), algo muy útil si tienes una partición de Datos en NTFS (compartida con Windows por ejemplo); tenemos que editar un fichero de texto, al que podremos acceder introduciendo esto en un terminal:
gedit ~/.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/”
XDG_TEMPLATES_DIR=”$HOME/Templates”
XDG_PUBLICSHARE_DIR=”$HOME/Public”
XDG_DOCUMENTS_DIR=”$HOME/”
XDG_MUSIC_DIR=”$HOME/”
XDG_PICTURES_DIR=”$HOME/”
XDG_VIDEOS_DIR=”$HOME/Videos”
Para modificarlo lo haremos de la siguiente forma:
XDG_DESKTOP_DIR=”$media/Datos/Escritorio”
XDG_DOWNLOAD_DIR=”$media/Datos/Descargas”
XDG_TEMPLATES_DIR=”$media/Datos/Plantillas”
XDG_PUBLICSHARE_DIR=”$media/Datos/Público”
XDG_DOCUMENTS_DIR=”$media/Datos/Documentos”
XDG_MUSIC_DIR=”$media/Datos/Música”
XDG_PICTURES_DIR=”$media/Datos/Imágenes”
XDG_VIDEOS_DIR=”$media/Datos/Videos”
Por ejemplo.