Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-10-29 22:14:17

advice1010
Member
Registered: 2023-02-19
Posts: 162
LinuxChrome 130.0

Thunar - Remember view setting for each folder

In Thunar - Preferences in the "View Settings" section there is a setting called "Remember view setting for each folder".
This setting is said to remember the view setting per each folder accessed if view setting changed.
I was wondering, this would appear to have to save some kind of information/paths/view settings to know what view settings to use.

Trying to get an idea of what this setting is actually doing.
Does anyone know if there is a text file somewhere that this setting generates/uses to load up each folders view setting?

Thank You

Offline

#2 2025-10-29 22:25:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,315
LinuxFirefox 144.0

Re: Thunar - Remember view setting for each folder

Its saved in gio metadata:

$ gio info Downloads/

.....
metadata::thunar-view-type: ThunarCompactView


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-11-04 23:53:13

advice1010
Member
Registered: 2023-02-19
Posts: 162
LinuxChrome 130.0

Re: Thunar - Remember view setting for each folder

@ToZ
Thank you for your response, would never have been able to figure this out.

So this setting does not use any kind of txt file list, this somehow modifies metadata for each folder, did not even know this would have been possible in this way.

This setting does not appear to modify every folder opened, only folders where any of these view based settings are changed by user, that I guess are different then the main View settings used by Thunar that get applied to all folders.

When I turn off "Remember view setting for each folder" setting and go back to using "Name" column to sort
If I run "gio" command again, the "metadata::" still remains.
I even tried closing Thunar daemon and launching again and metadata still remains.

Probably does not matter that this metadata is there, but is there a way within Thunar to remove this "metadata" added to these specific folders, or would user have to use 3rd party metadata application?

Thank you again

Offline

#4 2025-11-05 17:16:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,315
LinuxFirefox 144.0

Re: Thunar - Remember view setting for each folder

Probably does not matter that this metadata is there, but is there a way within Thunar to remove this "metadata" added to these specific folders, or would user have to use 3rd party metadata application?

Nothing within Thunar, you can just use gio commands to delete the metadata:

gio set -d FOLDER "metadata::thunar-view-type"

...where FOLDER is the name of the target folder.


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

#5 2025-11-07 20:38:38

advice1010
Member
Registered: 2023-02-19
Posts: 162
LinuxChrome 130.0

Re: Thunar - Remember view setting for each folder

@ToZ
Oh okay I just wanted to make sure Thunar did not have a reverse setting I was unaware of.
Thank you again for this

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 10 queries executed - Memory usage: 554.65 KiB (Peak: 555.49 KiB) ]