Ubuntu – How to remove text from file icons

iconsnautilus

I am fairly new to Ubuntu (Linux). I noticed when creating a .java file or .py gives me an icon, however when I start writing code it overrides the thumbnail into showing text. Is there a way to disable this silly feature ? When I installed Linux Mint on the VM I noticed I was able to accomplish this task by unchecking "Show text in icon". I know they use Namo as their file manager.

I read this thread and it did not work. How to stop Nautilus from creating thumbnails of specific file types?

Best Answer

There's a setting for this in Nautilus (3.4 here, can't confirm if it still works on more recent revisions):

EditPreferencesPreview → Set Show text in icons to Never

enter image description here