1

enter image description hereI have posted this question before but the people who were kind enough to answer did not address the problem as posed and the post is now dry - i.e. no-one addressing it. So, I repost the question, hopefully clarifying my problem:

After recently upgrading from Ubuntu 18.04 to 20.04 I found icons on my desktop that were not there before - see attached screenshot. When using Gnome-Tweaks I can remove my personal folder and the Wastebasket but the others remain and I don't know how to remove them. I should be most grateful if someone could help. Thank you.enter image description here

Duncan
  • 1,053

1 Answers1

2
  1. If you don't have a folder named Desktop in /home/username make one by, right-clicking in /home/username > New folder and naming it "Desktop" or by typing mkdir ~/Desktop in terminal.
  2. Open the .config folder in your desktop.
  3. Double click on user-dirs.dirs files.
  4. Change the XDG_DESKTOP_DIR="$HOME/" line to XDG_DESKTOP_DIR="$HOME/Desktop"
  5. Press F2 and type the command r to refresh gnome.
VidathD
  • 2,704
  • By the way you should also change that XDG_PUBLICSHARE_DIR="$HOME/" line to XDG_PUBLICSHARE_DIR="$HOME/Public"` – VidathD Jun 24 '20 at 12:42
  • Many thanks @Sasuke Uchiha - that is perfect! Just one thing you might want to add is that if there is not a "Desktop" directory in the Home directory, one will need to add it (as described by the reference vanadium gave). Thanks once again to everyone - I really appreciate your help more than I can convey (I sometimes go for days struggling with a Linux problem and then find you guys give such simple and excellent answers! - Thanks and God bless you all) – Duncan Jun 24 '20 at 12:45
  • @Duncan Ok, will do that. I didn't add that as I could see the Desktop directory in your screenshot. Stay safe. A pleasure to help you. It seems I already did once before... – VidathD Jun 24 '20 at 12:52
  • By the way, what is the "HOME/Public" directory for? Thanks. – Duncan Jun 24 '20 at 14:18
  • @Duncan Read this. https://askubuntu.com/questions/174863/what-purpose-does-the-public-folder-serve – VidathD Jun 24 '20 at 14:24