1

successfully upgraded from 18.04 to 20.04.

Now got loads of folder icons on the desktop, including hidden folders (.bash_logout, .Xauthority, .gnome2, to name but a few). I only need links to 'Documents', 'Pictures' and 'Rubbish Bin'.

How do I remove the other 30-odd without breaking anything?

Cheers

JM

John M.
  • 31
  • mv .config/user-dirs.dirs .config/user-dirs.dirs.bak then xdg-user-dirs-update – nobody Dec 29 '21 at 15:12
  • And what would that do? – John M. Dec 29 '21 at 15:14
  • It would do what you asked to do. – EODCraft Staff Dec 29 '21 at 15:32
  • the 1. renames the file, so it is not lost after all. the 2. command recreates .config/user-dirs.dirs anew – nobody Dec 29 '21 at 15:33
  • So it would remove the unwanted folder icons, but leave 'Documents', 'Rubbish Bin' etc.? Honestly? – John M. Dec 29 '21 at 15:34
  • Big thank you to Mr/Ms 'Nobody'; the solution worked, and I now know how to add folders to the desktop by editing the ./config/user-dirs.dirs text file. And thank you for providing the extra information: I know about copying/mv-ing files, but the xdg command is new to me. Thanks again! – John M. Dec 29 '21 at 17:31

0 Answers0