Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th May 2008
vermaden's Avatar
vermaden vermaden is offline
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053
Default HOWTO: XFCE MacOS-like menu plugin

1. build XFCE Mac Menu Plugin:
% fetch http://aur.archlinux.org/packages/xfce4-macmenu-plugin/xfce4-macmenu-plugin.tar.gz
% tar -xzvf ~/xfce4-macmenu-plugin.tar.gz
x xfce4-macmenu-plugin/
x xfce4-macmenu-plugin/PKGBUILD
x xfce4-macmenu-plugin/macmenu-tslist.h
x xfce4-macmenu-plugin/macmenu-applet.c
x xfce4-macmenu-plugin/xfce4-macmenu-plugin.desktop
% cd xfce4-macmenu-plugin
% gcc -std=c99 -Wall -Werror -O2 -fno-strict-aliasing -pipe -s -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` $CFLAGS $LDFLAGS -o libmacmenu.so macmenu-applet.c
% cat > xfce4-macmenu-plugin.desktop << EOF
[Xfce Panel]
Name=Mac Menu
Comment=Mac Menubar applet for gtk2-aqd
% cp xfce4-macmenu-plugin.desktop /usr/local/share/xfce4/panel-plugins/macmenu.desktop
% cp libmacmenu.so /usr/local/lib/xfce4/panel-plugins/libmacmenu.so
2. Patch GTK2:
# cd /usr/ports/x11-toolkits/gtk20
# make extract
===>  Extracting for gtk-2.10.11
=> MD5 Checksum OK for gnome2/gtk+-2.10.11.tar.bz2.
=> SHA256 Checksum OK for gnome2/gtk+-2.10.11.tar.bz2.
===>   gtk-2.10.11 depends on file: /usr/local/bin/perl5.8.8 - found
# cd work/gtk+-2.10.11 || cd /usr/ports/obj/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.11
# fetch http://aur.archlinux.org/packages/gtk2-aqd/gtk2-aqd/gtkmenubar.diff
# patch -p0 < gtkmenubar.diff
# cd /usr/ports/x11-toolkits/gtk20
# make deinstall install clean
3. Start xfce4-panel:
% xfce4-panel
4. Add MacMenu to Panel

5. Enjoy the result*


*results may vary
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd

Last edited by Carpetsmoker; 7th May 2008 at 07:20 AM. Reason: Fix title
Reply With Quote

xfce, xfce-panel

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Lightest XFCE - Making XFCE lighter and faster vermaden Guides 27 2nd September 2010 12:24 PM
How do I display Beastie next to the startup menu? troberts FreeBSD General 2 7th December 2008 02:16 PM
WINE menu maxrussell FreeBSD Ports and Packages 2 15th October 2008 09:08 PM
Howto start the Xfce? aleunix OpenBSD Packages and Ports 5 3rd June 2008 10:58 AM
MacOS X Sandvine Fix kill-9 Other BSD and UNIX/UNIX-like 0 8th May 2008 01:29 AM

All times are GMT. The time now is 09:44 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick