Hi.
I have a folder under $HOME, named Projects
for which I’d like to set an icon, much like folders Music
, Downloads
et al. I’ve inspected $HOME/.config/user-dirs.dirs
, which basically (so far) is a copy of /etc/xdg/user-dirs.defaults
and it states the following:
# 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.
So I’d like to precisely add my folder there, plus a specific icon. I ran xdg-user-dirs-update --set PROJECTS ~/Projects
and it looks like the directory was added to $HOME/.config/user-dirs.dirs
:
...
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"
XDG_PROJECTS_DIR="$HOME/Projects"
Now what?
I want that folder to use the specific PNG icon file $HOME/.icons/app-dev.png
, for instance.
I tried copying that file, converted, as Folder.jpg
into $HOME/Projects
and restarted Thunar but it didn’t do anything.
I’ve read [SOLVED] User dirs directory icons in Thunar / Desktop / Xfce Forums but I don’t have a single clue as to what I’m supposed to do afterwards… I don’t want to update the icon with what it contains, I only want a static icon instead of the default “folder” icon, so unless I missed something, I fail to see what a script would do there (not to mention what to make it do). For short: I’m lost.
Note I want a custom icon, not an emblem.
Thanks in advance for any hint or suggestion.