Gnome 外壳 - 移除底部面板

Mar*_*jić 6 gnome

我尝试了很多解决方案,但底部栏仍然存在。

尝试使用 Tweak Tool,但在此版本中没有删除底部栏扩展的选项。有什么帮助吗?

操作系统:Ubuntu 14.04

小智 1

要删除底部面板,请按照Wey 在 Arch Linux 论坛上的以下步骤操作:

(或)使用来自同一线程的 yanir 解决方案:

  • 编辑 /usr/share/gnome-shell/theme/gnome-shell.css:搜索 #message-tray 并用 /* ... */ 注释掉该块。这将删除黑条,但不会删除图标及其文本。
  • 按以下方式编辑 /usr/share/gnome-shell/js/ui/messageTray.js:(文件末尾的最后一个类)

    const SystemNotificationSource = new Lang.Class({
        Name: 'SystemNotificationSource',
        Extends: Source,
        _init: function() {
            this.parent(_("System Information"));
            this._setSummaryIcon(this.createNotificationIcon());
        },
        createNotificationIcon: function() {
    //        return new St.Icon({ icon_name: 'dialog-information',
    //                             icon_type: St.IconType.SYMBOLIC,
    //                             icon_size: this.ICON_SIZE });
            return 0;
        },
        open: function() {
            this.destroy();
        }
    });
    
    Run Code Online (Sandbox Code Playgroud)