The default Yaru theme in Ubuntu 20.04 gives it a polished, modern look. The folders in the default Yaru theme have a purple-aubergine touch to keep in line with the branding of Ubuntu.
If you are not a fan of the purple shade, you have the freedom to change the color theme in Ubuntu.
You may change the theme of Ubuntu to give it a different color but that would mean ditching Yaru theme.
If you just want to change the folder color in Ubuntu 20.04, there are two ways to do that:
- Give a different color and emblem to selected folders (for better organizing the files and folders)
- Change the colors for all folders by changing the Yaru color theme
Let me show you both methods.
Change folder colors and emblem for selected files and folders
I know that some people keep their folders in different color/location to indicate whether a work is in progress or pending or completed.
If you are one of those people, you can use the Folder Color utility and change the color of the folders. You may also add emblem to the folders (the green tick sign for competition, + sign for new, exclamation mark for important etc). You can see some examples in the previous image.
You can also use the Folder Color utility on files. You cannot change the color files icons but you can add emblems to them.
sudo add-apt-repository ppa:costales/yaru-colors-folder-color
Now install Folder Color with Yaru compatibility package.
sudo apt install folder-color yaru-colors-folder-color
Once installed, you’ll have to restart Nautilus file manager using nautilus -q command. After that, you can go to the file manager, right click on a folder or file. You’ll see a Folder’s Color option in the context menu. You’ll see the color and emblem options here.
You can also restore the original folder color by choosing Default in the menu.
For Ubuntu 18.04 or older versions, Folder Color is available to install from the software center. The Folder Color utility is also available for Linux Mint/Cinnamon desktop’s Nemo file manager and MATE desktop’s Caja file manager.
How to remove Folder Color tool?
If you don’t want to use Folder Color, you may remove the app and delete the PPA. First remove the app:
sudo apt remove folder-color yaru-colors-folder-color
Now remove the PPA:
sudo add-apt-repository -r ppa:costales/yaru-colors-folder-color
Yaru Colors theme pack to change the color variant of Yaru theme
If you want to keep on using Yaru theme but with a different color variant, Yaru Colors theme pack is what you need.
Yaru Colors consists of 12 color variants of Yaru. The colors are aqua, blue, brown, deep blue, green, grey, MATE green, orange, pink, purple, red and yellow.
The themes consist of GTK theme, icons, cursor them and GNOME shell theme.
- Icons- Changes the accent color of folders
- GTK themes- Changes the accent color of the application windows
- cursor theme- Adds an almost negligible colored outline to the cursor
- GNOME Shell theme- Changes the accent color in the message tray and system tray
You can download Yaru Colors theme pack from its GitHub repository:
When you extract the content you’ll find icons, Themes folders and both of these folders contains the twelve mentioned color variants. You can copy the icons and Themes folder in ~/.local/share/.icons and ~/.local/share/themes folders respectively.
If you are not comfortable doing it all by yourself, you’ll find the install.sh shell script in the extract folder. You can run it to install all or selected few themes via an interactive terminal session.
To change the GNOME Shell theme, you’ll have to use GNOME Tweak tool. You may also use GNOME Tweak to change the icons and themes back to the default ones.
Enjoy adding color to your Ubuntu life 🙂