我需要将系统监视器小程序添加到版的Gnome中。我的设置如下: 10.10 (从10.04升级),安装了Netbook Edition界面,而不是团结。
我已经尝试过将Netbook接口进行符号链接的方法,这样它就可以在Gnome会话模式下启动,但是面板仍然是不可定制的。似乎该面板在10.10中比10.04中锁定得更多。
我认为面板仍然将其applet配置保存在某个位置,无论是在配置文件中还是在gnome-config中。因此,我认为可以通过编辑配置来添加applet。有人知道文件、命令和配置键应该更改为添加applet吗?或者,我可以通过运行呈现它的程序来启动applet吗?
发布于 2011-02-25 18:11:03
有一个脚本(/usr/lib/gnome-panel/gnome-panel-add)用于向gnome面板添加applet和启动程序:
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的顶部面板:
/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替换为命令列出的面板标识符之一:
gconftool --all-dirs /apps/panel/toplevelshttps://askubuntu.com/questions/28045
复制相似问题