Page 151 of 299 FirstFirst ... 51101141149150151152153161201251 ... LastLast
Results 1,501 to 1,510 of 2990

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

  1. #1501
    Join Date
    Jul 2006
    Beans
    8

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

    Does anyone have any tips for getting this working in the 64-bit version of Gutsy?

    The instructions given here, are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.p...6&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.

    Thanks for any help that anyone can lend.

  2. #1502
    Join Date
    Jan 2007
    Beans
    12

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

    Quote Originally Posted by KingNothing13 View Post
    Does anyone have any tips for getting this working in the 64-bit version of Gutsy?

    The instructions given here, are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.p...6&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.

    Thanks for any help that anyone can lend.
    For gutsy 64 this work (you can find the original post at page 102 of this thread):
    Code:
    Here's how I did it and it worked.
    I'm on Gutsy x86_64 (Turion64 HP dv2000).
    1. Download the gtk patch that detaches menus from gnome windows.
    (http://ubuntuforums.org/attachment.p...chmentid=47782)
    2. Download the mac menu applet source.
    (http://ubuntuforums.org/attachment.p...chmentid=48014)
    3. Install the necessary dependencies for compiling gtk
    Code:
    
    sudo apt-get install build-essential autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev
    
    3. Get GTK source
    Code:
    
    apt-get source libgtk2.0-0
    
    4. Patch and compile GTK source
    Code:
    
     
    gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
    cd gtk+2.0-2.12.0/
    patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
    ./configure --prefix=/usr
    make
    sudo make install
    
    5. Reboot.
    6. Compile the applet.
    Code:
    
    sudo apt-get install libwnck-dev libpanelappletmm-2.6-dev
    tar -xvzf macmenu-applet-0.1.tar.gz
    cd macmenu-applet-0.1/
    make
    sudo make install
    
    7. Restart gnome-panel
    Code:
    
    killall gnome-panel

  3. #1503
    Join Date
    Jul 2006
    Beans
    8

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

    Quote Originally Posted by stiffler_zzz View Post
    For gutsy 64 this work (you can find the original post at page 102 of this thread):
    Cool, thanks, that helped some, but this command:

    Code:
    apt-get source libgtk2.0-0
    is returning:
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to find a source package for gtk+2.0
    Does anyone have any ideas as to how to fix that one?

    EDIT-- OK, got the source myself, from here http://packages.ubuntu.com/gutsy/libs/libgtk2.0-0 but now I am getting an error during the 'make' phase of the build.

    grumble.

    Again, thanks in advance!
    Last edited by KingNothing13; January 28th, 2008 at 02:55 AM.

  4. #1504
    Join Date
    Jul 2006
    Beans
    8

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

    OK, I got it all compiled, but it looks like this...notice how it cuts off before the whole word of "File". Anyone have any ideas how to fix that?


  5. #1505
    Join Date
    Dec 2007
    Location
    Cebu, Philippines
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Thanks for this! I followed mostly Tamilia's guide here and some others' (and my few modifications) and I got my Ubuntu Gutsy 32-bit to look like this:


    Thanks so much to AqD who started this and to Lauri Tamilia for the great guide and themes.

  6. #1506
    Join Date
    Dec 2007
    Beans
    290

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

    Hi, KingNothing, and everybody,

    Someone should update the ubuntu wiki

    The applet has been rewitten, and renamed from macmenu to globalmenu. (since I don't want to go to law issues).
    That's why the file is so difficult to find. If you really want the very old adq's original code you can check it out from
    http://gnome2-globalmenu.googlecode....n/tags/0.1_11/

    The most recent stable tags is located at
    http://gnome2-globalmenu.googlecode..../tags/0.3_234/
    The applet code contains a bug and after su make install, you have to edit /usr/lib/bonobo/server/GNOME_GlobalMenuApplet.server.

    http://gnome2-globalmenu.googlecode..../branches/0.3/ contains bug fixes since the 234 tag. But the fixes might have introduced new bugs. (Since I don't have time to heavily test them).

    Perhaps the documentation in this link will be useful if you want to install
    http://code.google.com/p/gnome2-glob...i/Installation

    I was planning to write a guide for 'build from scratch' but never manage to collect enough time. There was some building infomation in the Fedora Guide, but might not work. Things have changed a lot, especially the way to patch gtk. Originally I have some auto scripts for patching it on Fedora, but several weeks ago I got rid of them and now you have to manually patch it.

    Sorry for the inconvenience, but I am writing a bunch of new code. (hopefully) an easier to install and patch version of global menu 'system' will be available in late February, when a build from scratch guide will be ready, and hopefully several binary packages will also be provided for downloading.

    Also, please see
    http://code.google.com/p/gnome2-glob...evelopmentHome
    for a brief idea about the recent development.


    Quote Originally Posted by KingNothing13 View Post
    Does anyone have any tips for getting this working in the 64-bit version of Gutsy?

    The instructions given here, are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.p...6&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.

    Thanks for any help that anyone can lend.

  7. #1507
    Join Date
    Dec 2007
    Location
    Cebu, Philippines
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Hi rainwoodman,

    Are you the new "maintainer" for the mac/global menu? Sorry, I was not able to read through all the posts in this thread (I was too lazy; I just read from 1 through 70 then skipped to here... =p) so I don't know what really has been happening with this applet.

    I've recently (about 2 or 3 days ago) downloaded the mac/global menu from the links given by this https://wiki.ubuntu.com/global_menu site and compiled from source code using the guide in the "Install using autotools" section. Is the menu from this site different from the one in the links you just posted?

    Quote Originally Posted by rainwoodman View Post
    Also, please see
    http://code.google.com/p/gnome2-glob...evelopmentHome
    for a brief idea about the recent development.
    I get a "Not Found" error when I click on the diagram link found in the page you mentioned.

    Thanks,
    Rai

  8. #1508
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

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

    Quote Originally Posted by rainwoodman View Post
    Hi, KingNothing, and everybody,

    Someone should update the ubuntu wiki

    The applet has been rewitten, and renamed from macmenu to globalmenu. (since I don't want to go to law issues).
    That's why the file is so difficult to find. If you really want the very old adq's original code you can check it out from
    http://gnome2-globalmenu.googlecode....n/tags/0.1_11/

    The most recent stable tags is located at
    http://gnome2-globalmenu.googlecode..../tags/0.3_234/
    The applet code contains a bug and after su make install, you have to edit /usr/lib/bonobo/server/GNOME_GlobalMenuApplet.server.

    http://gnome2-globalmenu.googlecode..../branches/0.3/ contains bug fixes since the 234 tag. But the fixes might have introduced new bugs. (Since I don't have time to heavily test them).

    Perhaps the documentation in this link will be useful if you want to install
    http://code.google.com/p/gnome2-glob...i/Installation

    I was planning to write a guide for 'build from scratch' but never manage to collect enough time. There was some building infomation in the Fedora Guide, but might not work. Things have changed a lot, especially the way to patch gtk. Originally I have some auto scripts for patching it on Fedora, but several weeks ago I got rid of them and now you have to manually patch it.

    Sorry for the inconvenience, but I am writing a bunch of new code. (hopefully) an easier to install and patch version of global menu 'system' will be available in late February, when a build from scratch guide will be ready, and hopefully several binary packages will also be provided for downloading.

    Also, please see
    http://code.google.com/p/gnome2-glob...evelopmentHome
    for a brief idea about the recent development.
    I'll try to update the global menu ubuntu wiki page tonight, and yes packages ill be wellcome (maybe SkiesOfAzel could provide them for ubuntu ? )

  9. #1509
    Join Date
    Jul 2007
    Beans
    193
    Distro
    Gutsy Gibbon Testing

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

    ^ Is there anything in the wiki to help people still using the old macmenu/gtk hack move to the new global menu applet?

  10. #1510
    Join Date
    Dec 2007
    Location
    Cebu, Philippines
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Quote Originally Posted by LavianoTS386 View Post
    ^ Is there anything in the wiki to help people still using the old macmenu/gtk hack move to the new global menu applet?
    I am (was) using the old macmenu and I've "uninstalled" it (by reinstalling libgtk2). Am downloading the new global menu now... Hopefully, I'll be able to get this to work...

Page 151 of 299 FirstFirst ... 51101141149150151152153161201251 ... 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
  •