概述
Gnome3.28版本桌面图标无法通过gnome-tweak-tool显示
解决办法:
1.通过Nemo
a)安装nemosudo 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 byFiles 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 installinggnome-shell-extension-desktop-icons which partially replicates the desktop icon functionality available in GNOME 3.26 and……
最后
以上就是粗暴往事为你收集整理的gnome显示桌面图标_gnome3.28及以后桌面图标显示方法的全部内容,希望文章能够帮你解决gnome显示桌面图标_gnome3.28及以后桌面图标显示方法所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复