Saturday, 19 December 2015
Changing default directory paths in Ubuntu
Hello friends, I think most of you would like to view an exact solution to changing your Directory set, that is changing the Desktop Directory, Music, Pictures etc. and other directories. Here is the solution: 1. First, press "Ctrl+H" in Home directory to view Hidden Folders. 2. Then enter .config directory, and enter the .user-dirs.dirs file, and change the defalt info there: XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/" XDG_DOCUMENTS_DIR="$HOME/" XDG_MUSIC_DIR="$HOME/" XDG_PICTURES_DIR="$HOME/" XDG_VIDEOS_DIR="$HOME/" Now, just enter the path of the directory in XDG_DESKTOP_DIR="path" command and so on. This instantly changes the Directories there. 3. Why ti use this? Suppose you have multiple accounts, one using KDE and anither using GNOME, then you can use same folders for this purpose, without having copies of same file again and again. Now, you can ask, "We can use same account for KDE and GNOME", bt see, suppose you have GNOME AWN or Sidebar enabled, and they will start with KDE too. Anither reason is to keeo your Desktop and other directories secure from HAcking attempts.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment