How to Change the Icon of a File or Folder on Linux Mint (Cinnamon, Nemo)

Share
In this tutorial, we'll learn how to change the icon of a file or folder on Linux Mint's Nemo, Cinnamon's file manager. Nemo allows us to choose any icon for any file and folder, which is pretty cool and sometimes useful.

To change the icon of a file or folder on Nemo, follow the following steps:

1: open the file or folder's properties dialog through their context menu.

A dialog window titled "krita-5.2.9-x86_64.AppImage Properties." It has four tabs: Basic (active), Permissions, Open With, and Emblems. Several fields are shown. Name: krita-5.2.9-x86_64.AppImage. Type: Program (application/vnd.appimage). Size: 367,7 MB (367.690.944 bytes). Location: /home/virtual-curiosities/Downloads. Volume: unknown. Accessed: Thu 27 Mar 2025 10:08:10 PM -03. Created: Thu 27 Mar 2025 10:04:30 PM -03. Modified: Thu 27 Mar 2025 10:06:11 PM -03
A file properties dialog of a file on Linux Mint's Nemo.

2: in the file properties dialog, to the left of where the fields Name, Type, and Size are located, you will see the file's current icon. That's actually a button! Click on it to reveal a second dialog window, from which you will be able to select a new icon for the file or folder.

Using Nemo's "Choose an icon" Dialog

In Nemo's "Choose an icon" dialog, you will see listed all icons that are installed in known locations of your operating system.

A dialog window titled "Chose an icon." In it, a search box, and a button labelled "Browse." A side pane with multiple categories: Actions (Selected), Applications, Categories, Devices, Emblems, Emoji, Mime types, Other, Places, Status. And a main pane with various icons, such as action-unavailable-symbolic (Selected), add, add-files-to-archive-symbolic, address-book-new, address-book-new-symbolic, application-exit, application-exit-rtl-symbolic, application-exit-symbolic, application-exit-symbolic-rtl, appointment, appointment-new, and appointment-new-symbolic. Three buttons: Revert (grayed out), Cancel and Select.
Linux Mint's Cinnamon's Nemo's "Choose an icon" dialog.

Whenever you install an application, such as Krita, Inkscape, or LibreOffice, their icons are installed in such locations, so you can find application icons by typing their names in the search box at the top part of the dialog.

At the left side you have some categories in case you want to browse icons.

Selecting an Image File to be the Icon of a File in Nemo

To select an arbitrary image from your disk to use as the file's icon, click on the "Browse" button, which will open a third dialog, this time a file chooser dialog, for you to choose the file.

Reverting Changes

There ia Revert button on the bottom-left corner that you can click to revert the icon to its default.

Questions & Answers

Does copying a file copy its icon?

Through Nemo, Yes. Through other methods, the answer is most likely no. The reason for this is how the data is stored. Nemo stores the icon associations in a separate database of its own[https://superuser.com/a/1776674 (accessed 2025-06-19)], so unless the program copying the file is aware that you are using Nemo, it won't copy the icon association.

In particular, terminal commands like cp will not copy the icon.

If you move or delete the image you used as the icon for a file does the file retain the icon?

No. Nemo appears to simply associate the filepath of the image with the file, so if the filepath doesn't exist, Nemo won't load the icon.

Failing to load the icon doesn't modify the association, so if you place a new image in the same filepath Nemo will start loading the new image for the icon instead.

Written by Noel Santos.

About the Author

I'm a self-taught Brazilian programmer graduated in IT from a FATEC. In a world of increasingly complex and essential computers, I decided to use my technical expertise in hardware, desktop applications, and web technologies to create an informative resource to make PC's easier to understand.

View Comments (1)