Gnome3.28版本桌面图标无法通过gnome-tweak-tool显示
解决办法:
1.通过Nemo
a)安装nemo
sudo dnf install nemo
b)添加nemo-desktop自启动
创建nemo.desktop文件,将文件复制到~/.config/autostart目录下,内容如下:
[Desktop Entry]
Type=Application
Name=Desktop Icons
Exec=nemo-desktop
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=Desktop
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
X-GNOME-Provides=filemanager
c)显示桌面图标
gsettings set org.nemo.desktop show-desktop-icons true
d)注销账户重新登陆
参考:https://bbs.archlinux.org/viewtopic.php?id=235633
2.安装gnome-shell-extension-icons
a)下载extension
b)复制文件至~/.local/share/gnome-shell/extensions/org.gnome.desktop-icons
文件夹名称必须是org.gnome.desktop-icons
c)重启gnome-shell
打开gnome-tweaks,在extensions中选择desktop-cion。
总结
推荐方法1,第二种方法安装成功后,存在桌面文件无法通过点击打开,显示也有问题,似乎只是显示桌面图标。
wiki原文链接。wiki原文链接
Up until GNOME 3.28, icons on the desktop were provided by Files which would draw a transparent window over the desktop containing the icons. As of GNOME 3.28 this functionality has been removed and desktop icons are no longer available in GNOME. Possible workarounds include using Nemo(a fork of Files which still has desktop icons functionality) or installing gnome-shell-extension-desktop-icons which partially replicates the desktop icon functionality available in GNOME 3.26 and……
网友评论