Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 askubuntu.com/q/5203/25656 and askubuntu.com/a/374899/25656 –  user25656 Nov 14 '13 at 12:50

1 Answer 1

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

 
discard

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.