Hiding those pesky LaTeX junk files in Dolphin

Johan Zietsman

2019-10-24

I’ve been using LaTeX since 2013 now, and I still love it. It creates amazingly high-quality documents. The one irritating thing is the large number of files that the LaTeX compiler generates in the root directory of the document. How can I get rid of them?!

I use KDE Plasma as my desktop environment and spend lots of time in Dolphin to manage my files. Dolphin is just fantastic, right? It’s even better than you think. See the following image.

On the left is a directory containing a LaTeX document, with all the generated files that are so distracting. On the right is a copy of the same document, but all those files are missing. That’s what I needed!

So how can you get this done? Very simply, thanks to Dolphin. You just create a file named .hidden (remember the dot in front) in the root directory of your LaTeX document and list all the files that you want to be hidden inside. Here is the .hidden file of the example on the right above.

If you want to hide more files, just add them to the .hidden file. It’s that simple!

You can use this in any folder with any combination of files on your Linux machine if you are using the KDE Plasma desktop with Dolphin. You can use wildcards to specify file patterns to hide as well.

If you want to show all the hidden files in the directory from time to time, and you don’t want to delete your .hidden file, you can just press Alt-. (Alt-dot) on the keyboard. Voilà, they’re back! Pressing Alt-. again, of course

Recent Posts

Johan Zietsman

2023-04-28

The format of the week has changed from last year to make the training more accessible and to equip attendees with the necessary knowledge and skill that will allow them to do powerful thermochemical calculations with FactSage™.

COMMENTS

Dr Jaco Swanepoel 2024

Dr Jaco Swanepoel

SENIOR PROCESS ENGINEER

Jaco is a Chemical Engineer with twelve years of experience in projects that range from reactive metals handling, reactive metal powder production in molten salt slurry reactors, extractive metallurgy to microwave-assisted gas-solid materials processing.
Jaco contributed to three process patents and obtained a PhD degree in Chemical Engineering. Jaco also completed the KTP Management and Leadership Study Program at Ashorne Hill Management College, England.

Stefan van der Merwe 2024

Stefan van der Merwe

Lead Engineer Digital

Stefan’s greatest passion is to enable people. By combining his greatest passion with his love for technology, he finds joy in making computing infrastructure accessible to the non-technical, and developing software that uncomplicates tasks. As a software engineer with qualifications in electronic engineering and bioengineering, Stefan is responsible for software development, enabling the team and clients to advance through insight.