I have a lot of .odt documents, and I browse them every day. In fact browsing and editing my documents is what I spend most of my time on.
The problem I have is that with the .odt extension visible, all my documents look messy and it's hard to quickly find the right document at a glance.
Here is a comparison:
Documents without extension are much easier to look at and identify.
I could search for the document I'm trying to find but most of the time I don't know which document I'm looking for in the first place. Let's say I know there was some document I created 5 days ago, but I don't remember what it was called, and since I have around 2000 documents on my drive It's much easier to just skim through the latest documents and find the right one.
As a result I'd love to be able to hide the extension.
One solution that I'm already aware of is a bash script that removes all extensions from selected files. But when I do that, some programs have trouble finding the .odt files e.g. Loook
searches the contents of .odt files but when the extension isn't present it omits the files. There are also some other issues with dropbox and other programs when the extension is missing. Hence, I'm looking for another solution.
I would be prepared to write an extension for nautilus or even change the source code but I'd love to know if there is an easier way of achieving this effect.
In theory this could be done by implementing a simple if statement into the file manager source code, either directly or as an extension of sorts.
if fileName ends in .odt
don't display the last 4 characters
endif
But I don't know enough about file managers to know how or where to implement this in nautilus. So I'd like to hear if there are other solutions. Although, I would be prepared to learn more about nautilus to implement this somehow if there is no other way.
don't display the last 4 characters
is not that simple – Anwar Oct 16 '16 at 06:37