Skip to content

housekeeping: clean up x-large and xx-large thumbnails

Calvin Walton requested to merge kepstin/gnome-settings-daemon:thumbnails into master

Support for two new thumbnails directories named "x-large" and "xx-large" were added to the XDG thumbnail-spec in 2020 and to gnome-desktop in GNOME 40. They started to be used by nautilus in GNOME 43 to have larger/sharper thumbnails on HiDPI screens.

But the housekeeper never got updated, so the thumbnail cache has unbounded growth. I realized this problem when I was trying to debug a low disk space condition, and realized that my thumbnail cache was 10GiB in size.

Add the new directories. They're only added to the XDG cache path, since any application new enough to generate these thumbnail sizes would be using that path.

Fixes #741 (closed)

This fix should also be applied to the gnome-43 branch if another point release is planned there.

Merge request reports