Score:1

New unwanted desktop icons after 20.04 upgrade

in flag

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

nobody avatar
gh flag
`mv .config/user-dirs.dirs .config/user-dirs.dirs.bak` then `xdg-user-dirs-update`
John M. avatar
in flag
And what would that do?
EODCraft Staff avatar
cn flag
It would do what you asked to do.
nobody avatar
gh flag
the 1. renames the file, so it is not lost after all. the 2. command recreates .config/user-dirs.dirs anew
John M. avatar
in flag
So it would remove the unwanted folder icons, but leave 'Documents', 'Rubbish Bin' etc.? Honestly?
John M. avatar
in flag
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!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.