Change Folder Colors in Dolphin: A How-To
In this article
Yes, you can change folder colors in Dolphin, the default file manager for KDE Plasma. The most direct method is to right-click a folder, select "Properties," go to the "General" tab, and click the colored square next to the folder name to choose a new color. This built-in feature is available in current versions of Dolphin (5.x and later) and works without installing any additional software.
Why Change Folder Colors?
Color-coding folders is a visual organization technique that helps you find directories faster. Instead of reading every folder name, your brain can quickly scan for a specific hue. For example, you might use:
- Red for urgent or incomplete projects
- Green for completed or archived work
- Blue for personal files
- Yellow for shared or collaborative folders
This is especially useful in cluttered home directories or project folders with many subdirectories. The feature is part of Dolphin's broader customization options, which also include custom icons, emblems, and file type associations.
How the Color Feature Works
When you change a folder's color in Dolphin, the file manager stores a custom metadata attribute on that directory. It does not rename the folder or move any files. The color is applied as an overlay on the folder icon, so the original icon remains visible beneath the tint. This metadata is stored in the file system's extended attributes, specifically in the user.kde.widget.color attribute for KDE applications. Because it's a metadata change, the color persists even if you move the folder to another location on the same filesystem. However, if you copy the folder to a different filesystem that doesn't support extended attributes (like some USB drives formatted as FAT32), the color may be lost.
Step-by-Step: Changing a Folder's Color
- Open Dolphin and navigate to the folder you want to color.
- Right-click the folder and select Properties from the context menu.
- In the Properties window, click the General tab.
- Look for a row labeled Color with a small colored square next to it.
- Click the square to open a color picker dialog.
- Choose a color from the palette or use the eyedropper to select a custom color.
- Click OK to apply the color, then close the Properties window.
The folder icon in Dolphin will now show a tinted overlay. You can repeat this for any number of folders. To remove the color, follow the same steps and choose the option to reset or clear the color (usually indicated by a crossed-out square or a "No color" option).
Choosing the Right Colors
While any color is technically possible, consider readability and contrast. Dark colors like deep blue or purple can make folder names harder to read if the label is also dark. Lighter pastel shades often work better because they tint the icon without obscuring the text. Also, remember that color perception varies among users; if you have color vision deficiency, you might prefer to combine color with a custom emblem or icon to avoid confusion.
Common Problems and Solutions
Sometimes the color change doesn't seem to work. Here are a few things to check:
- File manager not Dolphin: If you're using a different file manager (like Nautilus or Thunar), this feature may not be available. The steps apply only to Dolphin.
- Outdated version: The color feature was introduced in Dolphin 5.0. If you're on an older version, update your KDE Plasma packages.
- Folder on a non-supported filesystem: As mentioned, extended attributes are required. If the folder is on a FAT32 or exFAT drive, the color might not persist after unmounting.
- Icon theme overriding: Some third-party icon themes may not display the color overlay correctly. Try switching to the default Breeze icon theme to see if that resolves it.
- Dolphin not refreshed: Press F5 or navigate away and back to force a refresh of the view.
Comparison with Other File Managers
Dolphin is not the only file manager that supports folder colors. Nautilus (GNOME Files) has a similar feature, though it's less prominent. Thunar (Xfce) requires a plugin called thunar-folder-color to enable this functionality. Windows File Explorer does not offer native folder coloring, but third-party tools like Folder Marker can add it. Dolphin's implementation is notable for being built-in and well-integrated with the KDE desktop, so no extra plugins are needed.
Alternatives to Folder Colors
If you want to organize your folders without changing colors, consider these alternatives:
- Custom icons: Right-click a folder, select Properties, then click the icon in the General tab to choose a different image. This can be more distinctive than a color tint.
- Emblems: In the same Properties dialog, you can add small emblems (like a star or a checkmark) to the corner of the folder icon.
- Tags: KDE's file tags (via Baloo) let you assign keywords to files and folders. You can then search by tag.
- Folder organization: Sometimes renaming folders with a prefix (e.g., "01_Projects") is simpler and more universal than color coding.
Frequently Asked Questions
Can I change the color of multiple folders at once?
No, Dolphin does not support batch color changes. You must apply the color to each folder individually. However, you can select multiple folders and open Properties, but the color option will only apply to the first selected folder.
Will the color show up in other applications?
No, the color is only visible in Dolphin. Other file pickers (like the one in LibreOffice or Firefox) will show the standard folder icon without the tint. If you need consistent color coding across all applications, consider using a global icon theme that applies colors to specific folder names (like the "Folder Color" KDE service menu).
Does changing folder color affect file permissions?
No, it only modifies the folder's metadata. Permissions, ownership, and file contents remain unchanged. It's a purely cosmetic feature.
How do I reset a folder to its default color?
Right-click the folder, go to Properties, then in the General tab, click the color square and select the option that shows a crossed-out line (usually labeled "No color" or "Default"). Click OK to apply.
Can I use custom hex colors?
Yes, the color picker in Dolphin allows you to input a specific hex code (like #FF5733) in the "HTML" field of the color dialog. This gives you precise control over the tint.
Why did my folder color disappear after copying to an external drive?
As mentioned, the color relies on extended attributes. Many external drives are formatted with FAT32 or exFAT, which do not support these attributes. To preserve colors, format the drive with a Linux-native filesystem like ext4 or use a tar archive that preserves metadata.