18

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?

1

3 Answers 3

17

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
5
  • 1
    It works! But I am wondering why Ubuntu does not provide us some pre-created files.
    – Casper
    Oct 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.
    – user364819
    Oct 15, 2016 at 18:16
  • 1
    Screenshot: What am I missing on my Ubuntu 16.10 installation?
    – orschiro
    Nov 12, 2016 at 9:31
  • This did not work for me after upgrading from 16.04 to 16.10
    – M J
    Jul 19, 2017 at 11:51
  • 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.
    – Alan Liang
    May 16, 2020 at 8:14
6

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:

enter image description here

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.

  • Opens an apache openoffice template with an Ubuntu background:

    enter image description here

... and another set from apache openoffice.

0
  1. Using >file_name.file_extention

    >file_name.file_extention
    
    For ex. - >test.txt
    
  2. Using touch filename.fileextention

    touch file_name.file_extention
    
    For ex. - touch test.txt
    
  3. 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
    

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .