Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-12-27 18:08:11

colapop
Member
Registered: 2025-12-13
Posts: 10
LinuxFirefox 147.0

set thunar column width programatically

Is it possible to change the thunar column widths with a script?

I looked in the hidden settings docs but couldn't find it.

What I want to do is keep "Remember view settings for each folder" (`/misc-directory-specific-settings`) set to True, but *sometimes* I want to quickly set it to a specified layout.

Is there a file in ~/.local or ~/.config where the layout is kept? I can't find it anywhere.

Offline

#2 2025-12-28 01:09:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,406
LinuxFirefox 146.0

Re: set thunar column width programatically

The values are saved in xfconf, in the thunar channel, in the last-details-view-column-widths property. However, manipulating this property value outside of thunar does not reflect any changes in thunar.

You could set the values using:

xfconf-query -c thunar -p /last-details-view-column-widths -s "...values..."

...but thunar doesn't seem to listen to external changes to this property.

You could create an an enhancement request at add this functionality. There is this somewhat related request that already exists.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-12-29 06:29:31

colapop
Member
Registered: 2025-12-13
Posts: 10
LinuxFirefox 147.0

Re: set thunar column width programatically

Thanks, at least I can stop trying to figure it out now!

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 525.95 KiB (Peak: 526.79 KiB) ]