One day I moved the Documents directory inside the Downloads directory. I could still access it as usual, but, eventually, I ended receiving this message (also see the screenshot):
Oops! Something went wrong.
Unable to find the requested file. Please check the spelling and try again.
$ cat ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/"
I ran
gedit ~/.config/user-dirs.dirs
Rerun of
$ cat ~/.config/user-dirs.dirs
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"
Update
21st October 2019
As mentioned I moved my Music and Video files to the Home directory. So I did the re-run of gedit ~/.config/user-dirs.dirs
. Type in Documents, Music and Videos.
Everything appeared as usual. I tried restarting it and shutting down my laptop. The Music and Videos directory remains there and can be opened. Did it again:
gedit ~/.config/user-dirs.dirs
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"
Yet the Documents directory has not appeared. So the Document Directory is deleted. I will now try to use Photorec to use recover my Home Directory and files.
mv $HOME/Downloads/Documents $HOME/Documents
mv: cannot stat '/home/user/Downloads/Documents': No such file or directory
Older information:
I clicked properties on Documents everything on basic came up unknown and permissions: The permissions of "" could not be found.
Older information:
cat '/etc/xdg/user-dirs.defaults'
# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=Desktop
DOWNLOAD=Downloads
TEMPLATES=Templates
PUBLICSHARE=Public
DOCUMENTS=Documents
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
cat ~/.config/user-dirs.dirs
?~/.config/user-dirs.dirs
file to make its content look like this