10

KDE's file manager Dolphin can hide some files, e.g., files starting with a .

Is there a way to configure which files it actually hides? For example, I would like to make it hide all files matching

  • *~
  • *.synctex.gz
  • _flymake.
  • *.log

I found already this post, but it does explain only how to do this in folder views, not in a normal Dolphin window.

If hidden files cannot be configured in KDE/Dolphin, is there maybe another good file manager that supports this feature?

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Lars
  • 253

2 Answers2

9

Recent versions of Dolphin support .hidden files. The .hidden file needs to be created in the same directory as the files to be hidden. Each line in the .hidden file lists one filename in the directory to be hidden. Patterns/file globs such as *~, *.synctex.gz or *.log are not supported unfortunately.

Let's say you would have a directory with the following content:
a.log
b.txt
b.txt~
c.txt
c.txt.gz

and you wanted to hide the files a.log, b.txt~ and c.txt.gz. You would create a file .hidden in the same directory with the following content:
a.log
b.txt~
c.txt.gz

Dolphin would now display only:
b.txt
c.txt

0

Unfortunately, I do not know if that can be done with Dolphin. It has a filter bar but it does not work so well. It also has some problems with *, ? etc... once upon a time forums say it supported RegEX but it doesn't seem to do so anymore. Maybe some tweaks could be implemented by using a .css style file?

I can suggest a possible answer to the second part of the question: Gwenview, the image viewer, doubles as a nice file manager. It supports filters by Tag, Rating, Date and Name and combinations of the above. You can use the name filtering to perform what you are looking to do, but it is a workaround. However, Gwenview as a file manager is not nearly as full-featured as Dolphin.

AF7
  • 261