0

I was trying to use xcalib, and ran into an error (see xcalib error - unsupported ramp size) and followed Anwar's method, rebooted my computer and then this happened.

Gnome see of /home folder

My Desktop area is with some /home files

When i try to enter "Downloads", it gives error:

$ cd Downloads
bash: cd: Downloads: To many levels of symbolic links

It has something to do with symlinks. Can someone fix it?

aashahafa
  • 3
  • 3

1 Answers1

2

What you did, and what caused this, remains unclear. You can restore the desktop as following:

  • Delete the invalid symbolic links "Downloads", "Area de Trabalho" (which, I guess, corresponds to "Desktop" in an English setup), "Modelos" ("Templates") and "Publico" ("Public"). Try with the file manager first. If you cannot delete because the permissions are wrong, the delete using sudo in the terminal.

  • Recreate the folders "Area de Trabalho", "Modelos" and "Publico".

  • Open the file `~/.config/user-dirs.dirs" with a text editor.

  • Correct the entries for the special folders so they point to the existing folder, e.g.

    XDG_DESKTOP_DIR="$HOME/Area de Trabalho"
    XDG_DOWNLOAD_DIR="$HOME/Downloads"
    ...
    

Log out then log back in: you should again have normally functioning special folders, represented in the file manager with an emblem in the folder icon.

vanadium
  • 97,564