How to Change Folder Color in Ubuntu

Bored with the same purple accent color in Ubuntu? Here are two ways to change the folder colors in Ubuntu.
Warp Terminal

The default Yaru theme in Ubuntu 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, 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

Folder Icons, after applied the different colors
Folder Color in Ubuntu

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.

Furthermore, you can also use the Folder Color utility on files. You cannot change the color files icons, but you can add emblems to them.

If you are using Yaru theme in Ubuntu, you can use the official PPA:

sudo add-apt-repository ppa:costales/yaru-colors-folder-color
🚧
This PPA is currently available up to Ubuntu 22.04 LTS

Now install Folder Color with Yaru compatibility package.

sudo apt update
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.

Likewise, you can also restore the original folder color by choosing Default in the menu.

Folder Color is also available to install from the software center, but it won't keep the Yaru icon theme intact.

If you want that, install it using:

sudo apt install folder-color

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 purge folder-color yaru-colors-folder-color
sudo apt autoremove

Now remove the PPA:

sudo add-apt-repository -r ppa:costales/yaru-colors-folder-color

Change the color variant of Yaru theme

From Ubuntu 22.04, you can use the default Accent Color feature on system settings to use a different color variant of Yaru Icon theme.

You can select from 10 different accent colors, like Orange, Olive, Blue, Purple, Magenta, etc.

If you are doing it using system settings, open the Settings app and go to Appearance tab. From there, click on any of the accent color you want.

Or you can do the same with GNOME Tweaks. Open Tweaks and go to the Appearance Tab. You can change the following.

  • Icons - Changes the accent color of folders
  • Applications - Changes 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

Yaru Colors theme pack for Ubuntu 20.04 (and older)

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, gray, MATE green, orange, pink, purple, red and yellow.

🚧
The development of this project is currently stopped.

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 extracted folder. You can run it to install all or selected few themes via an interactive terminal session.

The installer will ask if you want to change the theme on the go or not.

You may also use GNOME Tweak to change the icons and themes back to the default ones.

Enjoy adding color to your Ubuntu life :)

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.