Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-04-02 08:30:35

Pizio
Member
Registered: 2017-03-30
Posts: 12

Thunar, modify columns

Hi there, just a question: how can I resize columns in Thunar? For instance what is written inside the column "Dimension" and "type" is too closed to each other and I would like to correct leaving a little space. Is it possible?
Thanks

Offline

#2 2017-04-02 13:38:00

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 64

Re: Thunar, modify columns

You mean that here?

[url=http://i.imgur.com/y6SVdvM.png]
  y6SVdvMl.png
[/url]

Here I am resizing between "Name" and "Größe"

Offline

#3 2017-04-03 07:33:46

Pizio
Member
Registered: 2017-03-30
Posts: 12

Re: Thunar, modify columns

Nein! smile

I would like to separate the space between "Größe" and "Typ"
fffNCtg.png

Offline

#4 2017-04-03 10:21:21

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 64

Re: Thunar, modify columns

Could shift the sequence of columns


[url=http://i.imgur.com/Oqph0dW.png]
  Oqph0dWl.png
[/url]

Offline

#5 2017-04-08 16:26:47

Pizio
Member
Registered: 2017-03-30
Posts: 12

Re: Thunar, modify columns

Thank you, but I know this. My question was if it is possible to modify and not to swift, because as you can see in your example if you try to resize the last  column you'll see that it will gonna hide on the right.
And I add another question: inside the column "Typ" is explained what kind of file is installed, but it is not explained in a simple way like jpeg, jpg or odt ods, etcetera.  So is there any way to adjust it?

Thanks

Last edited by Pizio (2017-04-08 16:54:53)

Offline

#6 2017-04-08 17:41:22

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 64

Re: Thunar, modify columns

Might have to look for an alternative ...

http://alternativeto.net/software/thuna … form=linux

br

Offline

#7 2017-04-14 07:07:26

Pizio
Member
Registered: 2017-03-30
Posts: 12

Re: Thunar, modify columns

Thank you for your suggestion, but I suppose there were one way to modify what I have asked.

Offline

#8 2017-04-14 10:32:01

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 64

Re: Thunar, modify columns

Pizio wrote:

Thank you for your suggestion, but I suppose there were one way to modify what I have asked.

If you find a solution, please post it here ...

Offline

#9 2017-04-14 20:18:15

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,697

Re: Thunar, modify columns

I was just looking through the thunar code and I noticed that it uses GtkTreeView for the details section as in the pictures above. GtkTreeView has a style property, horizontal-separator, that provides "Horizontal space between cells. Must be an even number.". So I decided to play with this. Using the following gtk snippet (in ~/.gtkrc-2.0) does spread the text out by padding both ends of the cell:

style "my-details-view"
{
   GtkTreeView::horizontal-separator = 10
}
widget_class "*ThunarDetailsView*" style "my-details-view"

Before:
t1160.png

After:
t2135.png


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#10 2017-04-14 21:00:48

Jerry3904
Member
Registered: 2013-11-09
Posts: 544

Re: Thunar, modify columns

Nice find! IMO that should be the default...

EDIT: I inserted that code, then logged out and back in, but saw no change. Code was a copy/paste into the gtkrc file, so I believe that part is correct. Did I miss a step?

Last edited by Jerry3904 (2017-04-14 21:25:02)


MX-16 (based on Debian Stable) with Xfce 4.12.

Offline

#11 2017-04-14 22:09:14

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 3,697

Re: Thunar, modify columns

Jerry, did you paste the code to the ~/.gtkrc-2.0 file? Can you post back the contents of this file just to confirm?

Also, which Appearance (GTK2) theme are you using? In my pics, it's Greybird.

EDIT: I had a look at MX-16 and you guys have a ~/.gtk-2.0/gtkrc file. It doesn't work there. The snippet needs to exist in ~/.gtkrc-2.0. There is works. Since you also package the default Adwaita-Xfce-Dark theme, you can also add it directly to the /usr/share/theme/Adwaita-Xfce-Dark/gtk-2.0/thunar.rc file. Also, it looks better with a value of 15 or 20 in the default theme.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#12 2017-04-14 23:01:30

Jerry3904
Member
Registered: 2013-11-09
Posts: 544

Re: Thunar, modify columns

Aha! Now that works, thanks.

Since the other two snippets work where they are, I am surprised that this one does not.


MX-16 (based on Debian Stable) with Xfce 4.12.

Offline

#13 2017-04-15 06:01:09

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 64

Re: Thunar, modify columns

Seems, anything goes in Xfce ;-)

Nice to know.

Offline

Board footer

Powered by FluxBB