
Uma rachadura na tela de toque do meu laptop e o movimento do mouse fizeram uma pasta desaparecer dos favoritos do nautilus (TOP): Home, Downloads, Imagens, etc. Provavelmente mudou minha pasta Documentos para outro lugar, o que eu consertei.
Fui atualizar ~/.config/user-dirs.dirs
, onde Documents
faltava a linha, então adicionei.
Atualizei através de:
xdg-user-dirs-update
xdg-user-dirs-gtk-update
xdg-user-dirs-update --force
e reiniciei algumas vezes, mas o diretório não volta.
Você pode ajudar?
Meu user-dirs.dirs
arquivo está assim:
# 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_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
Responder1
Você configurou XDG_DOCUMENTS_DIR="$HOME/Documents"
e, algumas linhas abaixo, configurou novamente como XDG_DOCUMENTS_DIR="$HOME/"
. A última configuração substitui efetivamente a anterior.
Basta excluir a XDG_DOCUMENTS_DIR="$HOME/"
linha e você ficará bem.