fedora 16 中如果添加图标到系统托盘(How to add icon to system tray in fedora 16)


安装图标管理器:

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/


示例: 



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值