Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the purpose of "Public", "Templates" and "Examples" directories in my home directory? What should I put in there? And is ok if I delete them? If yes, then when I create them again they will have the same icons?

share|improve this question
See and – user25656 Nov 14 '13 at 12:50
up vote 3 down vote accepted

Searching on this forum fetched me the purpose of the following:

  • public folder: The folder is used for sharing files publicly, so your files won't be exposed.
  • templates folder: To provide a basic skeleton for frequently used contents.

The "examples" folder is acutally a soft link(a shortcut, in Windows terms) pointing to the /usr/share/example-content/ folder, probably to provide you files to test your video and audio cards and if you have the necessary applications and drivers to run audio and video files.

Its ok if you delete the "public" and "templates" folder and recreate them manually as you create any other folder, but remember to create in your /home/$USER/ directory; they will have the same icons. However, the "examples" file will have to be created using the terminal(open a terminal using Ctrl+Alt+t) and typing ln -s /usr/share/example-content/ Examaples. This command creates a soft link to the /usr/share/example-content/ folder(the original folder).

share|improve this answer
Thanks for answer me. I deleted "Examples" directory, and when I create a new one It doesn't look like the old one, but when I restore it from trash, yes. – criss Nov 14 '13 at 13:24
My bad, edited the answer to reflect what "Examples" actually is. – i08in Nov 14 '13 at 13:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.