Software & AppsOperating SystemLinux

Where Are Ubuntu’s Default Icons Located?

Ubuntu 18

In this article, we will explore where Ubuntu’s default icons are located. This knowledge can be useful in various scenarios such as when customizing your desktop environment or when developing an application.

Quick Answer

Ubuntu’s default icons are located in the /usr/share/icons directory. The default icon theme, called ‘Humanity’, can be found in the /usr/share/icons/Humanity directory. However, there are also other directories, such as /usr/share/unity/icons and /usr/share/pixmaps, where icons can be located.

Understanding Ubuntu’s Icon Structure

Ubuntu’s default icons are primarily located in the /usr/share/icons directory. This directory contains several subdirectories, each representing a different icon theme. The default icon theme for Ubuntu is called ‘Humanity’, and its icons can be found in the /usr/share/icons/Humanity directory.

In addition, there are other directories under /usr/share where icons can be found, such as /usr/share/unity/icons and /usr/share/pixmaps.

Locating Specific Icons

If you’re looking for a specific icon, such as the one for the Downloads folder, it can be found in the /usr/share/icons/Humanity/places/48 directory. The icon file is named folder-download.svg.

Here is how you can navigate to this directory using the terminal:

cd /usr/share/icons/Humanity/places/48

In this command, cd stands for “change directory” and is used to navigate to a specific directory in the terminal.

Restoring Deleted Icons

If you accidentally deleted an icon and want to restore it, you can do so by following these steps:

  1. Navigate to the /usr/share/icons directory.
  2. Find the appropriate icon file (for example, folder-download.svg).
  3. Copy the icon file to your clipboard.
  4. Navigate to your home directory and find the .config/gtk-3.0 folder. If it doesn’t exist, create it.
  5. Inside the gtk-3.0 folder, create a new folder named places.
  6. Paste the copied icon file into the places folder.
  7. Restart your file browser or log out and log back in to see the changes.

Here is how you can copy and paste the icon file using the terminal:

cp /usr/share/icons/Humanity/places/48/folder-download.svg ~/.config/gtk-3.0/places/

In this command, cp stands for “copy” and is used to copy files or directories. The ~ symbol is a shortcut for your home directory.

Conclusion

Understanding where Ubuntu’s default icons are located can be very helpful when you want to customize your desktop environment or when developing an application. Remember that the specific location may vary depending on the version of Ubuntu you are using, so always double-check if you can’t find a specific icon.

For more information on how to use the terminal and basic Linux commands, you can visit the Ubuntu Terminal Guide.

Where can I find the default icon theme for Ubuntu?

The default icon theme for Ubuntu is called ‘Humanity’ and its icons can be found in the /usr/share/icons/Humanity directory.

How can I navigate to the `/usr/share/icons` directory using the terminal?

You can navigate to the /usr/share/icons directory using the following command in the terminal: cd /usr/share/icons

Where can I find the icon for the Downloads folder in Ubuntu’s default icon theme?

The icon for the Downloads folder can be found in the /usr/share/icons/Humanity/places/48 directory. The icon file is named folder-download.svg.

How can I restore a deleted icon in Ubuntu?

To restore a deleted icon, you can follow these steps: navigate to the /usr/share/icons directory, find the appropriate icon file, copy the icon file to your clipboard, navigate to your home directory and find/create the .config/gtk-3.0 folder, create a new folder named places inside the gtk-3.0 folder, and paste the copied icon file into the places folder. Finally, restart your file browser or log out and log back in to see the changes.

Where can I find more information on how to use the terminal and basic Linux commands?

You can visit the Ubuntu Terminal Guide for more information on how to use the terminal and basic Linux commands.

Leave a Comment

Your email address will not be published. Required fields are marked *