You are not logged in.

#1 2025-01-14 20:00:24

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 799
Website

Hiding filetypes in Thunar?

I have started to look into a photo editing tool called Darktable. Darktable creates a .xmp file for each image file. I find this clutters the folder viewing in Thunar so I started to look for ways to hide these .xmp files.

Following these instructions I find I can hide individual files but not all files ending with .xmp. Specifying *.xmp in .hidden does not work.
https://slackalaxy.com/2015/06/04/hidin … in-thunar/

Is there a way?

TIA

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#2 2025-01-14 20:18:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: Hiding filetypes in Thunar?

Globbing won't work, the file is parsed very simply: https://stackoverflow.com/questions/396 … le-feature

Maybe run a systemd .timer to keep ~/.hidden up to date? Or use a wrapper script to refresh the file whenever Thunar is opened.

Offline

#3 2025-01-14 22:12:25

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Hiding filetypes in Thunar?

There are options you can set for how/when darktable creates the xpm file; including turning the feature off. That may make it more manageable for you.

https://docs.darktable.org/usermanual/3 … s/sidecar/

https://docs.darktable.org/usermanual/3 … s/storage/

https://discuss.pixls.us/t/darktable-ho … iles/15371


You must unlearn what you have learned.
    -- yoda

Offline

#4 2025-01-15 07:03:25

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 799
Website

Re: Hiding filetypes in Thunar?

Thanks for the quick and informative answers.

It seems I am stuck with this xpm file mess for now.

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#5 2025-01-15 10:32:27

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Hiding filetypes in Thunar?

One option would be to sort the contents of that folder by type. If your images are jpg and png files, the xbm files would be out of the way at the end.


You must unlearn what you have learned.
    -- yoda

Offline

#6 2025-01-15 10:45:28

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 799
Website

Re: Hiding filetypes in Thunar?

Long term I will try to figure out how to write a script that updates .hidden files.

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

Board footer

Powered by FluxBB