gnome3.28及以后桌面图标显示方法

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

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……

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容