create folders with an icon [Solved]
create folders with an icon
Recent posts here and in our Facebook group got me thinking about this topic. I like to keep scripts in a dedicated folder and would like to come up with a icon-folder instead of a plain-Jane [=Americanism from 1912] one. More generally, it might be nice if we could make this easy for users to do who have other icons in mind (dogs, movies, etc.).
The basic steps seem clear enough:
--find the basic (Papirus?) folder icon in the required size
--find/create an icon to put on it (my choice is attached)
--add the desired icon to the basic folder icon
--(optional) save the new folder where it can be found by others
I can probably futz around for a week to try to do this, but thought I would first see what people who really know about this stuff might suggest.
The basic steps seem clear enough:
--find the basic (Papirus?) folder icon in the required size
--find/create an icon to put on it (my choice is attached)
--add the desired icon to the basic folder icon
--(optional) save the new folder where it can be found by others
I can probably futz around for a week to try to do this, but thought I would first see what people who really know about this stuff might suggest.
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- dolphin_oracle
- Developer
- Posts: 22350
- Joined: Sun Dec 16, 2007 12:17 pm
Re: create folders with an icon
the trick isn't making an icon. its getting a folder to use it.
the easiest way is add a jpg called "folder.jpg" to the folder in question. any jpeg will work. its the same feature that is used to generate album art icons (typically cover.jpg).
thunar requies a thumbnailer to generate the the thumbnail that is added to cache. tumbler would be xfce's default. other file managers might not need a separate thumbnailer.

the easiest way is add a jpg called "folder.jpg" to the folder in question. any jpeg will work. its the same feature that is used to generate album art icons (typically cover.jpg).
thunar requies a thumbnailer to generate the the thumbnail that is added to cache. tumbler would be xfce's default. other file managers might not need a separate thumbnailer.

http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: create folders with an icon
That's a good start, thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: create folders with an icon
Kind of like what I did with my .fluxbox folder? (I'm using Thunar)
You do not have the required permissions to view the files attached to this post.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: create folders with an icon
Not what I was thinking of, but really nice! I'm looking in my case to have folders that match the default ones for Downloads, Documents, etc. with their small icon and color.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: create folders with an icon
Hi,
Interesting discussion! How does this differ from using folder Emblems? If I have a dedicated shared folder or a folder for executables I often use an Emblem..
Interesting discussion! How does this differ from using folder Emblems? If I have a dedicated shared folder or a folder for executables I often use an Emblem..
You do not have the required permissions to view the files attached to this post.
Re: create folders with an icon
It's just a different approach, and also very nice. I'm looking for a result that matches the ones we currently use by default (exx attached, on orange folders).
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: create folders with an icon
I tried to change the icons of folders last year and gave up because I couldn't make it work the way I want.
viewtopic.php?t=77936
viewtopic.php?t=77936
Re: create folders with an icon
Ahhh, I see, understood!
Another approach to get the folders looking like the other XDG folders although much deeper in system-mojo is that I believe you can extend folder types in ~/.config/user-dirs.dirs. I would imagine this must require adding these new folder types to your selected Icon theme as well, so not impossible but pretty involved. Probably being good with SVG/Inkscape and then never changing your modified Icon theme would be a must...
Another approach to get the folders looking like the other XDG folders although much deeper in system-mojo is that I believe you can extend folder types in ~/.config/user-dirs.dirs. I would imagine this must require adding these new folder types to your selected Icon theme as well, so not impossible but pretty involved. Probably being good with SVG/Inkscape and then never changing your modified Icon theme would be a must...

Code: Select all
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
Re: create folders with an icon
You can't. I tried that back when I tried to make a "Favorites" function.AVLinux wrote: Mon Oct 07, 2024 3:46 pm I believe you can extend folder types in ~/.config/user-dirs.dirs.
If you add more folders to ~/.config/user-dirs.dirs they are ignored.
The XDG spec only recognizes Desktop, Documents, Downloads, Music, Pictures, Public, Templates, and Videos. All you can do is change the locations of those folders. I couldn't find a way around that or anybody that added other folders.
Last edited by BV206 on Mon Oct 07, 2024 3:58 pm, edited 1 time in total.