Il y a deux jours, j'ai redirigé mes dossiers Téléchargements, Documents, Musique, Images, Vidéos suivant la méthode 1 du cette page: https://www.numetopia.fr/deplacer-les-d ... ous-linux/
Les dossiers correspondant sont sur un disque séparé comportant la partition "Data"
Avec
Code : Tout sélectionner
gedit ~/.config/user-dirs.dirs
Code : Tout sélectionner
# 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/Bureau"
XDG_TEMPLATES_DIR="$HOME/Modèles"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOWNLOAD_DIR="$/media/minkolo/Data/TELECHARGEMENTS"
XDG_DOCUMENTS_DIR="$/media/minkolo/Data/DOCUMENTS"
XDG_MUSIC_DIR="$/media/minkolo/Data/MUSIQUE"
XDG_PICTURES_DIR="$/media/minkolo/Data/IMAGES"
XDG_VIDEOS_DIR="$/media/minkolo/Data/VIDEOS"
Ce matins, si je clique sur Documents depuis le gestionnaire de fichiers, apparaît le message:
Il y a un triangle orange vers les dossiers concernés.
Et via
Code : Tout sélectionner
gedit ~/.config/user-dirs.dirs
Code : Tout sélectionner
# 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/Bureau"
XDG_TEMPLATES_DIR="$HOME/Modèles"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"