1

After restarting Ubuntu due to the pc crashing, I randomly see this:

enter image description here

The entire desktop is covered in icons. I cannot see them in the Desktop folder, nor move them around.

Here is the output of cat ~/.config/user-dirs.dirs

> xander@xander:~$ cat ~/.config/user-dirs.dirs
> # 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/" 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"

Is this a bug? What can I do?

I have this system: enter image description here

apg
  • 265
  • 1
    Those seems like contents of $HOME folder. Did you delete Desktop folder? – Kulfy Nov 26 '20 at 15:19
  • I saw it a moment ago, but now it doesn't show up in the search. – apg Nov 26 '20 at 15:21
  • Do I just create a new desktop folder? – apg Nov 26 '20 at 15:21
  • Yes. Also, please [edit] your question and add the output of cat ~/.config/user-dirs.dirs. – Kulfy Nov 26 '20 at 15:23
  • ok, done. I created a new Desktop folder (it somehow moved into the downloads folder). But after restarting I can still see the home files on the desktop. – apg Nov 26 '20 at 15:26
  • 2
    Run nano ~/.config/user-dirs.dirs and fix the value of XDG_DESKTOP_DIR to $HOME/Desktop. Restart the session/gnome-shell. – Kulfy Nov 26 '20 at 15:30
  • 1
    Ok that fixed it, thanks. See also https://askubuntu.com/questions/44449/ubuntu-desktop-suddenly-points-to-home-folder. – apg Nov 26 '20 at 15:31

0 Answers0