hidden files always being shown

When opening a folder, by default it always shows hidden files. I can uncheck the view option and they disappear but reappear on the next opening with the hidden files option re-checked. Have I inadvertently changed an option or is this a bug? No-one else seems to have encountered this.


Solution 1:

Assuming you are using Nautilus (the standard file manager in Ubuntu), read the help files on Nautilus views. To change the default option, you can do the following:

In any file manager window, click Edit ▸ Preferences and select the Views tab.

In that tab you can unselect show hidden and backup files. By default,

The file manager does not display hidden files or folders.

You can also toggle showing/hiding hidden files by using CTRL+h.

Solution 2:

I'm using ubuntu 15.04. Recently I upgraded form terminal using the cmd "sudo apt-get upgrade". After this Nautilus was showing all the hidden folders by default. However, after searching a while in internet I ended here. Maybe the solution I post here has already been posted in some forum, but here is how I solved the problem in Nautilus.


  1. Install the "dconf editor" using the command:

    sudo apt-get install dconf-tools
    
  2. open dconf editor using the command:

    dconf-editor
    
  3. Browse to org > gtk > settings > file-chooser

  4. Uncheck the "hidden file" key appearing in right side.

That's all. Enjoy!

The key from org > gnome > nautilus > preferences : show-hidden-files is ignored as it is deprecated.

Solution 3:

Here are the steps I took to remedy this.

  • Open File Explorer.

  • Goto Preferences under Edit menu

  • Uncheck Show hidden and backup files if checked

  • Close and enjoy, see below:

    image