0

All the files that are in the home directory are showing up on my Ubuntu iterface. I created a directory called problems (last directory in the image) to put the directories that are in the home directory, that way they won't be shown on my interface. This is a image from my interface: files out of home directory

About the image: The home directory is the first directory and the problems directory is the last.

Is there a way to solve this problem?

1
  • 1
    Please add output of ls -la "$HOME/Desktop" and cat "$HOME/.config/user-dirs.dirs"
    – pLumo
    Feb 28, 2022 at 15:48

1 Answer 1

1

The files displayed on your desktop are controlled by the value of the

XDG_DESKTOP_DIR

variable, which is usually set int the config file

~/.config/user-dirs.dirs

On my system is set as follows:

XDG_DESKTOP_DIR="$HOME/Desktop"

I suggest you edit the file indicated, and set the value to be the place where you want the environment to show all the folders, shortcuts and files on your desktop.

2
  • 2
    @Community False. Looks good to me.
    – Kulfy
    Feb 28, 2022 at 16:38
  • Community Bot needs a power cycle. Feb 28, 2022 at 18:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .