Page 57 of 299 FirstFirst ... 747555657585967107157 ... LastLast
Results 561 to 570 of 2990

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

  1. #561
    Join Date
    Mar 2007
    Beans
    Hidden!

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

    Hei,

    i'm on gentoo and installed the macmenu supporting gtk version from the xeffects repo. It mostly works ok, but it seems to cause some trouble with panels temporarily disappearing and application crashes (like evolution).

    But i'm not writing to directly solve these issues...it more made me think about if the patch couldn't be changed/branched to utilize dbus.

    The idea is this:
    - patch gtk to transparently export the whole gtkmenu properties and events to dbus.
    - change the panel-applets to adjust to that dbus interface

    Then, when an application creates a gtkmenu object, the patch would cause gtk to not draw the menu, but rather export all necessary information on the dbus interface and set event handlers on that interface. This includes patching the connect() and related functions for event handling as well.

    Similarly, the panel-applet would signal menu events to the dbus interface, enabling the applications to react on them. My experience in gtk- and dbus-coding (via python) is pretty limited, so i can't really estimate if it could be done in one interface or if one would be needed for every application.

    Does this make sense or is it too much trouble or would it cause dbus namespace cluttering?

    The benefits i imagine are:
    - cleaner implementation
    - more possibilities in terms of hosting and drawing the actual menu, which could then be represented in virtually any form.

    André.

  2. #562
    Join Date
    Apr 2007
    Location
    N/A
    Beans
    85
    Distro
    Ubuntu 11.10 Oneiric Ocelot

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

    ok, i'm a noob!
    And i dont get it , how do i use the topic starters code on feisty?
    step by step answers plz?

    tnx very much
    In Game nick: XTRËËM|RåGË
    GöÐ ®Ë§þËÇT åñÐ Höñöµ®
    Download: Luck And No SkiLL3
    With Ubuntu Christian Edition, you don't need to surf the web. You can walk on it.

  3. #563
    Join Date
    Dec 2005
    Beans
    69
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    I'm trying to compile the GTK patch on Feisty, and I'm running into an error that I can't seem to fix.

    creating libpixbufloader-png.la
    /bin/sed: can't read Storge/gtk+-2.10.11/gdk-pixbuf/libgdk_pixbuf-2.0.la: No such file or directory
    libtool: link: `Storge/gtk+-2.10.11/gdk-pixbuf/libgdk_pixbuf-2.0.la' is not a valid libtool archive
    make[4]: *** [libpixbufloader-png.la] Error 1
    make[4]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11'
    make: *** [all] Error 2


    Any help here? I was following the instructions at here

  4. #564
    Join Date
    Apr 2007
    Location
    N/A
    Beans
    85
    Distro
    Ubuntu 11.10 Oneiric Ocelot

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

    Quote Originally Posted by winter_mute View Post
    tnx for the link, sorry i cant help you.
    But isn't there any step by step guide?
    Because for a noob like me it's pretty hard, i tried to search but no succes!

    edit, i tried the patch but i got this.

    Code:
    configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***
    configure: error:
    *** Checks for TIFF loader failed. You can build without it by passing
    *** --without-libtiff to configure but some programs using GTK+ may
    *** not work properly
    how do i make this work :s, because i want to make it without errors ?
    Last edited by XTREEM|RAGE; May 8th, 2007 at 08:01 PM.
    In Game nick: XTRËËM|RåGË
    GöÐ ®Ë§þËÇT åñÐ Höñöµ®
    Download: Luck And No SkiLL3
    With Ubuntu Christian Edition, you don't need to surf the web. You can walk on it.

  5. #565
    Join Date
    Apr 2007
    Beans
    284
    Distro
    Gutsy Gibbon Testing

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

    Thank you SkiesofAzel and Me801 for hosting those debs. I've showed it to some people and they've gotten very interested in Linux thereafter

    Andre, if they take a dbus approach, does that make the possibility of KDE or Firefox/XUL apps appearing in that applet? I know someone in the Gnome bugzilla also raised the issue of making a freedesktop standard for this.
    [Renouveau- How you can help get a free 3d nVidia driver] | Give AMD and ATI [feedback]on their drivers; why not ask them to give driver specifications so they work better | [Video]: How to create redistributable Debian packages (.deb files)

  6. #566
    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!

    Quote Originally Posted by XTREEM|RAGE View Post
    tnx for the link, sorry i cant help you.
    But isn't there any step by step guide?
    Because for a noob like me it's pretty hard, i tried to search but no succes!

    edit, i tried the patch but i got this.

    Code:
    configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***
    configure: error:
    *** Checks for TIFF loader failed. You can build without it by passing
    *** --without-libtiff to configure but some programs using GTK+ may
    *** not work properly
    how do i make this work :s, because i want to make it without errors ?
    You haven't installed all the dependencies . Anyway if you are on feisty you can get just get and install the debs on page 54. Your searching skills also need a little improving .

  7. #567
    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!

    Quote Originally Posted by winter_mute View Post
    I'm trying to compile the GTK patch on Feisty, and I'm running into an error that I can't seem to fix.

    creating libpixbufloader-png.la
    /bin/sed: can't read Storge/gtk+-2.10.11/gdk-pixbuf/libgdk_pixbuf-2.0.la: No such file or directory
    libtool: link: `Storge/gtk+-2.10.11/gdk-pixbuf/libgdk_pixbuf-2.0.la' is not a valid libtool archive
    make[4]: *** [libpixbufloader-png.la] Error 1
    make[4]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11/gdk-pixbuf'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/data/Temporary Storge/gtk+-2.10.11'
    make: *** [all] Error 2


    Any help here? I was following the instructions at here
    If you want to be sure that you have all the dependencies installed just
    Code:
    sudo apt-get build-dep libgtk2.0-0
    You could also get the debs i posted 3 pages before.

  8. #568
    Join Date
    Mar 2007
    Beans
    Hidden!

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

    Quote Originally Posted by jiminycricket View Post
    Andre, if they take a dbus approach, does that make the possibility of KDE or Firefox/XUL apps appearing in that applet? I know someone in the Gnome bugzilla also raised the issue of making a freedesktop standard for this.
    I'm afraid, not. KDE currently doesn't use dbus.
    And XUL apps don't support the bar currently as well and won't by default if it's dbus'ed.

    However, if we use dbus, these could all be patched to do so as well. That's another advantage. AFAIK, KDE is about to move to dbus, anyways.

    But seemingly i was under the wrong impression about how it's done currently. Can someone please shed some light for me? What is "the KDE method" of exporting the menu?

    Thanks,
    André.

  9. #569
    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!

    Similar to the gnome one, just a little more polished and stable execution ,from my admittedly limited experience with it. To do this properly you would probably need wrappers for every major linux toolkit out there, or better yet as the gnome devs said, a freedesktop specification .
    What can be done is a rewrite of the patch to eliminate the rough edges but as the whole project is currently unmaintained this doen't seem likely to happen . Ideas always fly around, what is usually missing is a team to implement them .

  10. #570
    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!

    @SkiesOfAzel: looks like you bring some fresh to macmenu patch and the applet ?
    Why don't you make a new topic with clear new instruction in Tutorials & Tips subforums (with a link to the original thread) ?
    If i renember well, Adq (original poster) do his army and should not maintain this for a while, you may want to succeed ?

Page 57 of 299 FirstFirst ... 747555657585967107157 ... 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
  •