DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th May 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default HOWTO: XFCE MacOS-like 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/scr...acmenu-add.png

5. Enjoy the result*
http://vermaden.proplayer.pl/gfx/scr...enu-result.jpg
http://img81.imageshack.us/img81/9823/screenshotcd0.png

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

*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
  #2   (View Single Post)  
Old 7th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

The patch has moved to http://aur.archlinux.org/packages/gt...kmenubar.patch (Extension changed from .diff to .patch)

I also made a FreeBSD port for it (see attachment), unfortunatly it can't go in the ports collection because of the GTK2 patch ...
Attached Files
File Type: gz xfce4-macmenu-plugin.tar.gz (1.2 KB, 178 views)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 18th May 2008
cysquatch cysquatch is offline
New User
 
Join Date: May 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

Thats XFCE? Impressive!!
Reply With Quote
  #4   (View Single Post)  
Old 3rd June 2008
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by cysquatch View Post
Thats XFCE? Impressive!!
Note:
Only the image on imageshack is visible.

Last edited by aleunix; 3rd June 2008 at 03:00 PM.
Reply With Quote
  #5   (View Single Post)  
Old 4th June 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by aleunix View Post
Note:
Only the image on imageshack is visible.
I'm afraid I do not have that screenshot any more.
__________________
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
Reply With Quote
  #6   (View Single Post)  
Old 4th June 2008
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Thanked 3 Times in 3 Posts
Default

No problem i utilized two solutions when i want storage file.
A web service:
as google, for small files;
like mediafire for hosting big files.
Although this is not always accessible is one of the few that does not include deadlines in case we have registered.
Reply With Quote
  #7   (View Single Post)  
Old 26th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

The patch have moved to googlecode (the ubuntu forums have the new URL) and now you need vala to compile it. The good news is that you don't need to patch gtk2 anymore and you don't need to fix wxgtk2 neither.
Reply With Quote
  #8   (View Single Post)  
Old 26th March 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by fbsduser View Post
The patch have moved to googlecode (the ubuntu forums have the new URL) and now you need vala to compile it. The good news is that you don't need to patch gtk2 anymore and you don't need to fix wxgtk2 neither.
Thanks for info, any links before I engage google?
__________________
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
Reply With Quote
  #9   (View Single Post)  
Old 26th March 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by vermaden View Post
Thanks for info, any links before I engage google?
Here is it.
http://code.google.com/p/gnome2-globalmenu/
Reply With Quote
Old 27th March 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by fbsduser View Post
The Global Menu Is only for GNOME, not for XFCE, or maybe I am mising something here?

But nice that they want to include it into GNOME base, I only hope that they do not write that in this Mono shit
__________________
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
Reply With Quote
Old 18th April 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by vermaden View Post
The Global Menu Is only for GNOME, not for XFCE, or maybe I am mising something here?

But nice that they want to include it into GNOME base, I only hope that they do not write that in this Mono shit
The latest svn version (0.8x) includes experimental XFCE support.
Reply With Quote
Old 18th April 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by fbsduser View Post
The latest svn version (0.8x) includes experimental XFCE support.
What includes experimental XFCE support? GTK?
__________________
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
Reply With Quote
Old 20th April 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 103
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by vermaden View Post
What includes experimental XFCE support? GTK?
AFAIK the menubar module itself does. (It used to be a gtk patch, but from awhile ago it became a module written in vala, which connects with an applet and puts the menubar's in it).
Reply With Quote
Old 20th April 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Ok, thanks for explanations and info about new version/improovements.
__________________
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
Reply With Quote
Reply

Tags
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 11:45 AM.


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