Score:1

How to reinstall or download the original Ubuntu icons folder?

ng flag

I erased some of the icon folders I was not using to free up some space. As a result, it seems that I ended up erasing some predefined icons and other important files. So even when I use an icon theme that has replacements for most of the original icons, they are still missing.

I was wondering if there is any place where I can download the original Ubuntu installation icons folder and paste it on my system to fix this.

Example

Score:1
us flag

Just execute:

sudo apt install --reinstall yaru-theme-icon

This will download the icons and place them into the correct folder under /usr/share/icons/Yaru.

jaimeafmar avatar
ng flag
It's still not it. I must have erased some other type of configuration folders in the way. I'm still missing icons, and the differ according to the icon theme I choose. With Yaru they're mostly... all white?
jaimeafmar avatar
ng flag
I found this : https://askubuntu.com/questions/113225/accidentally-deleted-icons-in-usr-share-how-do-i-get-them-back
Score:0
zw flag

Reinstall all files in /usr/share by using command below:

apt-get install --reinstall $(dpkg -S /usr/share/ | sed 's/,//g' | sed 's/: \/usr\/share//g')

where:

  • dpkg -S /usr/share/ shows the list of comma-separated packages;
  • sed 's/,//g' - removes commas;
  • sed 's/: \/usr\/share//g' - removes : /usr/share in the end.

And then reboot.

Please do not change files which are controlled by APT again!
Use special user's folders like ~/.local/share/icons/ and system-wide like /usr/local/share/icons/.

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.