{"id":6694,"date":"2017-04-14T14:39:45","date_gmt":"2017-04-14T14:39:45","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6694"},"modified":"2024-04-09T15:30:33","modified_gmt":"2024-04-09T15:30:33","slug":"enable-new-document-context-menu-in-ubuntu-17-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2017\/04\/enable-new-document-context-menu-in-ubuntu-17-04\/","title":{"rendered":"Enable &#8216;New Document&#8217; Right-Click Menu in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43228\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/ubuntu-new-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>It&#8217;s 2024 now! Ubuntu is still lacking the option to create new documents in the default Nautilus file manager. Though, the GNOME developer team is working on this function.<\/p>\n<p>It&#8217;s easy to enable the option in Nautilus context menu. As it prompts in <b>Templates<\/b> folder, simply create an empty document under <b>Templates<\/b> folder, the file name will be displayed as sub-menu option of &#8216;New Document&#8217; menu.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46130\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder-700x465.webp\" alt=\"\" width=\"610\" height=\"405\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder-700x465.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder-300x199.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder-768x510.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/noble-template-folder.webp 1012w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><br \/>\n<b>Meaning all you need to do is create an empty file and save it under user&#8217;s &#8220;Template&#8221; folder. The file-name will be displayed as sub-menu option of &#8220;New Documents&#8221; context menu.<\/b><\/p>\n<h3>Method 1: Use Text editor<\/h3>\n<p>First, press <b>Super<\/b> (the Windows logo) key on keyboard to open &#8216;Activities&#8217; overview. Then search for and open text editor.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43854\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp\" alt=\"\" width=\"480\" height=\"270\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor.webp 480w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/open-texteditor-300x169.webp 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>When the text editor opens, you don&#8217;t have to input anything, just leave it blank, then press <b>Ctrl+Shift+S<\/b> to open the &#8220;save as&#8221; dialog and do:<\/p>\n<ul>\n<li>Type filename, which will display as sub-menu option for &#8216;New Documents&#8217; menu.<\/li>\n<li>Choose location &#8211; Templates folder.<\/li>\n<li>Finally, click Save.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43855\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template-600x333.webp\" alt=\"\" width=\"600\" height=\"333\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template-600x333.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template-300x166.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template-768x426.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/save-empty-template.webp 1048w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Method 2: Run a single command<\/h3>\n<p>For those familiar with Linux command, this can also be done by running a single command.<\/p>\n<p>Firstly, press <b>Ctrl+Alt+T<\/b> on keyboard to open a terminal window. When it opens, run command:<\/p>\n<pre>touch ~\/Templates\/Untitled\\ Document<\/pre>\n<p>This command creates an empty file called \u2018<em>Untitled Document<\/em>\u2018 in the Templates folder.<\/p>\n<p>Tip: the backslash in the code tells that the space following it is part of the filename since the shell treats whatever comes after a space as a separate argument.<\/p>\n<p>Finally, right-click on blank area in your file manager and see the magic!<\/p>\n<div style=\"width: 610px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-6694-1\" width=\"610\" height=\"417\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/webm\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/new-documents.webm?_=1\" \/><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/new-documents.webm\">https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/04\/new-documents.webm<\/a><\/video><\/div>","protected":false},"excerpt":{"rendered":"<p>It&#8217;s 2024 now! Ubuntu is still lacking the option to create new documents in the default Nautilus file manager. Though, the GNOME developer team is working on this function. It&#8217;s easy to enable the option in Nautilus context menu. As it prompts in Templates folder, simply create an empty document under Templates folder, the file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1434,1420],"class_list":["post-6694","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-new-document","tag-ubuntu-17-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=6694"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6694\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}