BSDnexus forums

You are not logged in.

#1 2007-04-13 11:46:55

vermaden
Member
From: pl_PL.lodz
Registered: 2006-11-20
Posts: 163
Website

XFCE Mac Menu Plugin

1. build XFCE Mac Menu Plugin:

Code:

% 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]
Type=X-XFCE-PanelPlugin
Encoding=UTF-8
Name=Mac Menu
Comment=Mac Menubar applet for gtk2-aqd
Icon=gnome-fs-home
X-XFCE-Exec=/usr/local/lib/xfce4/panel-plugins/libmacmenu.so
EOF
% 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:

Code:

# 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:

Code:

% xfce4-panel

4. Add MacMenu to Panel
http://vermaden.proplayer.pl/gfx/screen … nu-add.png

5. Enjoy the result* smile
http://vermaden.proplayer.pl/gfx/screen … result.jpg
http://img81.imageshack.us/img81/9823/screenshotcd0.png

references:
http://ubuntuforums.org/showthread.php?t=241868

*results may vary wink


"religions, worst damnation of mankind"
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

Offline

 

#2 2007-04-13 15:53:12

onlinebacon
Member
From: England
Registered: 2006-08-01
Posts: 42
Website

Re: XFCE Mac Menu Plugin

Ooooh i like that, i gotta put that on my xfce ^.^

Thanks man tongue


Running FreeBSD on amd64 (athlon64 3000+, 512mb RAM, 160gb HD, Asus motherboard, 450w PSU and ATI radeon 9700)

Offline

 

#3 2007-04-13 17:48:19

vermaden
Member
From: pl_PL.lodz
Registered: 2006-11-20
Posts: 163
Website

Re: XFCE Mac Menu Plugin

You are welcome, have fun wink


"religions, worst damnation of mankind"
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

Offline

 

#4 2007-04-17 07:47:12

dynek
A bizarre NetBSD user
From: Switzerland
Registered: 2005-03-26
Posts: 1030
Website

Re: XFCE Mac Menu Plugin

Thanks for the doc !


<wintellect> NetBSD users are smart enough to accept that there's no 3D support tongue

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson