首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将系统监视器小程序添加到Netbook版的Gnome面板中?

如何将系统监视器小程序添加到Netbook版的Gnome面板中?
EN

Ask Ubuntu用户
提问于 2011-02-25 15:54:46
回答 1查看 2K关注 0票数 4

我需要将系统监视器小程序添加到版的Gnome中。我的设置如下: 10.10 (从10.04升级),安装了Netbook Edition界面,而不是团结。

我已经尝试过将Netbook接口进行符号链接的方法,这样它就可以在Gnome会话模式下启动,但是面板仍然是不可定制的。似乎该面板在10.10中比10.04中锁定得更多。

我认为面板仍然将其applet配置保存在某个位置,无论是在配置文件中还是在gnome-config中。因此,我认为可以通过编辑配置来添加applet。有人知道文件、命令和配置键应该更改为添加applet吗?或者,我可以通过运行呈现它的程序来启动applet吗?

EN

回答 1

Ask Ubuntu用户

发布于 2011-02-25 18:11:03

有一个脚本(/usr/lib/gnome-panel/gnome-panel-add)用于向gnome面板添加applet和启动程序:

代码语言:javascript
复制
john@doe:~$ /usr/lib/gnome-panel/gnome-panel-add -h

Usage: gnome-panel-add [options]

Options:  
  -h, --help           show this help message and exit  
  --applet=APPLET      Applet to add  
  --copy-launcher      Copy the launcher to the user directory  
  --launcher=LAUNCHER  Launcher to add  
  --panel=TOPLEVEL     Identifier of the panel where to add the applet  
  --position=POSITION  Position on the panel where to add the applet  
  --right-stick        Make the applet right-aligned on the panel  

下面的命令将系统监视器applet添加到屏幕左侧500 of的顶部面板:

代码语言:javascript
复制
/usr/lib/gnome-panel/gnome-panel-add --applet=OAFIID:GNOME_MultiLoadApplet --panel=top_panel_screen0 --position=500

注意:如果收到top_panel_screen0 is not an existing panel identifier错误,请将top_panel_screen0替换为命令列出的面板标识符之一:

代码语言:javascript
复制
gconftool --all-dirs /apps/panel/toplevels
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/28045

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档