我不知何故从鹦鹉螺的地方删除了我的桌面

Cem*_*keş 3 gnome nautilus 14.04

我以某种方式从 nautilus 位置删除了我的桌面,正如您从图片中看到的那样,它不再显示在 Nautilus 的位置部分。

鹦鹉螺的地方

而且现在我的桌面列出了我的主文件夹的内容,而不是桌面文件夹。我怎样才能解决这个问题?我使用 Ubuntu 14.04 和 GNOME 3。

use*_*519 10

通过将其粘贴到终端中来编辑 .config/user-dirs.dirs 文件:

gedit ~/.config/user-dirs.dirs
Run Code Online (Sandbox Code Playgroud)

您将看到如下所示的文本:

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DOWNLOAD_DIR="/data/downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="/data/drive"
XDG_MUSIC_DIR="/data/music"
XDG_PICTURES_DIR="/data/pictures"
XDG_VIDEOS_DIR="/data/videos"
XDG_DESKTOP_DIR="/data/desktop"
Run Code Online (Sandbox Code Playgroud)

XDG_DESKTOP_DIR=条目应等于您的桌面文件夹(可能是“$HOME/Desktop”)。如果丢失,只需输入并保存文件。重新启动,它应该回来了。