Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-07-08 12:18:42

zetrotrack000
Member
Registered: 2018-07-08
Posts: 4

Reload this Page Rows and Columns Spacing in Thunar

Hi
I am using Thunar as file manager. Originally the rows and columns spacing of Thunar is not according to my preference. So, in order to increase the spacing I used following contents in ~/.gtkrc-2.0:

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

and it worked fine. However, after last upgrade the above settings stopped working. After some searching I have found that now I need to edit ~/.config/gtk-3.0/settings.ini . And also that its syntax is different from .gtkrc-2.0. I have tried some variations like:

gtk-ThunarIconView-column-spacing=70
gtk-ThunarIconView-row-spacing=30

But without any success.
There are plenty of examples on internet regarding gtk-theme, icon-theme, icon-size etc. but I am unable to find my particular settings (regarding column/row spacing).
I believe that I have to convert my .gtk-2.0 syntax to gtk-3.0.
Kindly guide me towards correct syntax for settings.ini.
Thanks

Offline

#2 2018-07-08 16:01:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Reload this Page Rows and Columns Spacing in Thunar

Hello and welcome.

In theory, it should follow the pattern of "-ClassName-PropertyName: Value;" in ~/.config/gtk-3.0/gtk.css. For example:

* {
-ThunarIconView-row-spacing: 7;
-ThunarIconView-column-spacing: 3;
}

...but this doesn't work for me with the GTK3 version of Thunar. I will keep investigating.

You might also consider asking the Thunar devs at the xfce4-dev mailing list to see if they can provide some insight.


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

#3 2018-07-08 17:59:57

zetrotrack000
Member
Registered: 2018-07-08
Posts: 4

Re: Reload this Page Rows and Columns Spacing in Thunar

It did not worked for me either. However, I have sent an email to xfce developers. Lets see if anyone of them helps us.

Offline

#4 2018-07-08 22:03:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Reload this Page Rows and Columns Spacing in Thunar

Found it.

* {
-ThunarAbstractIconView-row-spacing: 70;
-ThunarAbstractIconView-column-spacing: 30;
}

...but the values seem to need to be larger than your original values to have a similar effect.


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

#5 2018-07-09 04:25:48

zetrotrack000
Member
Registered: 2018-07-08
Posts: 4

Re: Reload this Page Rows and Columns Spacing in Thunar

ToZ wrote:

Found it.

* {
-ThunarAbstractIconView-row-spacing: 70;
-ThunarAbstractIconView-column-spacing: 30;
}

...but the values seem to need to be larger than your original values to have a similar effect.

Wow... thanks man smile

Offline

#6 2018-07-09 04:30:56

zetrotrack000
Member
Registered: 2018-07-08
Posts: 4

Re: Reload this Page Rows and Columns Spacing in Thunar

zetrotrack000 wrote:
ToZ wrote:

Found it.

* {
-ThunarAbstractIconView-row-spacing: 70;
-ThunarAbstractIconView-column-spacing: 30;
}

...but the values seem to need to be larger than your original values to have a similar effect.

Wow... thanks man smile

Proper credit given to you in my other post at LinuxQuestions (https://www.linuxquestions.org/question … ost5877212)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 536.56 KiB (Peak: 537.41 KiB) ]