PapirusDevelopmentTeam / papirus-icon-theme

Pixel perfect icon theme for Linux
https://git.io/papirus-icon-theme
GNU General Public License v3.0
6.65k stars 423 forks source link

Use a folder with a specific icon for newly created folders. #2124

Closed mansoormemon closed 4 years ago

mansoormemon commented 4 years ago

How can I add a symbolic icon to a newly created folder just like Ubuntu's default folders e.g. Downloads, Pictures, Documents etc.

SmartFinn commented 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
varlesh commented 4 years ago

On KDE it's worked as hidden file on directory: echo -e "[Desktop Entry]\nIcon=folder-github" > ~/GitHub/.directory

mansoormemon commented 4 years ago

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.

SmartFinn commented 4 years ago

@mansoorahmedme the commands do exactly what you asking.

mansoormemon commented 4 years ago

Can you please demonstrate a working .example for adding a git folder icon.

SmartFinn commented 4 years ago

@mansoorahmedme

mkdir -p ~/Git
gio set -t string ~/Git metadata::custom-icon-name folder-git

image

mansoormemon commented 4 years ago

It's not working

SmartFinn commented 4 years ago

@mansoorahmedme what desktop environment and file manager do you use?

mansoormemon commented 4 years ago

Gnome - nautilus

mansoormemon commented 4 years ago

I have installed papyrus folders. Do I need to install something else.

mansoormemon commented 4 years ago

This is working now I think it required a refresh

mansoormemon commented 4 years ago

How to find the icon name

mansoormemon commented 4 years ago

Thanks @SmartFinn !