Recently, I freshly installed the Ubuntu 16.10 on my desktop and when I right click the desktop or inside a folder, I cannot find out an option for creating an empty file / my template files. There is only an option for creating new folder. What can I do?
3 Answers
You can go into your ~/Templates
folder and create templates yourself, then they will appear in the right-click menu. For instance:
touch ~/Templates/Untitled.txt
-
1It works! But I am wondering why Ubuntu does not provide us some pre-created files.– CasperOct 15, 2016 at 16:18
-
4@CasperLI: They used to have an in-built option for an empty text file, but for some reason upstream GNOME developers decided to remove it.– user364819Oct 15, 2016 at 18:16
-
1
-
-
If you are using a system language other than English (e.g. Chinese), the folder may be named in your local language (e.g.
~/模板/
in Chinese), and writing into~/Templates
does nothing. May 16, 2020 at 8:14
If you need some templates you can get some from this download (found it on ubuntuforums:
wget http://stalefries.googlepages.com/Templatesv4.zip
Contents:
$ tree
.
├── Fontforge Font.sfd
├── HyperText Markup Language.html
├── Images
│ ├── Scalable Vector Graphic.svg
│ └── Xara Xtreme Graphic.xar
├── Office
│ ├── Abiword Document.awt
│ ├── Microsoft Office
│ │ ├── Excel Spreadsheet.xlt
│ │ ├── Powerpoint Presentation.pot
│ │ └── Word Document.doc
│ └── OpenDocument
│ ├── OpenDocument Database.odb
│ ├── OpenDocument Document.ott
│ ├── OpenDocument Drawing.otg
│ ├── OpenDocument Formula.odf
│ ├── OpenDocument Presentation.otp
│ ├── OpenDocument Spreadsheet.ots
│ └── Templates
│ ├── Presentations
│ │ ├── Chalkboard.otp
│ │ ├── Compladients.otp
│ │ ├── OOo Professional.otp
│ │ └── Squares.otp
│ └── Trifold brochure.ott
├── Rich Text Format.rtf
├── Scripts
│ ├── Perl Script.pl
│ ├── Python Script.py
│ └── Shell Script.sh
└── Text File.txt
Image:
edit: for the directories to show up I needed to do a nautilus -q
and open nautilus.
From Apache OpenOffice Templates. Several listed but picktemplates_111.otp is related to Ubuntu.
... and another set from apache openoffice.
Using >file_name.file_extention
>file_name.file_extention For ex. - >test.txt
Using touch filename.fileextention
touch file_name.file_extention For ex. - touch test.txt
create any fileextention template in Home/Templates and you can access that template to create file. For ex. create test.txt file in Home/Templates folder. Now wherever you wants to create an .txt extention file you can simply create using
right click-> New Document- -> test