安裝表徵圖管理器:
gnome-shell-extension-icon-manager.noarch A gnome-shell extension to manage icons in top bar
yum -y install gnome-shell-extension-icon-manager
安裝dconf編輯器, 類似windows下的註冊表
dconf-editor.i686 : Configuration editor for dconf
yum -y install dconf-editor
開啟dconf-editor
按 ALT + F2 輸入 "dconf-editor" 找到 org > gnome > shell > extensions > icon-manager
設定 top-bar 的值, 把你想要加入到系統托盤的表徵圖, 加入到top-bar中;
如果想把系統內建的系統托盤表徵圖移出, 也請把它加入到top-bar中。
系統內建的表徵圖有: (a11y (accessibility icon),
display, keyboard,
volume, bluetooth,
network, battery)
icon-manager的作用就是: “已存在的移出, 不存在的加入”。
這兒是我的樣本:
我這兒始終不能把empathy加入到系統托盤, 不知道是什麼原因, 以後再找原因了。
設定好後, 還需要啟用icon-manager這個擴充.
按 ALT + F2 輸入 "dconf-editor" 找到 org > gnome > shell
修改 enabled-extensions的值:為
[‘icon-manager@krajniak.info']
如果你有多個擴充要啟用, 把要啟用的副檔名加入到enabled-extensions中, 這是一個數群組類型
如: [‘icon-manager@krajniak.info', 'ibus-indicator@example.com']
怎麼知道你有哪些擴充, 以及副檔名是什麼呢?
系統擴充:
ls /usr/share/gnome-shell/extensions/
ibus-indicator@example.com icon-manager@krajniak.info
使用者自家義擴充:
ls ~/.local/share/gnome-shell/extensions/
樣本: