I accidentally deleted ~/Desktop
. This directory plays some kind of important role because now that it is gone all of the folders under ~/
are showing up on my accounts desktop. How do I fix this?
I accidentally deleted ~/Desktop
. This directory plays some kind of important role because now that it is gone all of the folders under ~/
are showing up on my accounts desktop. How do I fix this?
Press Ctrl+Alt+T to go to a terminal and type:
and then press F5 on the desktop to refresh it.
First you should create the directory again:
Now if the default icon has not appear then you should edit
~/.config/user-dirs.dirs
file.It should be same as this:
Take a look over this for more information
NB: you may need to have a restart or logout and then login to apply the new settings