Sunday, April 28, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 13964  / 2 Years ago, sat, september 3, 2022, 12:50:41

By accident I've removed some folders (they were empty) in my home folder. I've created a new ones but they doesn't have proper icons etc... how can I recreate them step by step?


More From » home-directory

 Answers
7

OK, to restore deleted directories



edit ~/.config/user-dirs.dirs ,



gedit ~/.config/user-dirs.dirs


it should look like this:



# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"


If that fails, install and run Ubuntu Tweak



http://ubuntu-tweak.com/



Screen Shot


[#41517] Saturday, September 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
guialk

Total Points: 300
Total Questions: 144
Total Answers: 121

Location: Saint Vincent and the Grenadines
Member since Sat, Sep 11, 2021
3 Years ago
;