If you are using thunar as mentioned in post #6 then gsettings / dconf won't help you afaik
There is a somewhat parallel settings mechanism called xfconf, it shows a parameter called /last-show-hidden
Code:
$ xfconf-query -c thunar -l
/last-details-view-column-widths
/last-details-view-zoom-level
/last-icon-view-zoom-level
/last-separator-position
/last-show-hidden
/last-view
/misc-single-click
/misc-thumbnail-mode
/tree-icon-emblems
/tree-icon-size
If you monitor it while toggling thunar's hidden file visibility (via Ctrl-H or the View->Show Hidden Files checkbox) it appears to be the relevant parameter
Code:
$ xfconf-query -c thunar -p /last-show-hidden -m
Start monitoring channel "thunar":
set: /last-show-hidden
set: /last-show-hidden
set: /last-show-hidden
set: /last-show-hidden
but although setting it seems to be allowed e.g.
Code:
xfconf-query -c thunar -p /last-show-hidden -s true
it does not change the active display i.e. it seems to just be a record of the 'last' toggle event as indicated by its name, rather than an actively updateable setting like the dconf/gsettings equivalent.
Bookmarks