Situation:
- I have Multiple media albums separated in directories.
- These are in an external HDD, so, dynamically mounted and in multiple OSes
Problem 1:
- I would like to see album covers on folder icons in Dolphin
Logical Solution
- Add icon
.png
inside the folder
- Folder Context Menu → Properties → Select Icon …
Problem 2
- The folder shows both, Icon and Preview, causing an unwelcome picture in picture on the icon.
Logical Solution 1
- Remove Preview for folders
Err:
- I want previews on folders in other places
Attempted Solution:
- Use “Remember display style for each folder”
- Doesn’t work for this setting.
Logical Solution 2
- Put the png in another directory outside the Album directory
- Like:
$ALBUM_DIR/../.icons/icon.png
Problem 3
.directory
file is using absolute paths. Not good for removable drives
- Path goes like:
/run/media/ulterno/...
Logical Solution
- Manually enter relative path in the
.directory
file
Err:
- Dolphin does not fetch icons if relative path has a
..
- Or really?
- instead use
./../.icons/icon.png
- Done. This is the only tip here
Observations
- The Desktop Entry specification does not seem to have anything that can be used to say, “Do not show previews for stuff in this directory”
- So we can’t have this setting work per directory
- This means that if I had the required package/config for Video thumbnails, I would still be seeing previews on top of the icon in my current case.
- I’ll be happier if I just overlooked something on their website and something for this actually exists
- If it does, Dolphin can implement it in the above illustrated case
- Maybe Dolphin can use stuff starting with a
..
- or is that a potential exploit?
- In case dolphin does not find the icon specified by the
.desktop
file, it reverts to an “empty file” icon, with previews unavailable
- I’d rather it reverted to the default desktop icon, with previews for inner files, still available
- Not that it helps in this specific case, but it seems like a good fallback to me