Results 1 to 6 of 6

Thread: Wide GNOME Main Menu

  1. #1
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Wide GNOME Main Menu

    I've figured out how to make a sensational GNOME Main Menu.

    You might think, hey, just use gconf-editor and put an icon there (Google for that if you're a noob), but you can make this even better than that! With the technique below, you can:

    * Make your GNOME main menu appear wider than it allows.
    * Make your GNOME main menu icon look fantastic, not squooshed like when you load an Ubuntu logo icon via gconf-editor.
    * Improve the look of the Ubuntu logo in the main menu beyond anything anyone else has ever dreamed could go there.

    Here's how:

    1. Download this image:

    http://people.ubuntulinux.org/~mako/...IconUbuntu.png

    (Or use the official one here:

    https://wiki.ubuntu.com/UbuntuArtwor...UbuntuLogo.png

    ...and shrink it down to size)

    2. The circle logo is pretty, but I've seen some people make it even better by leaning it to the back a little, turning it, and adding 3D effect. Therefore, download one of the examples here from "greven":

    http://ubuntuforums.org/gallery/file.../4/UbuntuI.png

    (BTW, I heap lots and lots of praise on this user "greven". Sensational 3D images that I know I couldn't possibly do in a gazillion years.)

    3. Now, combine the 3D lean back version of the Ubuntu logo in # 2 with the "ubuntu" of # 1. Use Gimp to scale it down to about 110x24.

    4. Take a measurement of your desktop width. For instance, mine is 1024. Make your bottom panel 24 pixels high. Consider switching your controls to "Glider" and your window border to "Clearlooks" in your theme. Take a snapshot of that and in Gimp find out the color of your GNOME panel. Mine, for instance, was #efebe7.

    5. Using Gimp, make a rectangle that is 24 pixels high and the width of your desktop. Fill it with the color of your current GNOME panel.

    6. Now, with a bit of skill and practice, you can make a transparent background version of the image you made in # 3 and paste it into the new "panel" you made in # 5. I pasted it on the far-left side. Save this image as "ubuntupanel.png".

    7. Before you shut down Gimp, make a 32x32 transparent background PNG file and save it as "mainmenu.png".

    8. Now right click your bottom panel, ensure it is 24 pixels high, and then set the background image of it to "ubuntupanel.png".

    9. Now use gconf-editor and find your main menu icon, use custom icon, and set it to the 32x32 transparent PNG icon you made in # 7.

    Voila! Now you have a GNOME main menu that has the appearance of being 110 pixels wide (although clicks on the word "ubuntu" do nothing unless you add a launcher there with a transparent PNG icon). Instead, clicks on the logo make the main menu appear. However, the main menu icon is much larger and wider now than GNOME permits, using this sneaky trick with the transparent PNG.

    By explaining all of this, you can adapt it and make it to just your tastes, such as making a "glass-like" logo, or blue logo, or whatever, for your GNOME main menu with Ubuntu.

    I've attached my version of the Ubuntu panel if you want to use that. If you have a wider than 1024 pixel screen, then you'll need to use Gimp to extend the right side of it.

    P.S. I dream that someday the GNOME team will figure out a way to make the Main Menu just as wide as the icon file you pick for it, and perhaps even provide a way to set the pressed-in version of the icon too. But until that day comes, this is a good second bet.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ubuntu_panel.png 
Views:	1143 
Size:	3.0 KB 
ID:	1757  
    Last edited by SuperMike; July 24th, 2005 at 11:58 PM. Reason: Fixed URLs
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  2. #2
    Join Date
    Jul 2005
    Location
    UK
    Beans
    573

    Re: Wide GNOME Main Menu

    To start with, I'll say 'congrats' on finding the right way to do essentially what this howto does (but it does it in a hackish manner):
    http://www.ubuntuforums.org/showthread.php?t=26854

    However...

    Quote Originally Posted by SuperMike
    9. Now use gconf-editor and find your main menu icon, use custom icon, and set it to the 32x32 transparent PNG icon you made in # 7.
    Well when I search in GConf for 'menu', it brings up:
    /apps/panel/objects/menu_bar_screen0
    /apps/panel/default_setup/objects/menu_bar

    Setting [use_]custom_icon in either or both of these doesn't work.

    Could you be more specific?

  3. #3
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: Wide GNOME Main Menu

    Quote Originally Posted by charlieg
    To start with, I'll say 'congrats' on finding the right way to do essentially what this howto does (but it does it in a hackish manner):
    http://www.ubuntuforums.org/showthread.php?t=26854
    However...
    Well when I search in GConf for 'menu', it brings up:
    /apps/panel/objects/menu_bar_screen0
    /apps/panel/default_setup/objects/menu_bar
    Setting [use_]custom_icon in either or both of these doesn't work.
    Could you be more specific?
    My technique improves upon showthread.php?t=26854 by:

    * Providing a wider main menu that is previously allowed in GNOME. It does it with a kludge, but heh, it's attractive and it's a start.

    * Providing a taller and wider icon than the main menu in GNOME permits for a certain size gnome panel.

    As for how to replace the icon without having to copy files around, I use gconf-editor, which is here:

    1. Foot, System Tools, Configuration Editor. (This is a menu link to gconf-editor.)
    2. Expand /apps/panel/objects.
    3. Click on each object beneath that such as "object_0" and so on until you see the one that says, "tooltip: Main Menu" or something like that. That's the one you want to work with.
    4. Check off "Use Custom Icon".
    5. Doubleclick "Custom Icon" and type in the path to your custom icon, such as something you may have dropped into /usr/share/icons.
    6. As soon as you change this, Ubuntu uses it instantly. No need to killall gnome-panel or anything like that.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  4. #4
    Join Date
    Oct 2004
    Location
    Trailer Park
    Beans
    347
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wide GNOME Main Menu

    thanks for this - makes it a lot easier to change my gnome menu icons too and no need for three menus to use em

  5. #5
    Join Date
    Mar 2006
    Location
    Athens, Greece
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Wide GNOME Main Menu

    cool little mod! will do!
    Splendid pizza pie! Pizza pizza pie!

  6. #6
    Join Date
    Mar 2006
    Location
    Stockholm, Sweden
    Beans
    692
    Distro
    Ubuntu Development Release

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •