You are not logged in.
Hello,
Since Debian buster, I noticed that the empty trash icon vanishes from desktop with gnome-colors icon set.
Could Xfce be the cause ?
Offline
No, it's not Xfce's fault. But it is a weird situation though.
Basically, gnome-colors is missing the icon to display. If you shrink the size of desktop icons to 32, the icon will show up because that icon exists. The default xfdesktop icon size is 48 and gnome-colors doesn't have any 48 icons defined (as opposed to other icon themes that do). Why it is able to display the trash-full icon is a bit of a mystery to me.
gio info Trash://
...will get you the info on which icon is being used - user-trash.
The best way to fix this is to have it fixed in the icon theme.
--------------
As a workaround, the following will work:
Create a custom icon theme:
mkdir -p ~/.icons/MyIconTheme
Create the following index.theme file inside of the ~/.icons/MyIconTheme folder:
[Icon Theme]
Name=myCustomTheme
Comment=My Custom GNOME Colors Theme
Example=folder
Inherits=gnome-brave
# Directory list
Directories=48x48/places
[48x48/places]
Context=Places
Size=48
Type=Fixed
...you'll need to change the "Inherits=gnome-brave" line to specify the theme variant you want to use. So for example, if you want to use the "gnome-noble" icon theme, the line should read: "Inherits=gnome-noble"
Create the necessary folders in your custom icon theme:
mkdir -p ~/.icons/MyIconTheme/48x48/places
Now copy over this missing trash icon:
cp /usr/share/icons/gnome/48x48/places/user-trash.png ~/.icons/MyIconTheme/48x48/places
And update the icon cache:
gtk-update-icon-cache ~/.icons/MyIconTheme
From the Appearance > Icons tab, select your Custom Icon theme.
This will create a new custom icon theme that grabs the user-trash icon from the gnome theme and uses it while inheriting all the other icons from your icon theme of choice.
Edit: made the index.theme file smaller to only hold what is necessary for this to work
Last edited by ToZ (2019-10-15 16:24:53)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for your explanations and your trick.
Offline
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 524.03 KiB (Peak: 524.88 KiB) ]