kali桌面图标和右键菜单系统更新之后不见了的解决方法

时间:2024-03-19 09:42:11

kali桌面图标和右键菜单系统更新之后不见了的解决方法

背景

博主本人也是最近更新完之后遇到这个问题,搜了各个网站也是没有发现相关的解决办法,毕竟我还是习惯把自己最近正在做的任务什么的直接放在桌面上,这样任务调用起来也比较方便。首先来看是什么状状态吧。

kali桌面图标和右键菜单系统更新之后不见了的解决方法

但是桌面目录下还是有东西,只是在桌面上没有显示出来
kali桌面图标和右键菜单系统更新之后不见了的解决方法

原因

这个是gnome3.28更新之后取消了icons,这个功能,有点想要推广没有桌面图标的图形化界面的意思,这个详见下面链接。
https://www.omgubuntu.co.uk/2018/01/gnome-desktop-icons-removed-3-28

查看一下,我的gnome的确在3.28版本之后

[email protected]:~# gnome-shell --version
GNOME Shell 3.30.1

解决办法

这个问题可以通过安装额外的gnome插件来展示桌面图标。
比如这个
https://extensions.gnome.org/extension/1444/desktop-icons-enhanced

当然还有其他的解决办法

https://gitlab.gnome.org/GNOME/nautilus/issues/158#alternative-solution

Alternative solution

As an alternative to the gnome-shell extension, it’s also possible to use nemo to handle only the desktop.

Instructions

  1. Install nemo from your distribution’s repositories. On Fedora, enter this command on the Terminal application:

sudo dnf install nemo

  1. Open a text editor and copy the following text into a new empty file:

[Desktop Entry]
Type=Application
Name=Nemo
Comment=Start Nemo desktop at log in
Exec=nemo-desktop
OnlyShowIn=GNOME;
AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
X-GNOME-AutoRestart=true
NoDisplay=true
3) Save the text file as ~/.config/autostart/nemo-autostart-with-gnome.desktop

And that’s it!
Next time you log in, nemo will automatically display icons over the desktop background.
If you don’t want to log out, you can also manually start it using the Alt+F2 prompt to run nemo-desktop

Optional step:
In case you want Nemo to behave more similarly to nautilus desktop layout, you can enable the setting running this command on the terminal:

gsettings set org.nemo.desktop use-desktop-grid false