TranslateProject/sources/tech/20200610 How to Change Folder Color in Ubuntu 20.04.md
2020-06-10 08:56:23 +08:00

5.7 KiB
Raw Blame History

How to Change Folder Color in Ubuntu 20.04

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.

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

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, youll 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. Youll see a Folders Color option in the context menu. Youll 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 desktops Nemo file manager and MATE desktops Caja file manager.

How to remove Folder Color tool?

If you dont 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

Yaru Colors Blue Theme Variant

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:

Download Yaru Colors theme pack

When you extract the content youll 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, youll 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, youll 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 :)


via: https://itsfoss.com/folder-color-ubuntu/

作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出