[Thunar-dev] how to tell thunar never to increase space between icons?

Bruno Dantas thunar at dantas.airpost.net
Tue Mar 14 12:19:54 CET 2017


This is a cosmetic issue but it's driving me bonkers.

I only use Thunar with the option to "View as Icons". I'd like the spacing between icons in Thunar to be constant, but Thunar insists on increasing the spacing between icons when long filenames are detected (e.g., when I press Control+H in my home folder and hidden files with long names show up).

A user perplexed by this same issue documented it here, with screenshots: https://bbs.archlinux.org/viewtopic.php?id=199121

If I put something like this in my ~/.gtkrc-2.0 to increase the baseline/initial distance between icons...

style "thunar-spaced-out-icons"
{
  ThunarIconView::column-spacing = 70
  ThunarIconView::row-spacing = 70
}
class "ThunarIconView" style "thunar-spaced-out-icons"

...Thunar increases the distance between icons even more when long file names are detected.

Is there a setting that tells Thunar to NOT change the distance between icons? If there is no such setting, I'd like to recompile Thunar without this "feature". I grepped the source code for "column-spacing" and didn't find an obvious culprit, so the offending function must change a variable of some other name. Please help.


More information about the Thunar-dev mailing list