5 votesby askubuntu.com/users/1545557written 2021-11-23last updated 2023-03-09
Ubuntu 20.04/ 21.04/ 21.10
Using the Nautilus option Show hidden files will only resolve the issue temporarily, but there are ways to set this as the default option.
Terminal
There is a nice one-liner to do this:
gsettings set org.gnome.nautilus.preferences show-hidden-files true
The settings will take effect immediately (even for currently running instances).
with GUI
As posted above you may install dconf-editor
sudo apt install dconf-editor
Then search for show-hidden and activate the option org.gnome.nautilus.preferences.
As you can see in the following screenshot the "same" option also exists for other applications such as the Gtk FileChooser, so make sure you activate the setting where you need it. dconf-editor will also show you the key to use for each setting in case you want to set it using gsettings as outlined in the first section of this post.