Sunday, June 06, 2010

Changing your Desktop on your local linux computer to another directory


The default location of your Desktop folder is ~/Desktop. You might want to have it pointing to another location(online home directory forexample). Run the terminal and run the follwoing command :
gedit ~/.config/user-dirs.dirs
Find : XDG_DESKTOP_DIR. Change it to the right path that you like: 

XDG_DESKTOP_DIR="$HOME/Desktop" 
change it to :
XDG_DESKTOP_DIR="$HOME/Test/NewDesktop"


After changing it to the right address, again run the follwoing command in the terminal :
killall nautilus 
OR simply log off and log in again.

No comments: