You are not logged in.
This is something I've had implemented on Cinnamon and it works well, having the setting always reset to hide hidden files/folders when logging in:
However, I've since moved my personal PC over to Xfce and am looking to move the rest of my Cinnamon-based PCs over to Xfce as well, so I'd like to achieve a similar sort of result in Thunar where it always defaults to hiding hidden files (whether on login of the whole desktop, or every time you open Thunar itself), thereby making the "Show hidden files" effectively only ever be temporary.
(note that I am fully aware of the Ctrl+h keyboard shortcut for Thunar to toggle the "show/hide hidden files" setting, but that's no different from just using the according GUI toggle in the "View" menu)
Last edited by NM64 (2025-06-22 02:24:55)
Offline
Try running the following command on login:
xfconf-query -c thunar -p /last-show-hidden -s false
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
Ah yes! I was wondering if there was a terminal command to toggle the hidden visibility state since I knew such a thing would work as a startup command, but I couldn't find any information on the existence of such a command.
So that does the job nicely.
Offline
Most Xfce settings are now stored in the xfconf database and can be manipulated with xfconf-query. You can look at the Settings Editor app to see those settings (its Xfce's version of dconf).
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
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 550.86 KiB (Peak: 551.7 KiB) ]