我已经尝试了许多解决方案,但是底部栏仍然存在。
曾尝试过Tweak Tool,但在此版本中没有选项“移除底部栏扩展名”。有什么帮助吗?
操作系统:Ubuntu 14.04
为了删除底部面板,请在Arch Linux论坛上从Wey遵循以下步骤:
- 编辑/usr/share/gnome-shell/theme/gnome-shell.css:搜索#message-tray并用/ * ... * /注释掉该块。这将删除黑条,但不会删除图标及其文本。
接下来转到/usr/share/gnome-shell/js/ui/messageTray.js:搜索ICON_SIZE(此处位于881行)并将其设置为0:
ICON_SIZE: 0,
它下面大约三行指出
this.title = title;
做了
this.title = '';
这使整个事情消失了。
(OR) use yanir's solution from the same thread:
- Edit /usr/share/gnome-shell/theme/gnome-shell.css: Search for #message-tray and comment the block out with /* ... */. This will remove the black bar, but not the icons and their text.
edit /usr/share/gnome-shell/js/ui/messageTray.js the following way: (the last class at the end of the file)
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(); } });
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句