View Single Post
Old October 6th, 2006  
AqD
A Carafe of Ubuntu
 
Join Date: Aug 2006
Beans: 101
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Panel applet for xfce 4.4:



Source and .desktop: Mac Menu plugin | Round corner plugin

Binary builds for i686 are there => http://people.os-zen.net/aqd/repository/ (you need gtk2-aqd and xfce4-macmenu-plugin, and optional xfce4-corner-plugin)

They're arch linux packages (.tar.gz) but should also work for other distros. To install, first make sure you already have gtk+ 2.10.x and xfce 4.4 rc or beta installed, then untar the .tar.gz files and copy all non-dotfiles. If you install to a different xfce4 location, remember to change the line "X-XFCE-Exec=..." in xfce4-macmenu-plugin.desktop and xfce4-corner-plugin.desktop


Mac Menu Applet:

To move or remove the applet, move mouse pointer to the rightmost place of the menubar, where you will see something appearing like a flat button, then right-click on it.

You can right-click to get the panel menu (for restart/quit) if there is no window focused.

Problems and solutions:
  1. GNOME/GTK2 apps' menubars cannot be restored to the original state once you use this applet. However, they wouldn't die even if the applet/panel crashes - restarting xfce4-panel will catch them back (or switch to gnome-panel, which I'll make the same plugin soon).
  2. After you restart the panel, the menubar of currently active window may not be visible, unfocus/focus (or shade/unshade) the main window will make it appear again
  3. Restarting xfwm4 may cause some menubars to disappear - restarting xfce4-panel will solve this
  4. If your application crashes when the applet/panel quits, use my latest gtk2 patch/binary (for gtk 2.10 and 2..

Round Corner Applet:

Just add two corners, move one to left edge and the other to right edge, then left-click on the right corner to change its direction (will be saved automatically).


Cheers!

Last edited by AqD; October 13th, 2006 at 12:20 PM..
AqD is offline   Reply With Quote