Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-09-11 07:12:20

Friedrich
Member
Registered: 2016-09-18
Posts: 163
LinuxFirefox 142.0

Zenity: Hidding hidden files by default

Hi,

i use the file-selection dialog of zenity to select files. By default zenity displays all hidden (beginning with a dot) files. I know i can simply hide that files with right click and i know zenity can use --file-filter but this hides files "forever". There is no way to select one of the filtered files. The dialog "show hidden files" can be turned on or off.

I found this fpr gnome: https://unix.stackexchange.com/question … ay-options. Because there is no config file for zenity i guess it's using the system-wide configuration? Is there a setting in xfce where i can control whether the hidden files are displayed by default or not?

Friedrich

Offline

#2 2025-09-11 11:03:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,189
LinuxFirefox 142.0

Re: Zenity: Hidding hidden files by default

Zenity uses the gtk file selection dialog (or whatever dialog your system has configured to display of you are using an xdg-desktop-portal), so the settings available are the ones that are provided by dialog - there is no Xfce setting for this. For the GtkFileChooserDialog, the "default" is actually to hide hidden files, but will be changed to whatever was set last as you use the dialog.

With respect to your link, this isn't a "system-wide" setting, but rather a user profile setting that is being changed/set. You can also "Ctrl+h" to toggle hidden files, which is what I usually do.


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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 539.99 KiB (Peak: 545.5 KiB) ]