Linux no templates installed

~/Templates directory missing from Ubuntu 18.04 GNOME Nautilus

I am trying to add the option on right click to «Add New Document» in Ubuntu 18.04 with GNOME desktop (VM). All of the documentation and online help tells me to create an empty .txt (or any other extention) file and place it in ~/Templates directory. That directory for some reason does not exist by defalut on my installation. No idea why. I tried adding it and then placing the empty file there but the right click menu doesn’t change. Does anyone know why I didn’t have this Templates directory by default and how I can successfully add the «Add New Document» option to my right click menu?? Thanks! I used this commmand first: $ touch ~/Templates/Empty\ Document result: touch: cannot touch ‘/home/a7ger/Templates/Empty Document’: No such file or directory I then did the following: $ mkdir ~/Templates $ touch ~/Templates/Empty\ Document This ran successfully as expected. But when I right click on dekstop or in a folder within Nautilus I still do not see the option to «Add New Document». Help!! click link to see screenshot of right click menu after running commands.

2 Answers 2

I just found my new document missing, also the template didn’t exist and the template directory wasnt set.

So, to the terminal as my user user:

mkdir -p ~/Templates && touch ~/Templates/Untitled\ Document; xdg-user-dirs-update --set TEMPLATES ~/Templates; nautilus -q && nautilus & 

And the same as a one-liner:

mkdir -p ~/Templates && touch ~/Templates/Untitled\ Document && xdg-user-dirs-update --set TEMPLATES ~/Templates && nautilus -q && nautilus & 

Note: restarting Nautilus is required so that the changes take effect for the current session, you could just reboot if you prefer.

I recently had to come back to this after a long while on ubuntu 20.04 I realised it had returned, but since I wrote this I have since found out a little tip I thought might be useful here.

When creating new files if you press F2 when clicking the new document option in the context menu, the rename prompt will open saving you from renaming the file after its been created.

Источник

Thread: no templates installed, Wrong file Path ?

Ronok is offlineJust Give Me the Beans!

Читайте также:  Suse linux enterprise server vmware

no templates installed, Wrong file Path ?

Right Click, Create Document, no templates installed

some background:
Searched for «Templates» folder, couldn’t find it

so I made a «Templates» folder in:
/home/myname/afolder/a Folder With Space Number & Caps in Name/Templates

and put some files in it e.g: «OpenOffice.stw»

then I went to:
/home/myname/.config/user-dirs.dirs
and made «user-dirs.dirs» point to the right place in this way:

Before:
XDG_TEMPLATES_DIR=»$HOME/»

After:
XDG_TEMPLATES_DIR=»$HOME/myname/afolder/a Folder With Space Number & Caps in Name/Templates»

also looked at:
OpenOffice.odt,Tools,Options,openoffice.org,Paths, Templates,edit,add

still Nothing / no templates installed

thinking that maybe it wouldn’t let put them where I want
(file name e.g: «/folder/My 4 Stuff/Templates») ?

I tried to do the same with: «/home/myname/Templates»
XDG_TEMPLATES_DIR=»$HOME/myname/Templates»

still Nothing / no templates installed

my «/home/» only has «/home/myname/»
thats it no hidden, and cant make a new folder there

Thanks for looking this over
not sure what is the next step
Thanks
Ronok http://www.gongkuo.com/index.htm

Ubuntu 9.10 (karmic)
GNOME: 2.28.1
Kernel: 2.6.31-15-generic
Intel(R) Atom(TM) CPU N280 @ 1.66GHz
openoffice.org 3.1.1

Источник

Thread: How to install templates in ubuntu 12.04

tushar maroo is offlineJust Give Me the Beans!

QuestionHow to install templates in ubuntu 12.04

I have Ubuntu 12.04 , and it have a option called templates, but it is showing that no templates installed , so how to install templates?

critin is offlineMay the Ubuntu Be With You!

Join Date Sep 2010 Location Central Calif Beans 1,208 —> Beans 1,208 Distro Xubuntu 12.10 Quantal Quetzal

Re: How to install templates in ubuntu 12.04

QuoteOriginally Posted by tushar maroo View Post

I have Ubuntu 12.04 , and it have a option called templates, but it is showing that no templates installed , so how to install templates?

tushar maroo is offlineJust Give Me the Beans!

Re: How to install templates in ubuntu 12.04

Pinoy Tux is offlineA Carafe of Ubuntu

Re: How to install templates in ubuntu 12.04

Templates are nothing more than boilerplate files you put in the ~/Templates folder. Quite useful whenever you find yourself in a situation where — for example — you regularly create documents that must contain a common formatting (page setup, font, etc.). Or if you write shell scripts (see this example) and you want every script to contain standard documentation that you’d rather not retype over and over again, then you can put one in your ~/Templates folder.

The next time you do File > Create New Document. your boilerplate template file will be listed. Select it, rename the file and open.

tushar maroo is offlineJust Give Me the Beans!

LightbulbRe: How to install templates in ubuntu 12.04

QuoteOriginally Posted by Pinoy Tux View Post

Templates are nothing more than boilerplate files you put in the ~/Templates folder. Quite useful whenever you find yourself in a situation where — for example — you regularly create documents that must contain a common formatting (page setup, font, etc.). Or if you write shell scripts (see this example) and you want every script to contain standard documentation that you’d rather not retype over and over again, then you can put one in your ~/Templates folder.

Читайте также:  Установить kali linux основной системой

The next time you do File > Create New Document. your boilerplate template file will be listed. Select it, rename the file and open.

yeah Pinoy Tux, This thing really helped i put three of file formats empty files in my Templates folder and it automatically appears as a new document in the option menu.
and also it renames the file, so you do not need to rename it every time.

Источник

Thread: [SOLVED] No template installed; what does this mean?

kelinu is offlineGee! These Aren’t Roasted!

[SOLVED] No template installed; what does this mean?

Hi,
Just out of curiosity. when I Right click on desktop -> create document it says «No template installed.» What does this mean and can i get it so i can create open office douments and stuff like that

«If Bill Gates had a nickel for every time Windows crashed. Oh wait! He does!»

My PC: Ubuntu 8.04, 1GB RAM, Intel Core 2 CPU 1.86GHz

chuckyp is offlineCookies and cream

Re: «Right click > create document > no template installed» what does this mean?

Add any files you want to use as Templates in your ~/Templates folder. They will then appear in that menu. So you can add blank OO documents etc.. in there.

ene_dene is offlineWay Too Much Ubuntu

This doesn’t work for me. I’ve inserted the files in /home/myname/Templates and still the same message «no templates installed». What could be the problem? I have Hardy 64bit.

Perfect Storm is offlineFedora 37 — Gnome

Join Date Oct 2004 Location Denmark — Scandinavia Beans 19,553 —> Beans 19,553 Distro Ubuntu Budgie Development Release

guide

ene_dene is offlineWay Too Much Ubuntu

Re: [SOLVED] No template installed; what does this mean?

king vash is offlineJust Give Me the Beans!

Re: [SOLVED] No template installed; what does this mean?

QuoteOriginally Posted by ene_dene View Post

http://sudan.ubuntuforums.com/showthread.php?t=6182
The last post gives the solution. The problem was in ~/.config/user-dirs.dirs file.

  • Site Areas
  • Settings
  • Private Messages
  • Subscriptions
  • Who’s Online
  • Search Forums
  • Forums Home
  • Forums
  • The Ubuntu Forum Community
    1. Ubuntu Official Flavours Support
      1. New to Ubuntu
      2. General Help
      3. Installation & Upgrades
      4. Hardware
      5. Desktop Environments
      6. Networking & Wireless
      7. Multimedia Software
    2. Ubuntu Specialised Support
      1. Ubuntu Development Version
      2. Security
      3. Virtualisation
      4. Ubuntu Servers, Cloud and Juju
        1. Server Platforms
        2. Ubuntu Cloud and Juju
      5. Gaming & Leisure
        1. Emulators
      6. Wine
      7. Development & Programming
        1. Packaging and Compiling Programs
        2. Development CD/DVD Image Testing
        3. Ubuntu Application Development
        4. Ubuntu Dev Link Forum
        5. Programming Talk
        6. Repositories & Backports
          1. Ubuntu Backports
            1. Bug Reports / Support
      8. System76 Support
      9. Apple Hardware Users
    3. Ubuntu Community Discussions
      1. Ubuntu, Linux and OS Chat
        1. Recurring Discussions
        2. Full Circle Magazine
      2. The Cafe
        1. Cafe Games
      3. Market
      4. Mobile Technology Discussions (CLOSED)
      5. Announcements & News
      6. Weekly Newsletter
      7. Membership Applications
      8. The Fridge Discussions
      9. Forum Council Agenda
      10. Forum Feedback & Help
        1. Request a LoCo forum
      11. Resolution Centre
    4. Other Discussion and Support
      1. Other OS Support and Projects
        1. Other Operating Systems
          1. Ubuntu/Debian BASED
          2. Debian
          3. MINT
          4. Arch and derivatives
          5. Fedora/RedHat and derivatives
          6. Mandriva/Mageia
          7. Slackware and derivatives
          8. openSUSE and SUSE Linux Enterprise
          9. Mac OSX
          10. PCLinuxOS
          11. Gentoo and derivatives
          12. Windows
          13. BSD
          14. Any Other OS
      2. Assistive Technology & Accessibility
      3. Art & Design
      4. Education & Science
      5. Documentation and Community Wiki Discussions
      6. Tutorials
        1. Outdated Tutorials & Tips
      7. Ubuntu Women
      8. Ubuntu LoCo Team Forums
        1. Americas LoCo Teams
          1. Argentina Team
            1. Software
            2. Hardware
            3. Comunidad
          2. Arizona Team — US
          3. Arkansas Team — US
          4. Brazil Team
          5. California Team — US
          6. Canada Team
          7. Centroamerica Team
          8. Chile Team
            1. Comunidad
            2. Hardware
            3. Software
            4. Instalaci�n y Actualizaci�n
          9. Colombia Team — Colombia
          10. Georgia Team — US
          11. Illinois Team
          12. Indiana — US
          13. Kentucky Team — US
          14. Maine Team — US
          15. Minnesota Team — US
          16. Mississippi Team — US
          17. Nebraska Team — US
          18. New Mexico Team — US
          19. New York — US
          20. North Carolina Team — US
          21. Ohio Team — US
          22. Oklahoma Team — US
          23. Oregon Team — US
          24. Pennsylvania Team — US
          25. Peru Team
          26. Texas Team — US
          27. Uruguay Team
          28. Utah Team — US
          29. Virginia Team — US
          30. West Virginia Team — US
        2. Asia and Oceania LoCo Teams
          1. Australia Team
          2. Bangladesh Team
          3. Hong Kong Team
          4. Myanmar Team
          5. Philippine Team
          6. Singapore Team
        3. Europe, Middle East, and African (EMEA) LoCo Teams
          1. Albania Team
          2. Catalan Team
          3. Portugal Team
          4. Egypt Team
          5. Georgia Team
          6. Ireland Team — Ireland
          7. Kenyan Team — Kenya
          8. Kurdish Team — Kurdistan
          9. Lebanon Team
          10. Morocco Team
          11. Saudi Arabia Team
          12. Sudan Team
          13. Tunisia Team
        4. Other Forums & Teams
        5. LoCo Archive
          1. Afghanistan Team
          2. Alabama Team — US
          3. Alaska Team — US
          4. Algerian Team
          5. Andhra Pradesh Team — India
          6. Austria Team
          7. Bangalore Team
          8. Bolivia Team
          9. Cameroon Team
          10. Colorado Team — US
          11. Connecticut Team
          12. Costa Rica Team
          13. Delhi Team
          14. Ecuador Team
          15. El Salvador Team
          16. Florida Team — US
          17. Galician LoCo Team
          18. Greek team
          19. Hawaii Team — US
          20. Honduras Team
          21. Idaho Team — US
          22. Iowa Team — US
          23. Jordan Team
          24. Kansas Team — US
          25. Libya Team
          26. Louisiana Team — US
          27. Maryland Team — US
          28. Massachusetts Team
          29. Michigan Team — US
          30. Missouri Team — US
          31. Montana Team — US
          32. Namibia Team
          33. Nevada Team — US
          34. New Hampshire Team — US
          35. New Jersey Team — US
          36. Northeastern Team — US
          37. Panama Team
          38. Paraguay Team
          39. Qatar Team
          40. Quebec Team
          41. Rhode Island Team — US
          42. Senegal Team
          43. South Carolina Team — US
          44. South Dakota Team — US
          45. Switzerland Team
          46. Tamil Team — India
          47. Tennessee Team — US
          48. Trinidad & Tobago Team
          49. Uganda Team
          50. United Kingdom Team
          51. US LoCo Teams
          52. Venezuela Team
          53. Wales Team
          54. Washington DC Team — US
          55. Washington State Team — US
          56. Wisconsin Team
          57. Yemen Team
          58. Za Team — South Africa
          59. Zimbabwe Team
Читайте также:  Linux ip routing rules

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Источник

Оцените статью
Adblock
detector