Hallo ,
Net ubuntu i-i gesinstalleerd, ik wil graag de standaard map locaties wijzigen (desktop Documents en music),
daarvoor heb ik het bestandje user-dirs.dirs in /home/rene/.config ge-edit.
Het ziet er nu als volgt uit:
# 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_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="/mnt/DATA/My Documents"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
XDG_MUSIC_DIR="/mnt/DATA/My Music"
XDG_DESKTOP_DIR="/mnt/DATA/Desktop"
XDG_DOWNLOAD_DIR="/mnt/DATA/Desktop"
De /mnt/DATA is een NTFS partitie die gemount wordt via fstab:
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# Entry for /dev/sda3 :
UUID=6c10a59d-f419-4886-879d-5182c15ffc2a / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda4 :
UUID=37e0286f-f63b-4f77-9c9f-a123054149e1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda2 /mnt/DATA ntfs-3g defaults,locale=en_US.UTF-8 0 0
Als ik nu via Places bijv naar music ga, opent ubuntu gewoon /home/rene/Music
ipv /mnt/DATA/My Music zoals in user-dirs.dirs staat aangegeven.
Wie helpt??
Alvast bedankt