在 gnome flasback(metacity) 中删除桌面图标

在 gnome flasback(metacity) 中删除桌面图标

为了清晰起见添加了屏幕截图我刚刚从 18.04 升级到 20.04,并使用 gnome flashback(metacity)作为我的桌面。在更新之前,我已经能够从我的桌面上删除“主页”和“垃圾箱”图标,因为我喜欢干净的外观。今天下午我花了大部分时间试图从我的桌面上删除这些烦人且不必要的图标!如果有人能告诉我如何做,我将不胜感激!

谢谢

编辑以显示评论 12/08/20 的结果@WU_TANG 我尝试了gsettings set org.nnemo.desktop show-desktop-icons false如下所示的内容——没有结果!

    (base) matt@zakk-jr:~$ gsettings list-recursively | grep icons
org.nemo.icon-view labels-beside-icons false
org.gnome.gnome-flashback.desktop show-icons false
org.cinnamon.desktop.interface menus-have-icons true
org.cinnamon.desktop.interface buttons-have-icons false
org.cinnamon.desktop.interface toolbar-icons-size 'large'
org.gnome.gnome-flashback.desktop.icons icon-size '48px'
org.gnome.gnome-flashback.desktop.icons column-spacing uint32 10
org.gnome.gnome-flashback.desktop.icons show-home false
org.gnome.gnome-flashback.desktop.icons sort-by 'name'
org.gnome.gnome-flashback.desktop.icons show-trash false
org.gnome.gnome-flashback.desktop.icons placement 'auto-arrange-icons'
org.gnome.gnome-flashback.desktop.icons row-spacing uint32 2
org.gnome.gnome-flashback.desktop.icons extra-text-width uint32 48
org.gnome.shell.extensions.openweather use-symbolic-icons true
org.gnome.shell.extensions.topicons icon-size 24
org.gnome.shell.extensions.topicons icon-saturation 0.40000000000000002
org.gnome.shell.extensions.topicons tray-pos 'center'
org.gnome.shell.extensions.topicons icon-contrast 0.0
org.gnome.shell.extensions.topicons icon-spacing 12
org.gnome.shell.extensions.topicons tray-order 1
org.gnome.shell.extensions.topicons icon-brightness 0.0
org.gnome.shell.extensions.topicons icon-opacity 220
org.gnome.desktop.background show-desktop-icons false
org.gnome.desktop.interface menus-have-icons false
org.gnome.desktop.interface buttons-have-icons false
org.gnome.desktop.interface toolbar-icons-size 'large'
org.gnome.shell.extensions.desktop-icons show-trash false
org.gnome.shell.extensions.desktop-icons icon-size 'standard'
org.gnome.shell.extensions.desktop-icons show-home false
org.nemo.desktop show-desktop-icons false
org.nemo.desktop show-orphaned-desktop-icons false
org.gnome.gnome-panel.general prefer-symbolic-icons false

进一步编辑以添加信息:我在这台机器上设置了另一个用户,当我运行“gsettings set org.gnome.gnome-flashback.desktop show-icons false”时,图标消失了,所以现在我真的很困惑!!

进一步编辑以显示 dconf-editor 设置: 在此处输入图片描述

根据要求输出 xprop:

    (base) matt@zakk-jr:~$ xprop
    WM_STATE(WM_STATE):
    window state: Normal
    icon window: 0x0
    _NET_WM_DESKTOP(CARDINAL) = 4294967295
    _NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_PAGER, 
    _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_STICKY
    _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, 
    _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
     WM_HINTS(WM_HINTS):
    Client accepts input or input focus: True
    Initial state is Normal State.
    window id # of group leader: 0x1000001
    _GTK_THEME_VARIANT(UTF8_STRING) = "dark"
    XdndAware(ATOM) = BITMAP
    _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
    _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 16777221, 16777222
    _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1000004
    WM_CLIENT_LEADER(WINDOW): window id # 0x1000001
    _NET_WM_PID(CARDINAL) = 2431
    WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
    WM_CLIENT_MACHINE(STRING) = "zakk-jr"
    WM_NORMAL_HINTS(WM_SIZE_HINTS):
    program specified minimum size: 3286 by 1080
    program specified base size: 0 by 0
    window gravity: NorthWest
    WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, 
    _NET_WM_PING, _NET_WM_SYNC_REQUEST
    WM_CLASS(STRING) = "gnome-flashback", "Gnome-flashback"
    WM_ICON_NAME(STRING) = "Desktop"
    _NET_WM_ICON_NAME(UTF8_STRING) = "Desktop"
    WM_NAME(STRING) = "Desktop"
   _NET_WM_NAME(UTF8_STRING) = "Desktop"
   (base) matt@zakk-jr:~$ 

答案1

在终端中,使用以下命令删除桌面上的所有图标:

gsettings set org.gnome.gnome-flashback.desktop show-icons false

或者使用 Nemo:

gsettings set org.nemo.desktop show-desktop-icons false

答案2

我知道这个问题有点老了,但我能够使用 dconf-editor 删除 GNOME flashback Ubuntu 20.04 中的桌面图标:

  1. 打开 dconf-editor
  2. 转到 /org/gnome/gnome-flashback/desktop/show-icons 并更改值

相关内容