Using gconftool-2 tool to add icons on menu panel for the users

Qihua Wang <[email protected]>
Newsgroups gmane.comp.gnome.lib.gconf
Organization Alcatel Networks
Message-ID <[email protected]>
I try to using gconftool-2 to add extra icons on the top menu panel.

As a super user, I did the following.

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --owner=panel --type string --set 
/apps/panel/default_profiles/medium/applets/00000002/object_type bonobo-applet

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --owner=panel --type string --set 
/apps/panel/default_profiles/medium/applets/00000002/panel_id 00000002

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --owner=panel --type int --set 
/apps/panel/default_profiles/medium/applets/00000002/position 50

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --owner=panel --type string --set 
/apps/panel/default_profiles/medium/applets/00000002/bonobo_iid OAFIID:GNOME_TasklistApplet

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --owner=panel --type bool --set 
/apps/panel/default_profiles/medium/applets/00000002/panel_right_stick false

It created the %gconf.xml under /etc/gconf/gconf.xml.defaults/apps/panel/default_profiles/medium/applets/00000002
directory.

But I didn't see the icon on the panel.

I figured out that the gconftool-2 did not create the schema reference file under the $HOME directory.

Does anyone know how to using the gconftool-2 to have schema reference %gconf.xml file created?

I am using Gnome2.0 version and gconftool-2 version 2.1.0.


Thanks for your help.

-Qihua
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.