I run Xubuntu (Ubuntu 22.04.3 LTS, Kernel 5.15.0-82-generic).
From earlier answers, I tried #XDG_DESKTOP_DIR="$HOME/ in ~/.config/user-dirs.dirs file but it did not work.
Also, XDG_DESKTOP_DIR="$HOME/Desktop, and creating an empty file Desktop, did not solve the problem. After the restart, there is again XDG_DESKTOP_DIR="$HOME.
Any ideas?
mv $HOME/.config/user-dirs.dirs $HOME/.config/user-dirs.dirs.bakandxdg-user-dirs-updatelogin anew. – nobody Sep 07 '23 at 15:56