In Ubuntu 20, the right click menu didn't have an option to create a new document. So when I looked it up, it turned out that it was possible to achieve this functionality, simply by creating a Templates folder and creating a file in it.
mkdir ~/Templates
touch ~/Templates/Text\ File.txt
I was skeptical that this would work, but surprisingly, it actually did!!!
New Document works!!! |
Wanting to get to the bottom of how this works, I asked around, and was shown this page that revealed this as a standard feature where you can simply place a template file.
So I tried creating an xlsx file using Libre Calc, and saved the file in the Templates folder.
Sure enough, simply placing it in that folder was enough to make it appear in the right click menu.
Terrific functionality that's useful to anyone who does a lot of boilerplate file-work. I'm sure there would be people who have used Linux all their lives, who don't know about this functionality.
No comments:
Post a Comment