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




        Code:
        /apps/panel/objects/*/use_custom_icon
to true, and


        Code:
        /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.

I need the "menu-object" one, so I decided to figure it out with this command:




        Code:
        [EMAIL PROTECTED]:~$ gconftool-2 --search-key object_type | grep 
menu-object | awk '{print $1}'
... and that returned this:


        Code:
        /apps/panel/objects/object_0/object_type
Now, how do I remove the object_type leaving just 
"/apps/panel/objects/object_0/" ?


Or is there a smarter way to get to that output?

-Nick




_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008
 
_______________________________________________
Fwlug mailing list
[email protected]
http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org

Reply via email to