Page 47 of 299 FirstFirst ... 3745464748495797147 ... LastLast
Results 461 to 470 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #461
    Join Date
    May 2006
    Beans
    28

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Hi, SkiesOfAzel
    I have the same problem.
    But the macmenu applet can not working here.

    Everytime I try to add it to the panel, there is a pop-up saying that thereś something wrong with macmenu applet , and cannot load it.

    error when loading panel : ´OAFIID:GNOME_MacMenuApplet´

    C?
    Last edited by killbill; April 25th, 2007 at 09:58 AM.

  2. #462
    Join Date
    Oct 2006
    Beans
    23

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Hey. I'm really interested in using Mac Menu. The thing I don't understand is which version of GTK do I use. I am using 7.04. Also, how do I hack the GTK files. The instructions in the first post are kind of broad and generalized. Any help is appreciated. Thank you.

  3. #463
    Join Date
    Feb 2007
    Location
    Athens ,Greece
    Beans
    158
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    For everyone that has problems with the applet, you can compile it from source . In order for it to compile succesfully you must first hack your gtk . Type this on the terminal
    Code:
    sudo apt-get install build-essential
    and then follow the instructions here. If you are not on Feisty you must download a different gtk from the one linked in the above post(for edgy you need 2.10.6) and some dependencies may have a different version number but you can find the correct version by searching the names in synaptic.
    Now to compile the applet. Get the sources here.
    Untar them go to the newly created gnome-macmenu-applet directory in the terminal and type:
    Code:
    gedit GNOME_MacMenuApplet.server
    Change the third line from :
    Code:
    location="/opt/gnome/libexec/gnome-macmenu-applet">
    To :
    Code:
    location="/usr/lib/gnome-applets/gnome-macmenu-applet">
    Now compile and install the applet by entering this into the terminal :
    Code:
    sudo apt-get install libwnck-dev gnome-panel libpanelappletmm-2.6-dev 
    gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` $CFLAGS $LDFLAGS -o gnome-macmenu-applet macmenu-applet.c
    sudo mkdir -p /usr/lib/gnome-applets
    sudo  mkdir -p /usr/lib/bonobo/servers
    sudo  cp -f gnome-macmenu-applet /usr/lib/gnome-applets
    sudo  cp -f GNOME_MacMenuApplet.server /usr/lib/bonobo/servers
    Again, if you are not on Feisty the libpanelappletmm-2.6-dev may not be the correct package, just run synaptic and search for a package starting with libpanelapplet or libpanel-applet and a -dev in the end and install it.

    log out and relogin, add the applet to your panel and everything should work.

    If all this seems difficult or doesn't work for you can try the precompiled packages for Feisty, get them here.
    Untar them in a preferably empty directory , navigate there in the terminal and type
    Code:
    sudo dpkg -i *.deb
    . Now we must also get the applet that is attached to the bottom of this post and follow the instructions under Panel Applet on this post to install it.
    log out and relogin, add the applet and everything should now be hopefully working.
    Last edited by SkiesOfAzel; April 29th, 2007 at 02:06 AM.

  4. #464
    Join Date
    Oct 2006
    Beans
    23

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    SkiesOfAzel, I thank you. It worked like a charm and I'm now running the applet happily now. Once again, thanks.

  5. #465
    Join Date
    Feb 2007
    Location
    Athens ,Greece
    Beans
    158
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Did you compile it yourself or did u use the debs ?

  6. #466
    Join Date
    Jul 2005
    Location
    Brasil
    Beans
    52
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Thanks a lot, SkiesOfAzel. I'm now running macmenu-applet on Feisty amd64 (I compiled it myself)
    It's just a little big bugged with Gaim, it shows almost all the time the Gaim menu instead of the conversation menu. Also, the "now typing" icon moved to the top too, it shouldn't happen... It's ugly. And Firefox doesn't work.
    Anyway, it is great, thank you!
    Last edited by LaSSarD; April 25th, 2007 at 09:16 PM.
    Come on, search is easier than posting!
    UbuntuForums Search | Ubuntu Wiki | UbuntuGuide | GoogleLinux

  7. #467
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    SkiesOfAzel: I followed your post and it worked after trying the precompiled Feisty packages. It somewhat worked... It only shows the program name; no File, Edit, whatever, and the text isn't even aligned correctly. :s

    Edit: It shows File and such with some programs, but the program name is still not aligned correctly

    By the way, how would I go about undoing this so that when I don't have the applet on the menubar, the File, Edit, etc shows up in the window and not at the corner of the screen?
    Last edited by Kotjze; April 25th, 2007 at 10:24 PM.

  8. #468
    Join Date
    Feb 2007
    Location
    Athens ,Greece
    Beans
    158
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    First of all, the macmenu hack isn't mine it's Aqd's so thank him not me, i just wrote a howto.
    The reason the hack doesn't work with some programs is that these programs don't use gtk for their interface thus the hack can't steal their menus and send them to the applet on your panel. If you have problems with the alignment of the text try changing the font or the font's rendering (i propose this with the sans font and autohinter for font tuning method).
    As for disabling it look here for the environmental variable to do this.
    Btw some of this info has been posted many times on this thread, i know it's a pain to find it on a thread with so many posts but please search a little before you ask something. I will try to make a more complete howto and post it, so that this can be avoided in the future.
    Last edited by SkiesOfAzel; April 26th, 2007 at 12:08 AM.

  9. #469
    Join Date
    Oct 2006
    Beans
    23

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    I used the deb. I tried to compile it, But it didn't work, so I used the deb, and viola.

    It would be cool if Firefox had the file, edit, ect. up at the top, but I understand why it doesn't.

  10. #470
    Join Date
    Feb 2007
    Location
    Athens ,Greece
    Beans
    158
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    When you say it didn't work you mean it didn't compile? Can you tell me what error message it gave you and your version of ubuntu?
    Last edited by SkiesOfAzel; April 26th, 2007 at 06:07 AM.

Page 47 of 299 FirstFirst ... 3745464748495797147 ... LastLast

Tags for this Thread

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
  •