Closed mansoormemon closed 4 years ago
It depends on the desktop environment that are you use. Major file managers allow changing icons of folders in their Properties.
But if you using Nautilus to avoid blurring folder icons change it with the following command:
mkdir ~/GitHub
gio set -t string ~/GitHub metadata::custom-icon-name folder-github
On KDE it's worked as hidden file on directory:
echo -e "[Desktop Entry]\nIcon=folder-github" > ~/GitHub/.directory
I want to change the icon of a folder and use one of the folders with icons by Papirus. If I change my folder icon from the properties then it will act like a different folder. I mean that if I change the theme of other folders, it will not be applied to the new folder.
@mansoorahmedme the commands do exactly what you asking.
Can you please demonstrate a working .example for adding a git folder icon.
@mansoorahmedme
mkdir -p ~/Git
gio set -t string ~/Git metadata::custom-icon-name folder-git
It's not working
@mansoorahmedme what desktop environment and file manager do you use?
Gnome - nautilus
I have installed papyrus folders. Do I need to install something else.
This is working now I think it required a refresh
How to find the icon name
Thanks @SmartFinn !
How can I add a symbolic icon to a newly created folder just like Ubuntu's default folders e.g. Downloads, Pictures, Documents etc.