I made before another suggestion here: https://bugs.kde.org/show_bug.cgi?id=389748 Would be really cool to have some command to change the icon of the folder. A use case would be something like this. You have a pictures folder. Inside you have different categories. You then write a simple script (or could be an implemented thing already) that will list the contents of the folder, then change the icon of said folder to an image inside itself, either the first one, last, with some extension (say .svg) or with some name say 1.png. It can very easily automate changing icons for folders in a recursive form (yes I have folders inside folders). Now you might say, what about previews? Not the same thing. Previews for folder kinda look funny to me. Also with my idea you could set a file as an icon that is somewhere in the folder that may not be picked up by the preview.
You could set the icon of the folder. An example: https://imgur.com/nuO8lq3 The KDE .directory (a desktop file) file could have the the 'Icon' key. The Icon key could be set from the script. The Desktop file specification: https://standards.freedesktop.org/desktop-entry-spec/latest/ . Keys: https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html A simple service menu example: Use This As Icon - https://www.kubuntuforums.net/showthread.php/25740-Service-Menus-with-Dolphin?p=408723&viewfull=1#post408723
(In reply to Rog131 from comment #1) > You could set the icon of the folder. An example: https://imgur.com/nuO8lq3 > > The KDE .directory (a desktop file) file could have the the 'Icon' key. The > Icon key could be set from the script. The Desktop file specification: > https://standards.freedesktop.org/desktop-entry-spec/latest/ . Keys: > https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html > > A simple service menu example: Use This As Icon - > https://www.kubuntuforums.net/showthread.php/25740-Service-Menus-with- > Dolphin?p=408723&viewfull=1#post408723 Awesome thank you.
> Awesome thank you. So marking this as closed (worksforme).