ayozone
Ayoli’s blogging zone : linux, ubuntu, music, cooking, misc….
  • Home
  • Gallery
    • butterflies
    • Larzac
    • screenshots april 2008
    • screenshots august 2008
    • screenshots december 2008
    • screenshots february 2009
    • screenshots january 2009
    • screenshots june 2008
    • screenshots june 2009
    • screenshots march 2008
    • screenshots march 2009
    • screenshots may 2008
    • screenshots may 2009
    • screenshots november 2008
    • screenshots october 2008
    • screenshots september 2008
    • screenshots-december-2007
    • screenshots-february-2008
    • screenshots-january-2007
    • screenshots-november-2007
    • screenshots-october-2007
    • trees
  • Donwloads
    • mac menu debs
    • Themes Gtk, Emerald,…
    • music
  • Guestbook
  • About

Mac Menu GTK compatible themes

applications, computing Add comments

Here’s an (non exhaustive) list of mac menu compatible themes for gtk :


  • imetal

  • snow leopard

  • mac4lin

  • kougyoku black

  • and more kougyoku (make a search on http://gnome-look.org )


You can also hack your theme, like I did. I edited the gtkrc file of the theme I use. (the gtkrc file of your theme is located under ~/.themes/[YOUR_THEME_NAME]/gtk-2.0/gtkrc)

here’s the code I added in my gtkrc file :
...

	
  1. menu bar style

  2. style “theme-menubar”
    { xthickness = 0 ythickness = 0 #bg[NORMAL] = ”#000000” bg_pixmap[NORMAL]= “panel-bg.png” fg[NORMAL] = ”#ffffff” fg[PRELIGHT] = ”#ffffff” fg[ACTIVE] = ”#555555” fg[SELECTED] = ”#555555”
    engine “pixmap”
    {
    image
    {
    function= BOX
    state = NORMAL
    file= “panel-bg.png”
    border= { 0, 0, 0, 0 }
    stretch= TRUE } }
    }

    class “GtkMenuBar” style “theme-menubar”

  3. panel style
  4. style “panelbg” { xthickness = 0 ythickness = 0 bg_pixmap[NORMAL]= “panel-bg.png” fg[NORMAL] = ”#ffffff” fg[PRELIGHT] = ”#ffffff” fg[ACTIVE] = ”#555555” fg[SELECTED] = ”#555555”

    } #class “Panel” style “panelbg”
    widget “PanelApplet” style “panelbg”
    class “notif” style “panelbg”
    class “Notif” style “panelbg”
    class “Tray” style “panelbg”
    class “tray” style “panelbg”
    class “Netstatus” style “panelbg”
    class “netstatus” style “panelbg”
    class “Deskbar” style “panelbg”
    class “deskbar” style “panelbg”


I saved the panel-bg.png image in the same directory as the gtkrc file, and also used this png as panel background image (right click on the panel, choose properties, then background tab where you specify the background image location).
Note: you may have to play with the height of the png file and the height of the panel (using panel properties dialog)

Tags: gtk, macmenu, themes, tips


15 November 2007 |

Tags: gtk, macmenu, themes, tips


6 Responses to “Mac Menu GTK compatible themes”

  1. ayoli
    10 March 2008 at 11:25 AM

    Hi alphageek,
    You need to replace the menu style (line 220 of your gtkrc) with the first part of the gtkrc extract above (the one about menu style). Find a png image that fit your needs and copy it in the directory of your theme (same folder as the gtkrc file of your theme).
    Then copy the second part of the above extract at the end of your gtkrc file using the same png.
    You will also need to set panel background (using panel properties dialog) with this png.
    Note: these modifications to your theme requires the pixmap engine.


  2. alphageek
    10 March 2008 at 3:47 AM

    Hey ayoli. I need help getting the mac menu to work with an Aurora engine theme. Do you know what else I should change in this gtkrc? I left out the mac menu hack (because it’s the same as the one you have above).

    When I tested the theme, the menubar part was still inconsistent with the rest of the panel.


  3. ayoli
    3 January 2008 at 12:56 AM

    yep, I used a murrine style before (now I’m using an aurora style).
    Check you havent more than one style for the menu bar in your gtkrc file.
    If you still have the prob try to post me your gtkrc (please use pastebin.com or something like that). I’ll try to debug it.
    Happy new year :)


  4. jaiguru
    3 January 2008 at 12:32 AM

    Nice tip, but it seems it doesn’t work with murrina engine based themes. The appname part of the macmenu is OK, but the menu itself has no background. Have you tried it with murrine ?


  5. ayoli
    8 December 2007 at 10:50 PM

    Thank you :)


  6. geek
    8 December 2007 at 10:37 PM

    Nice tip, man. I always get frustrated when finding a theme that’s not compatible with macmenu applet; this is a great solution. :-)


Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image

  • Tags

    guide gutsy firefox php global menu xul tabs metacity bugs install menu xorg wordpress elegant brightness gnome hardy themes guestbook weird jquery screensaver screen plugin tips linux js IE terminal emerald applications shell wifi ftp prompt searchplugin ubuntu gtk bash blog script code snippets Intrepid config macmenu
  • Le Net en France : black-out

    HADOPI - Le Net en France : black-out
  • Google it

    •  » Add Ayozone search to your browser !
  • Ads

  • Language

    • english english
    • français français
  • Blogroll

  • Other blog and sites

    • » YAB
    • » b-initials
    • » binema.com
    • » Eleonore G. portfolio
    • » FabLer Art
    • » tig12 (fr)
    • » urukrama’s blog
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Copyright © 2009 ayozone All Rights Reserved
RSS XHTML CSS Log in
Wp Theme by n Graphic Design
Powered by Wordpress Monitoring internetVista® - Monitoring de sites web