1

I have a very strange problem on Ubuntu 20.04. Recently, occasionally some of the standard user directories (Downloads, Music, Public, Templates) disappear and are replaced by broken symbolic links to themselves. I can't associate it with using a new package/application. The directories also disappear from the user-dirs.dirs file:

XDG_DESKTOP_DIR="$HOME/Desktop"  
XDG_DOWNLOAD_DIR="$HOME/"  
XDG_TEMPLATES_DIR="$HOME/"  
XDG_PUBLICSHARE_DIR="$HOME/"  
XDG_DOCUMENTS_DIR="$HOME/"  
XDG_MUSIC_DIR="$HOME/"  
XDG_PICTURES_DIR="$HOME/Pictures"  
XDG_VIDEOS_DIR="$HOME/Videos"

Results of ls -alh :

ls -alh screenshot

[update] I finally discovered the culprit - Okular. Every time I open a document it deletes some of the standard directories and replaces them with broken symbolic links.

0 Answers0