anotherdisciple
December 1st, 2008, 02:44 AM
I am writing a quick BASH script with a zenity GUI... one thing I wanted to add is the option to change the main-menu icon. In the gconf-editor you would change
/apps/panel/objects/*/use_custom_icon
to true, and
/apps/panel/objects/*/custom_icon
to the location of the new icon.
My problem... The "*" could be different for each user.... it may be object_1, object_3, etc.
So, how can make the script only use the key for the object whose object_type is "menu-object"?
I'm stumped!!! Help me figure this one out!
/apps/panel/objects/*/use_custom_icon
to true, and
/apps/panel/objects/*/custom_icon
to the location of the new icon.
My problem... The "*" could be different for each user.... it may be object_1, object_3, etc.
So, how can make the script only use the key for the object whose object_type is "menu-object"?
I'm stumped!!! Help me figure this one out!