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

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

-----------------------2019.05.09更新------------------------------------------------
调整高分辨率kali字体大小的时候发现了系统设置显示桌面图标的设置按钮
最新版的kali2019 可以直接命令行

root@kali:~# gnome-tweaks

打开界面的设置,在扩展(extention)那一栏里面有个 Desktop icons这个选项,新版本的系统默认关闭了这个按钮,打开它也可以让桌面显示图标啦!!!!!
在这里插入图片描述

背景

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

在这里插入图片描述

但是桌面目录下还是有东西,只是在桌面上没有显示出来
在这里插入图片描述

原因

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

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

root@kali:~# 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

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值