I have deleted desktop by accident in zorin lite

I have deleted desktop by accident in zorin lite during trying that command : mv Desktop Desk1; ln -sfn Desk1 Desktop. how I can I get it again.
image

Try with;

nano ~/.config/user-dirs.dirs

and add/edit this line;

XDG_DESKTOP_DIR="$HOME/Desktop"
1 Like

I tried that but it didn't work.

Were you attempting to create a symlink of your Desktop Directory?
You should remove any symlinks that were created.
Back up any personal files, then remove the desktop directory, if any.
Then try creating a new one.

I don't know,I have done things I don't know it, but from that command I think desktop is moved to folder name Desk1, and after that I make shortcut to it with name Desktop in Desktop ,and I delete everything Desk1 and symlinks


i have home folder contents as the desktop

You might just try reinstalling the D.E.:

sudo apt install --reinstall zorin-os-lite-desktop

That should restore directory configuration.

1 Like

I have executed that command, and I did reboot, but it doesn't work, I did again what Storm talked about in his post. it is working now, thank u and thank Storm, I think may the two steps together are the solution in my case:
sudo apt install --reinstall zorin-os-lite-desktop

nano ~/.config/user-dirs.dirs

and add/edit this line;

XDG_DESKTOP_DIR="$HOME/Desktop"
1 Like

Fresh reinstall ?

I don't know in my case the slolution was that : the two commands :
sudo apt install --reinstall zorin-os-lite-desktop

nano ~/.config/user-dirs.dirs

and add/edit this line;

XDG_DESKTOP_DIR="$HOME/Desktop"

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.