PDA

View Full Version : Mac-style Menu Bar for GTK and Java/Swing applications!


Pages : 1 2 3 [4] 5 6 7 8 9 10 11 12

ayoli
August 2nd, 2007, 12:19 PM
how difficult is it to uninstall this?

You have 2 solutions:
1. you edit/create a .gnomerc ile in your home (don't forget the leading dot) like this
gedit ~/.gnomerc
and put in it:
export GTK_MENUBAR_NO_MAC=1
this desactivates mac menu

OR

2. you reinstall original gtk packages to get completly rid of patched gtk like this:
sudo apt-get install libgtk2.0-0 --reinstall

use one of these 2 ways

jayy16
August 2nd, 2007, 02:22 PM
Any one know how to fix this error????

The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".

sloonz
August 3rd, 2007, 06:09 AM
No luck, now I get this
ben@ubuntu-desktop:~/xfce4-macmenu-plugin$ gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` $CFLAGS $LDFLAGS -o $pkgname macmenu-applet.c || ret
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
bash: ret: command not found
ben@ubuntu-desktop:~/xfce4-macmenu-plugin$



Redownload and unpack the archive: pkgname was not defined, so wour command was:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` -o macmenu-applet.c

which means you compiled stdin into macmenu-applet.c :)

The correct command is:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` -o xfce4-macmenu-plugin macmenu-applet.c

Niklas Schröder
August 3rd, 2007, 11:08 AM
nvm. forget i said anything.

jayy16
August 3rd, 2007, 03:16 PM
Any one know how to fix this error????

The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".

Niklas Schröder
August 3rd, 2007, 08:30 PM
ok. problems again...

can you make the bar transparent?

why doesn't it work with firefox?

can someone point me in the direction of an un-install how-to? i already tried re-installing gtk and doing the hidden file in /home, but neither worked. i'd REALLY like to not have to re-install ubuntu to get rid of this if i decide to.

please help.

kalikiana
August 4th, 2007, 12:53 AM
why doesn't it work with firefox?

Firefox is, despite what you would think, not an actual gtk application but instead something that tries to imitate gtk (with xul). Consequently the menubar won't be able to hijack its menubar because it doesn't recognize it.

can someone point me in the direction of an un-install how-to? i already tried re-installing gtk and doing the hidden file in /home, but neither worked. i'd REALLY like to not have to re-install ubuntu to get rid of this if i decide to.

Please read a bit through the thread or search the forums. If you properly reinstall gtk there is no way the menubar hack would still be there.

Slaco
August 4th, 2007, 12:59 AM
Redownload and unpack the archive: pkgname was not defined, so wour command was:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` -o macmenu-applet.c

which means you compiled stdin into macmenu-applet.c :)

The correct command is:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_XFCE `pkg-config --cflags --libs libwnck-1.0 libxfce4panel-1.0` -o xfce4-macmenu-plugin macmenu-applet.c
Wow... thanks a lot!
But a problem seems to have emerged. Notice the light gray bar besides the application label depicted in the attached image. Any ideas as to how I can remove this? It disappears if I hide the label, but I would like to keep it. I am aware of the brilliantly thought out fix posted in post #640, but there isn't a window selector applet for xfce.

Again, thanks in advance.

ashvala
August 4th, 2007, 04:58 AM
Wow... I use OS X & this is a great hack

Niklas Schröder
August 4th, 2007, 08:22 AM
thanks for the answer to my questions. :) it's too bad it doesn't work with firefox. :(

waterman
August 4th, 2007, 12:43 PM
because you don't have the applet, the file you've downloaded is only the patched gtk lib. you have to search in previous posts for the applet.

finally i find macmenu applet, but it is on rapidshare, can anyone reupload it on any free server??
There is that file:
http://rapidshare.com/files/29455993/gnome-macmenu-applet.tar.gz

Yuzem
August 4th, 2007, 04:02 PM
I think rapidshare is free. Chose the free option.

waterman
August 5th, 2007, 02:00 AM
Yes but I have shared IP and then I cant download from rapidshare.com :-( Can anyone plz reupload it?

Marsjannno
August 5th, 2007, 06:13 PM
http://chomikuj.pl/Chomik.aspx?id=chuj

Can anybody tell my how can I get over problem with:

OAFIID:GNOME_MacMenuApplet when i am trying to run applet?

And what to do with this:
http://img465.imageshack.us/img465/1051/pnjs0.th.png (http://img465.imageshack.us/my.php?image=pnjs0.png)

bubba2120
August 5th, 2007, 07:48 PM
how do i remove this?

NoSmokingBandit
August 5th, 2007, 10:31 PM
Wow... thanks a lot!
But a problem seems to have emerged. Notice the light gray bar besides the application label depicted in the attached image. Any ideas as to how I can remove this? It disappears if I hide the label, but I would like to keep it. I am aware of the brilliantly thought out fix posted in post #640, but there isn't a window selector applet for xfce.

Again, thanks in advance.

I would like this fix as well, i dont care for the window selector applet next to it, it ruiuns the visual flow having that icon next to the gnome-menu icon.

dwegner
August 6th, 2007, 03:52 AM
how do i remove this?

There are a couple of ways people have recommended removing it but none of them worked for me. Here is what i did:


Opened Synaptic Package Manager
Searched for "libgtk2.0-0"
Selected the package and went to Package > Force Version and chose a different version
Let that install (it took a couple of dependencies with it, but those were reinstalled later)
Went back to libgtk2.0-0 and then made sure it was installed to the most updated version (2.10.11-0ubuntu3 for me
Rebooted and everything was back to normal


I know this list might seem incomplete, unfortunately I did not record my actions as I was doing this..silly me. But I got back to original menu bars where they were supposed to be.

Hope this helps.

Yuzem
August 6th, 2007, 01:25 PM
Yes but I have shared IP and then I cant download from rapidshare.com :-( Can anyone plz reupload it?

Try the attached file.

bubba2120
August 6th, 2007, 03:00 PM
http://chomikuj.pl/Chomik.aspx?id=chuj

Can anybody tell my how can I get over problem with:

OAFIID:GNOME_MacMenuApplet when i am trying to run applet?

And what to do with this:
http://img465.imageshack.us/img465/1051/pnjs0.th.png (http://img465.imageshack.us/my.php?image=pnjs0.png)

this is what happened to me and is the same reason why i wanted to remove it. i couldnt figure it out so i had to format and reinstall. im not srue but i think it has something to do with compiz fusion

ayoli
August 6th, 2007, 03:41 PM
this is what happened to me and is the same reason why i wanted to remove it. i couldnt figure it out so i had to format and reinstall. im not srue but i think it has something to do with compiz fusion

this pb has nothing to do with compiz fusion, i had this pb before and was running beryl as composite WM and i've never had this pb with compiz-fusion. It seems to depend of applet version and/or compilation

bubba2120
August 6th, 2007, 04:03 PM
i want to try again but i have no idea where to get these files because the links are down on the first page, does anyone have them and could maybe upload them somewhere. it would be much appreciated

jr.gotti
August 6th, 2007, 05:13 PM
When I use this applet, it lays a flat gray color over my gradient png macstyle panel background. Due to this I had to completely remove the background, as it looked, well, bad. It's not THAT much of an issue, but it would be nice if I could retain my background AND the macstyle menu. Anyone know how to do this?

Thanks,
Jason

ayoli
August 6th, 2007, 05:22 PM
When I use this applet, it lays a flat gray color over my gradient png macstyle panel background. Due to this I had to completely remove the background, as it looked, well, bad. It's not THAT much of an issue, but it would be nice if I could retain my background AND the macstyle menu. Anyone know how to do this?

Thanks,
Jason

you need a gtk theme that handle mac menu as this one (http://www.gnome-look.org/content/show.php/imetal?content=63734) for example or tweak it yourself

avb
August 8th, 2007, 10:27 PM
guys, i'm trying to make macmenubar as a hack throw LD_PRELOAD.

now its compiles good, but it seems that i'm missing some gcc parameters.

Maybe somebody who knows gtk programming better can make it fully work?

Attaching sources.

PS: THere is no sence try to use this hack in current state, because its not working at all.

HumanPerson
August 9th, 2007, 07:19 AM
THESE DEBS ARE FOR FEISTY ONLY!!!
Here are the debs i promised so if you have problems compiling try them instead. They are hosted on rapidshare. If you have problems downloading from them just post a service that works for you and i will upload the files there too. The debs are build using the Ubuntu versions of the gnome packages for more compatibility.
You can get the hacked gtk from here (http://rs89.rapidshare.com/files/29453895/gtk-new.tar.gz). These packages include both the macmenu hack needed for macmenu to work and a hack to remove the underlines from the menu entries Osx style.

What you get here (http://rapidshare.com/files/29454963/gnome-panel.tar.gz) is a gnome panel without the annoying arrow under the main menu icon.

Finally here (http://rapidshare.com/files/29455993/gnome-macmenu-applet.tar.gz) is the macmenu applet.
[EDIT]
Me801 has kindly offered to host the debs to his ftp server, so if you have problems with rapidshare, get them here (http://www.userbarsco.uni.cc/macmenu/macmenu/).

Installation:
Move the archives to a new folder, open a terminal , browse to this folder and :
tar -zxvf gnome-panel.tar.gz
tar -zxvf gtk-new.tar.gz
sudo dpkg -i *.deb
tar -zxvf gnome-macmenu-applet.tar.gz
sudo cp -f gnome-macmenu-applet /usr/lib/gnome-applets
sudo cp -f GNOME_MacMenuApplet.server /usr/lib/bonobo/servers
Logout, relogin and add the macmenu applet to your panel.
I've installed it, but I don't want anymore. How do I remove it?

ayoli
August 9th, 2007, 08:09 AM
I've installed it, but I don't want anymore. How do I remove it?

there is dozen of posts about that in this thread, here's one:
http://ubuntuforums.org/showthread.php?t=241868&page=76#751

young_dad
August 9th, 2007, 11:04 AM
hi!
before i will describe my problem, sorry for my bad english.
i'm using ubuntu feisty fawn and i have installed the mac menu bar. it really works fine, but i have one problem. if i will start a java application written by myself with eclipse, i don't have a menubar in my swing gui.
by starting the same application in vista, it works.
do anyone have an idea, how can i fix the problem, so i can use the applications with ubuntu?
thanks.
young_dad

ayoli
August 9th, 2007, 02:20 PM
hi!
before i will describe my problem, sorry for my bad english.
i'm using ubuntu feisty fawn and i have installed the mac menu bar. it really works fine, but i have one problem. if i will start a java application written by myself with eclipse, i don't have a menubar in my swing gui.
by starting the same application in vista, it works.
do anyone have an idea, how can i fix the problem, so i can use the applications with ubuntu?
thanks.
young_dad
try in a terminal:
export GTK_MENUBAR_NO_MAC="name_of_your_app" && name_of_your_app
that's supposed to disable macmenu for name_of_your_app
if this works you can put in your home directory in a file named .gnomerc (don't forget the leading dot, and create this file if it doesnt exist) this:
export GTK_MENUBAR_NO_MAC="name_of_your_app another_app and_one_more"
(note you may need logout/in)

Dr.Anarchy
August 10th, 2007, 09:54 PM
hi guys,

as most have asked, why is there an grey stripe selector after the mac menu. i have tried means and ways to remove it but it simply dont go away.

Also the text is out of alignment.

Will there be any kind soul to look into it and provide a solution to resolve this?

Your help is greatly appreciated.

Hairy_Palms
August 14th, 2007, 10:06 AM
im going though trying to compile this for gnome in gutsy, i can compile gtk2 fine, but when i try and compile the panel applet using this command

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0` $CFLAGS $LDFLAGS -o $pkgname macmenu-applet.c

i get this error

/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

according to dpkg crt1.o is provided bu libc6-dev which i have installed.

Hairy_Palms
August 14th, 2007, 10:16 AM
nevermind, ive compiled it and i still get the problem that other have had of it exiting with OAFID error
it compiles with this command posted earlier in the thread

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0` -o gnome-macmenu-applet macmenu-applet.c

lsd
August 17th, 2007, 06:43 PM
Any .DEB for XFCE out there? Arch packages can't be installed in Xubuntu. I've googled a lot without success. Can anybody help me (and all XFCE users) pointing just a .DEB package for the menu applet?

SkiesOfAzel
August 18th, 2007, 04:29 PM
I have attached a compiled macmenu applet for xfce. It also has a FAKE default menu (it's just an unclickable label) . Just copy xfce-macmenu-plugin to /usr/lib/xfce4/panel-plugins and xfce-macmenu-plugin.desktop to /usr/share/xfce4/panel-plugins .

Btw the OAFID error happens because the xfce-macmenu-plugin.desktop points to a wrong path for the plugin. Open the file in gedit and just change the X-XFCE-Exec entry to /usr/lib/xfce4/panel-plugins/xfce4-macmenu-plugin .

lsd
August 18th, 2007, 05:18 PM
:KSIt works! thank you very very much!

BOBSONATOR
August 19th, 2007, 07:06 PM
Is there a way of making this bar transparent like in the screenshots?

SkiesOfAzel
August 20th, 2007, 07:06 AM
Go to GompizConfig Manager select general options and then opacity settings.
Press add and add the string name=gnome-panel and set the value to 70 .

SkiesOfAzel
August 22nd, 2007, 08:56 AM
I am currently hacking a default menu to the applet . I've made some progress but i won't have time to finish it till October (exams). It is in a working state already though (see attachment). I also intend to rewrite most of it to get rid of the notebook .
Other ideas for the more distant future are :
Make gconf-entries and some kind of gui configurator for switching the hack on and off.
Make a wrapper for gtkmenubar so that it inherits the panel visual style when macmenu is on.

Dark Star
August 22nd, 2007, 08:59 AM
Is there a way of making this bar transparent like in the screenshots?

Right on the panel then click on properties then under background select solid colour and drag the bar to full transparency :D

idn
August 22nd, 2007, 10:32 AM
I am currently hacking a default menu to the applet . I've made some progress but i won't have time to finish it till October (exams). It is in a working state already though (see attachment). I also intend to rewrite most of it to get rid of the notebook .
Other ideas for the more distant future are :
Make gconf-entries and some kind of gui configurator for switching the hack on and off.
Make a wrapper for gtkmenubar so that it inherits the panel visual style when macmenu is on.


That looks awesome! Good work

jayy16
August 22nd, 2007, 11:12 PM
Can someone please help me I've installed it and everything but all it says is what is open like if I just have it on the desktop it will just say gnome or when firefox is open it just says firefox and their is no Mac symbol just the words....can you guys please help me I've been trying to make this work for the longest time.

Yuzem
August 22nd, 2007, 11:31 PM
If the desktop has focus it will say Gnome and if firefox has focus it will only say firefox. Try it with gedit, nautilus, thunar, etc... it doesn't work with firefox.

super newbie
August 23rd, 2007, 03:56 AM
I've got the same problem. I think I've done everything right but I never see the apple logo... at the desktop, all I see is "gnome" I understand that it won't work with firefox , but should I see something other than what I'm seeing (see screenshot) anyway.....I've been working on this all day and it's become very confusing trying read through 80 pages of posts with what seems are different instructions every few pages. I really appreciate everyone trying to help the new guys, but can someone point me to a simple set of instructions from start to finish many, many, many thanks

SkiesOfAzel
August 24th, 2007, 10:15 AM
Here are the source files of the macmenu hack and applet. Come October , i will make a new post with a guide, debs and probably a new macmenu applet.

SkiesOfAzel
August 24th, 2007, 10:26 AM
I've got the same problem. I think I've done everything right but I never see the apple logo... at the desktop, all I see is "gnome" I understand that it won't work with firefox , but should I see something other than what I'm seeing (see screenshot) anyway.....I've been working on this all day and it's become very confusing trying read through 80 pages of posts with what seems are different instructions every few pages. I really appreciate everyone trying to help the new guys, but can someone point me to a simple set of instructions from start to finish many, many, many thanks

It seems to work properly. Applications that don't have a menu (like gnome-screenshot) or aren't native gtk like firefox and open office can't have their menus on the applet either. As for the apple logo that you see on most screenshots, it has nothing to do with the macmenu applet, it's just the main menu applet with a different icon from the default. The macmenu applet displays only the name of the app that has focus , and its menu if the app has one and is written in gtk.

Tuan Tran
August 24th, 2007, 11:21 AM
wouldn't it be easier by installing the mac theme from gnomelook. i get the EXACT mac look including the yellow,green and red buttons on the right and the little gel button on the left...but great tutorial all the same.

SkiesOfAzel
August 24th, 2007, 07:23 PM
Here is the hacked macmenu with the default menu. It's nothing much and most of the menu entries don't work (i haven't implemented their funtions yet). I also have to say , that i haven't tested it much, so there are most probably going to be bugs, so be WARNED ;) . The main reason i post this is that i am going to be very busy for the next month (exams) so i won't have time to work on this till October. So if anyone is interested to play with the code, here it is :) .

In order for this to work, extract the macmenu_scripts archive inside your home folder (so that you have a new .macmenu folder in there ).

Most of the entries that do work, do that through scripts for now (zenity).

What works:

-The whole file menu except from Connect to Server.
-The preferences entry in the Edit menu.
-The only view menu entry (special characters).
-The whole go menu except the clear history option.
-The help menu (yes i know, a tough one :P ).

Future plans:

-Fix the rest of the entries.
-Add a nautilus history menu entry to the Go menu.
-Add a window list to the Windows menu.
-Add entries for maximizing and minimizing windows to the Windows menu.
-Change the menu icons to better looking (non stock) versions.

I haven't decided yet what to do with the view menu, suggestions for entries are welcome and encouraged.

SkiesOfAzel
August 24th, 2007, 07:30 PM
Here is another screenshot :)

ondope
August 25th, 2007, 07:57 AM
Hi SkiesOfAzel,

How do I install the files in macmenu.tar.gz? There's an applet file and a c file. Where should i copy the applet file?

Keep up the good work!

SkiesOfAzel
August 25th, 2007, 09:20 AM
If you already had an applet installed , just
sudo cp -f gnome-macmenu-applet /usr/lib/gnome-applets
if not, you will also need the server file (you can find it on a post of mine on this page along with the original source code). Then do
sudo cp -f GNOME_MacMenuApplet.server /usr/lib/bonobo/servers

Btw, most of the working entries are for gnome (nautilus and other gnome apps used).

ondope
August 25th, 2007, 10:41 AM
thanks man. Yeah I have it already installed :) Really good work you've done

super newbie
August 25th, 2007, 12:02 PM
@ SkiesOfAzel thanks for the files and info,

Yuzem
August 25th, 2007, 12:31 PM
Excelent work!

Some suggestions for the view menu: :)
Show desktop
Exposé mode (compiz)
Desktop wall (compiz)
Expo mode (compiz)
Widget layer (compiz)
Shift Switcher (cover or flip mode) (compiz)

cawill
August 25th, 2007, 01:22 PM
Can anyone recommend a good gtk theme that isn't a mac one and that works with the menu bar as when I choose other themes the menu and the panel are different colours?

SkiesOfAzel
August 25th, 2007, 02:22 PM
Excelent work!

Some suggestions for the view menu: :)
Show desktop
Exposé mode (compiz)
Desktop wall (compiz)
Expo mode (compiz)
Widget layer (compiz)
Shift Switcher (cover or flip mode) (compiz)

Show Desktop is a good idea, but compiz only options are imo a bad idea.

SkiesOfAzel
August 25th, 2007, 02:27 PM
Can anyone recommend a good gtk theme that isn't a mac one and that works with the menu bar as when I choose other themes the menu and the panel are different colours?

When you say a mac skin do you mean a skin of the default (aqua) mac look or any skin that got ported from a mac equivalent ? If it's the former you can find my theme pack here (http://skiesofazel.deviantart.com/art/imetal-for-gnome-53789181) but if you don't like it, just find a skin that you do like and i will fix it for you.

ondope
August 25th, 2007, 03:25 PM
I've installed the latest .server, copied it to the bonobo directory and the applet and copied that one to the panel directory but the new menu (when selecting the desktop) is just below the panel, not ON the panel. All gtk applications are still on the panel. Any suggestions?

cawill
August 25th, 2007, 04:00 PM
When you say a mac skin do you mean a skin of the default (aqua) mac look or any skin that got ported from a mac equivalent ? If it's the former you can find my theme pack here but if you don't like it, just find a skin that you do like and i will fix it for you.

I mean't a theme that wasn't a mac theme, so I could use my own custom icons as I don't like the mac ones that much, I have found a gtk theme (Glory-Simplex) that I like now, but thanks for your help, is it possible to turn the mac menu bar applet transparent so I could have my panel any colour?

SkiesOfAzel
August 25th, 2007, 04:14 PM
I've installed the latest .server, copied it to the bonobo directory and the applet and copied that one to the panel directory but the new menu (when selecting the desktop) is just below the panel, not ON the panel. All gtk applications are still on the panel. Any suggestions?

Create a file named .gnomerc in your home directory , paste this
export GTK_MENUBAR_NO_MAC="macmenu" save and relogin. It's just the hack stealing the applet menu.

TheWiseNoob
August 25th, 2007, 11:35 PM
I can't find the source for this anywhere. The files already compiled don't work for me when I put them in the correct directories and restart.

I've followed many "guides" people have posted but every time the applet didn't work.

Can someone please post the source and tell me how to get this working because I'm obviously doing something wrong. I'm using 64-bit Ubuntu. Hopefully that isn't the problem.

Dark Star
August 25th, 2007, 11:40 PM
Nice work there all :D

ondope
August 26th, 2007, 03:51 AM
Create a file named .gnomerc in your home directory , paste this
export GTK_MENUBAR_NO_MAC="macmenu" save and relogin. It's just the hack stealing the applet menu.

that makes the panel restart 12 times and finally quitting. Do I need more in that file?

SkiesOfAzel
August 26th, 2007, 05:36 AM
Do you have another applet with a menu on your panel (mainly menu bar)? Then remove it and try again.

ondope
August 26th, 2007, 11:52 AM
even without the mac menu in the panel at all, the panel restarts 10-12 times. Hmm can I trace it in some log file? The output of "gnome-panel" in a terminal doesn't give any clues.

SkiesOfAzel
August 26th, 2007, 12:18 PM
In order to stop this from happening you have to remove the menu bar (the applications places system bar) applet not macmenu. Put a # in front of
export GTK_MENUBAR_NO_MAC="macmenu", relogin, remove the menubar applet, remove the #, relogin and the restarting should stop. When i am finished with exams i will try and fix this but for now the macmenu is incompatible with the menubar applet.

ondope
August 26th, 2007, 02:06 PM
ah ok. Thank you. I forgot I had dualhead setup with my TV and on that one is an "Applications" menu. Now it works. Good work. But for some reason (regardless of the font) the application name isn't aligned with the menu. This has been adressed before. Any idea how to solve it?

SkiesOfAzel
August 26th, 2007, 02:39 PM
Try Lowering the font's reesolution.

Kpax1
August 26th, 2007, 02:59 PM
I am having some problems making the menu bar look correct. I am running Feisty Fawn, and installed these packages:

http://ubuntuforums.org/showpost.php?p=2591836&postcount=532

I am using an image for the menu bar background, but the mac-menu applet just overlays a solid grey--the colour of a window panel. I tried modifying the gtkrc file of the theme I am using with this code:

http://ubuntuforums.org/showpost.php?p=2595693&postcount=542

But it had no effect. Please advise.

Kpax1
August 26th, 2007, 03:00 PM
.

ondope
August 26th, 2007, 03:50 PM
Try Lowering the font's reesolution.

that didn't help. Same thing. How did you code the position? Or where to look, then I'll try to recompile myself..

gundumfx
August 26th, 2007, 03:52 PM
well i knew how to do this from a long time well i foud it cool but i don't use it

jbdz5
August 26th, 2007, 05:32 PM
i don't understand what to put in the command <-p0 ..../...../ where the periods are. could anyone help me?

semperaltus
August 28th, 2007, 03:22 PM
hi
i have just installed the macmenu bar, but it doesnt appear where it is supposed to do , the apple doesnt appear, it just a mess for me,,
bus the question is,, how can i uninstal it??
im using ubuntu feisty fawn
thanks

ayoli
August 28th, 2007, 05:00 PM
hi
i have just installed the macmenu bar, but it doesnt appear where it is supposed to do , the apple doesnt appear, it just a mess for me,,
bus the question is,, how can i uninstal it??
im using ubuntu feisty fawn
thanks
- there is no apple included, it's just ubuntu main menu with a customized icon.
- to place it wher you want just right click on the applet choose move and drag it where you want to have it.
- to uninstall:
sudo apt-get install libgtk2.0-0 --reinstall

neilq101
August 29th, 2007, 06:46 PM
Hi, I followed the steps in this post; http://ubuntuforums.org/showpost.php?p=2591836&postcount=532
and it worked ok, but I don't like it, and when I remove the macmenu applet from the top panel, the menu bars hang just underneath the panel on the top left. How do I undo all of this? I tried the command in the previous post, and all i got was 'Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.' I am using Ubuntu Feisty.

ÂntîsKàn
August 30th, 2007, 08:21 AM
Hello,
Is it possible to have a menubar looks exactly like the panel ? I have an SVG image and I want to have it on all of my panel. Now I have it on my entire panel except my menubar. Thank you.

Yuzem
August 30th, 2007, 09:27 AM
Yes, it is possible but you have to edit the theme...
http://ubuntuforums.org/showpost.php?p=2730556&postcount=625
...or use a theme designed for the macmenu hack.

ÂntîsKàn
August 31st, 2007, 07:12 AM
Yes, but there are two problems:
1 - Does it works with clearlooks or othere theme engines ?
2 - It's normal when no application opens.
Thank you!

Yuzem
August 31st, 2007, 08:30 AM
1-Yes, you can use the pixbuff engine for the menu and clearlooks for the rest. (you can do this with murrina or others engines also)
2-Yes, there will be no menu but the background will be the same as the panel background.

shuttleworthwannabe
August 31st, 2007, 08:42 AM
Sorry to intrude, but is it possible to have this entire item as a single package (in .deb format), so that people like me can just click once or twice and are done;??

Yuzem
August 31st, 2007, 11:25 AM
You will need 2 debs, one for the libgtk hack:
http://ubuntuforums.org/showpost.php?p=3078335&postcount=730
And the other for the applet:
http://ubuntuforums.org/showpost.php?p=3142842&postcount=768

cawill
September 1st, 2007, 01:07 PM
How do you stop the menu hack when using openbox? I have tried using the .gnomerc but that only works when I used gnome not openbox, is it possible on openbox?

ayoli
September 1st, 2007, 03:12 PM
How do you stop the menu hack when using openbox? I have tried using the .gnomerc but that only works when I used gnome not openbox, is it possible on openbox?
that should work if you find an conf file that openbox loads at startup and ad in it :
export GTK_MENUBAR_NO_MAC=1

Zat3r
September 1st, 2007, 11:24 PM
Hi!
I have just recently installed this awesome hack on my laptop.
Everything is working fine except for:

1. I get that little gray ugly thing after my App label. I know that it is solvable by recompiling the applet. The problem is that I don't know how to do that. I I haven't been able to download 'libwnck-1.0'.

2. The App label is also a mess.. Sometimes the whole appname is displayed, sometimes it cuts the label and end with '...'. How do I fix that? It's not even any logic behind.. It cuts GNOME into GN ... But Firefox and Terminal is displayed as it should..

Is it my hack that is messed up or is it the applet?

EDIT: My applet is somewhat messed up.. I changed the applet and now that gray **** is gone.. It still cuts the label though and this applet is without the desktop menu..

Kpax1
September 2nd, 2007, 03:50 AM
Has anyone implemented code in Feisty Fawn for the gtkrc theme file that renders the background section of the menubar correctly with the applet? I am using clearlooks theme, a png for the bar, and a section of this png for the gtkrc file. Also, when I click on the desktop, a menu pops up below right of the menubar, the mac menu. But it is inert: when I click on it it dissapears.

ayoli
September 2nd, 2007, 04:26 AM
here's my tweaked gtkrc attached

Kpax1
September 2nd, 2007, 06:33 PM
Thanks Ayoli!
One question: What is 'panel-bg.png', and 'panelbutton2.png'.
BTW, nice desktop!

ayoli
September 3rd, 2007, 03:13 AM
Thanks Ayoli!
One question: What is 'panel-bg.png', and 'panelbutton2.png'.
BTW, nice desktop!

here they are

Kpax1
September 3rd, 2007, 05:53 AM
I am trying to uninstall the app. I uninstalled part of libgtk2.0-0 and during the removal, programmes like evolution mail were removed, so I killed it half-way through. now my desktop is messed up, and I can't bring up alt-F2 command. And everytime I try and update, install or upgrade libgtk2.0-0 it says it is already installed. how can I revert back to the default settings?

ayoli
September 3rd, 2007, 07:08 AM
I am trying to uninstall the app. I uninstalled part of libgtk2.0-0 and during the removal, programmes like evolution mail were removed, so I killed it half-way through. now my desktop is messed up, and I can't bring up alt-F2 command. And everytime I try and update, install or upgrade libgtk2.0-0 it says it is already installed. how can I revert back to the default settings?

sudo apt-get install ubuntu-desktop --reinstall
will reinstall the whole gnome desktop, the best way i guess as we don't know exactly which packages were removed before you killed the process.
A note for those who want to uninstall macmenu do :
sudo apt-get install libgtk2.0-0 --reinstall

AbstauBaer
September 3rd, 2007, 10:13 PM
1- I think thats a font problem, try with another font.
2- You have to add something like this:

style "menubar"
{
xthickness = 0
ythickness = 0
engine "pixmap"
{
image
{
function = BOX
state = NORMAL
file = "panel-bg.png"
border = { 0, 0, 0, 0 }
stretch = FALSE
}
}
}


class "GtkMenuBar*" style "menubar"
widget "*PanelWidget*" style "menubar"
widget "*PanelApplet*" style "menubar"
class "*Panel*" style "menubar"

Replace panel-bg.png by the image you want.

The same here for the panels:
style "panelbg"
{
xthickness = 0
ythickness = 0
bg_pixmap[NORMAL] = "panel-bg.png"

}
class "*Panel*" style "panelbg"
class "*notif*" style "panelbg"
class "*Notif*" style "panelbg"
class "*Tray*" style "panelbg"
class "*tray*" style "panelbg"

You have to check that this options doesn't already exist in the theme. Just in case add the options to the end of the gtkrc file.
Also check at the beginning for the "include" option. They have priority.

You Should add class "GtkWidget" style "panelbg" to the bottom list of classes.
Been searching for that line long time now -.-
Added the Old Style (Grey) beetwen the application name / title and the menu...

EDIT: You shouldn't ! I got the style of the menubar now all over the head of my windows -.- will work on that.

Opeth115
September 4th, 2007, 09:40 AM
sudo apt-get install ubuntu-desktop --reinstall
will reinstall the whole gnome desktop, the best way i guess as we don't know exactly which packages were removed before you killed the process.
A note for those who want to uninstall macmenu do :
sudo apt-get install libgtk2.0-0 --reinstall

that doesn't work for me i would really like to uninstall this as it get's annoying to me after a while. I get this error at the terminal:

Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.

ayoli
September 4th, 2007, 12:30 PM
that doesn't work for me i would really like to uninstall this as it get's annoying to me after a while. I get this error at the terminal:

weird, try to manually download the package here (bottom of the page, choose your arch):
http://packages.ubuntu.com/feisty/libs/libgtk2.0-0
then in a terminal:
sudo dpkg -i /wherever/you/download/libgtk2.0-0_2.10.11-0ubuntu3_i386.deb

anurup
September 5th, 2007, 05:30 PM
I run Fedora 7 and followed the last 10 pages of this post.

Was getting the OAFIID error like many other users. Got rid of it and now I can see macmenu on my panel - though from the looks of it, its going to take some more work to get it up and running the way I would like it to!

Am using F7 x86_64, so points 3) and 4) might be of interest to people with the OAFIID error.

here are the steps I followed:

1) Patched gtk2 first
2) Compiled GNOME applet using Hairy_Palm's command

3) Using SkiesOfAzel's hints did the following:

-> created /usr/lib/gnome-applets and /usr/lib64/gnome-applets
-> copied (-f) the compiled applet (from 2) ) into both these directories

4) Copied GNOME_MacMenuApplet.server to:

-> /usr/lib/bonobo/servers
-> /usr/lib64/bonobo/servers

5) Add applet to wherever...

Works now. But looks bad. Will work to fine tune it.

What's with this project? First AqD and all his files disappear. Then messiah SkiesOf Azel appears and gives life-giving instructions! Same person? :-)

Very mysterious - but very nice. Thank you to everyone.

I'll be back...

UPDATE:

Looks like the gnome-applet in the /usr/lib64/directory works for me. So placing and creating the /usr/lib directories are redundant. I guess you'll need to place it in /usr/lib or /usr/lib64 depending upon your OS.

anurup
September 6th, 2007, 05:34 AM
Hi,

While the app names shows up on the panel and cycle through open apps, none of the apps' menubars are hijacked by the macmenu applet. They remain pretty much a part of the local window. Tried with Nautilus just to make sure.

Can anyone help with that? Thanks in advance.

Yuzem
September 6th, 2007, 08:04 AM
This could happen if libgtk is reinstalled by the update manager.
Try to reinstall the hack.

anurup
September 6th, 2007, 04:07 PM
Yuzem,

Thanks for your reply. Started from scratch. Installed gtk2 source. Patched it. Logged out.

Back in and compiled the hack. Installed . Same thing.

Anything else that I can try? Thanks.

Yuzem
September 6th, 2007, 04:33 PM
mmm... :-k
I'm not sure, you are using Fedora, I have it working on Ubuntu Feisty.

You could try to convert the Feisty debs:
http://rapidshare.com/files/27341099/libgtk2.0-0_2.10.11-0ubuntu3_macmenu1.0.11_1_.tar.gz
...to rpm with Alien:
http://www.linuxdocs.org/HOWTOs/RPM-for-Unix-HOWTO-8.html

But I don't know what could be the result of doing that... :confused:
Maybe you should wait for a better answer...

anurup
September 6th, 2007, 05:58 PM
Oddly enough I just accidentally found out that all KDE apps give the expected behaviour - i.e. the menubar. That's weird definitely.

The fonts on the menubar are however those of the native KDE app and not of the system GNOME theme.

But none of the GNOME apps show up their menubars in the applet. They retain their menubars locally as I have stated before.

Yikes. So close yet so far... :-(

anurup
September 6th, 2007, 06:11 PM
Tried out SkiesOfAzel's modified code for a default GNOME menu. It compiles and works fine - i.e. the menu shows up beside "GNOME" on the applet.

But when I open up Nautilus, the same menu stays and there is no change...

I hope these symptoms are narrowing down the possibilities. Something is preventing the grabbing of the focus of the opened GNOME applications. Have no idea about coding so any help would be appreciated...

What part of the code grabs the windows focus and hijacks the menubar? Is that causing the problem?

Koala Kid
September 7th, 2007, 03:28 PM
Hello all,
how do you create panels like from this screenshot (the lower panel, of course) ?
http://static.flickr.com/112/284328104_6995c6f4b7_o.jpg

thanks in advance

anurup
September 7th, 2007, 03:40 PM
Solved on Fedora 7!

Sorry to be bragging about this in the ubuntuforums though. Thanks again Yuzem. By the way, gtk2 wasn't getting updated as you suspected. In fact, Fedora doesn't update without permission - just one of the things I like about it...

Turns out the gtk2 patching was causing the problem. I run x86_64 and therefore the libraries weren't linking properly. Some fiddling with LD_LIBRARY_PATH did the trick. Now for alignment etc....

By the way, read all 85 pages (there should be an award for this) and realise in hindsight that all problems and solutions have been mentioned at least once. (apart from mine of course which I think is esoteric to 64 bit systems :-()

Koala Kid - awn, kiba-dock, gnome-dock, kxdocker. Google for more info...

Koala Kid
September 7th, 2007, 03:53 PM
Oh no, I'm not talking about "docks" for open windows, but about panel that contains application launchers...

ayoli
September 7th, 2007, 04:17 PM
Solved on Fedora 7!

Sorry to be bragging about this in the ubuntuforums though. Thanks again Yuzem. By the way, gtk2 wasn't getting updated as you suspected. In fact, Fedora doesn't update without permission - just one of the things I like about it...

Turns out the gtk2 patching was causing the problem. I run x86_64 and therefore the libraries weren't linking properly. Some fiddling with LD_LIBRARY_PATH did the trick. Now for alignment etc....

By the way, read all 85 pages (there should be an award for this) and realise in hindsight that all problems and solutions have been mentioned at least once. (apart from mine of course which I think is esoteric to 64 bit systems :-()

yay, bravo, here's an award dude, you deserve it :D

\ /
( )
/__\
(sorry, i'm not really good at ascii art, but that the intention)

w0ei
September 8th, 2007, 04:37 PM
I run Fedora 7 and followed the last 10 pages of this post.

Was getting the OAFIID error like many other users. Got rid of it and now I can see macmenu on my panel - though from the looks of it, its going to take some more work to get it up and running the way I would like it to!

Am using F7 x86_64, so points 3) and 4) might be of interest to people with the OAFIID error.

here are the steps I followed:

1) Patched gtk2 first
2) Compiled GNOME applet using Hairy_Palm's command

3) Using SkiesOfAzel's hints did the following:

-> created /usr/lib/gnome-applets and /usr/lib64/gnome-applets
-> copied (-f) the compiled applet (from 2) ) into both these directories

4) Copied GNOME_MacMenuApplet.server to:

-> /usr/lib/bonobo/servers
-> /usr/lib64/bonobo/servers

5) Add applet to wherever...

Works now. But looks bad. Will work to fine tune it.

What's with this project? First AqD and all his files disappear. Then messiah SkiesOf Azel appears and gives life-giving instructions! Same person? :-)

Very mysterious - but very nice. Thank you to everyone.

I'll be back...

UPDATE:

Looks like the gnome-applet in the /usr/lib64/directory works for me. So placing and creating the /usr/lib directories are redundant. I guess you'll need to place it in /usr/lib or /usr/lib64 depending upon your OS.

Which command did you use to compile the applet? Could you post it here? Thanks!

anurup
September 9th, 2007, 12:53 PM
First, thanks ayoli. I'd like to express my gratitude to my Fedora x86_64 OS, my Athlon 3000+, my second OS (Tiger of course)...

Compile command:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` $CFLAGS $LDFLAGS macmenu-applet.c -o gnome-macmenu-applet

If compiling for a 64-bit binary do BEFORE compilation:

export LD_LIBRARY_PATH='/usr/lib64:/lib64'

Also forgot to mention that before copying the GNOME_MacMenuApplet.server file to the .../.../servers directory, change the second (or maybe third or fourth :-p) line to point to /usr/lib64/.../...

w0ei
September 12th, 2007, 01:11 PM
First, thanks ayoli. I'd like to express my gratitude to my Fedora x86_64 OS, my Athlon 3000+, my second OS (Tiger of course)...

Compile command:

gcc -std=c99 -Wall -Werror -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` $CFLAGS $LDFLAGS macmenu-applet.c -o gnome-macmenu-applet

If compiling for a 64-bit binary do BEFORE compilation:

export LD_LIBRARY_PATH='/usr/lib64:/lib64'

Also forgot to mention that before copying the GNOME_MacMenuApplet.server file to the .../.../servers directory, change the second (or maybe third or fourth :-p) line to point to /usr/lib64/.../...

Hmm ok, did everything and it works but I still have an annoying problem, a small gap between the menu and the panel.. See here: http://ubuntuforums.org/showpost.php?p=3038777&postcount=702 . So I understand you also use Fedora 7, do you also have this problem?

vbvamsi
September 13th, 2007, 01:39 AM
I tried these steps. I lost my gnome-panel after this. I am trying to reinstall it using

sudo apt-get install gnome-panel

Its giving me following error. Is there a way to fix it.
The following packages have unmet dependencies:
gnome-panel: Depends: gnome-panel-data (= 1:2.18.1-0ubuntu3.1) but 1:2.18.1-0ubuntu3.2 is to be installed

thanks

penguinux
September 15th, 2007, 08:31 AM
i installed this on my ubuntu 7.04, but how do I start it?

penguinux
September 15th, 2007, 08:32 AM
this is what i downloaded ....
I was able to successfully install it but I don't now how to start
it.

http://ubuntuforums.org/attachment.php?attachmentid=39986&d=1186421095

thanx in advance!

Yuzem
September 15th, 2007, 10:40 AM
Right clic on a panel and chose add to panel... Select "mac menu"

kepahe
September 15th, 2007, 12:55 PM
JAVA/SWING HACK has been removed becasue it's not ready for real apps
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi all!

I hacked gtk2 to use mac-style menubars, and added panel applets for xfce (4.4+) and gnome.

GTK Patches: for gtk 2.10.x (http://aur.archlinux.org/packages/gtk2-aqd/gtk2-aqd/gtkmenubar.diff) | 2.8.x (http://aur.archlinux.org/packages/gtk2-aqd/gtk2-aqd/gtkmenubar-2.8.diff) | AUR (http://aur.archlinux.org/packages.php?do_Details=1&ID=6447)
GNOME Panel Applet: see post http://ubuntuforums.org/showpost.php?p=1593123
Xfce Panel Applet (xfce 4.4): see post http://ubuntuforums.org/showpost.php?p=1586951 (need libwnck>=2.16)

Ubuntu Edgy Packages #1: Cwiiis's http://chrislord.net/files/gtkmenubar/
Ubuntu Edgy Packages #2: flargen's, see post http://ubuntuforums.org/showpost.php?p=1600937
Gentoo Packages: see post http://ubuntuforums.org/showpost.php?p=1672912
Lunar Linux Packages: see post http://ubuntuforums.org/showpost.php?p=1612710
Official Arch Linux packages (.tar.gz format): http://aquila.deus.googlepages.com/archlinuxpackages
(names are gtk2-aqd, gnome-macmenu-applet, xfce4-macmenu-plugin and xfce4-corner-plugin)

Screenshots (official):
http://static.flickr.com/117/284304699_60d79c3555_m.jpg (http://static.flickr.com/117/284304699_60d79c3555_o.png) http://static.flickr.com/112/275099051_58c8d4fff0_m.jpg (http://static.flickr.com/112/275099051_58c8d4fff0_o.png) http://static.flickr.com/108/263218425_fce75ce02b_m.jpg (http://static.flickr.com/108/263218425_fce75ce02b_o.png)
Screenshots from zammi (left 2) and Cimi86 (right 1):
http://static.flickr.com/117/284328107_af99da556d_m.jpg (http://static.flickr.com/117/284328107_af99da556d_o.jpg) http://static.flickr.com/112/284328104_6995c6f4b7_m.jpg (http://static.flickr.com/112/284328104_6995c6f4b7_o.jpg) http://static.flickr.com/114/290063868_264a518fef_m.jpg (http://static.flickr.com/114/290063868_264a518fef_o.png)

Environment variable GTK_MENUBAR_NO_MAC let you set a list app executable names to disable mac menubar for, separated by space (default "gnome-panel acroread"). Set it to 1 to completely disable mac menubar.

If you have KDE apps, set mac-style menubar [control center -> desktop -> behavior] and you will see it appearing in gnome or xfce panel applet. (be careful - the menubars will die when panel/applet quits)

To move/remove the panel applets, move mouse to the rightmost place, where you'll see a flat button with no text inside, left-click on it to bring up the applet menu (right-click in xfce's panel plugin). If you have turned on the title label, you can also get the menu by right-click on it.

Application compatibility:
- Perfect: Azuerus, Eclipse, Epiphany, Evince, Gaim, gFTP, GMPC, Listen, Nautilus, Terminal, Thunar, VMware, ...
- Small problems: Bluefish, Evolution
- Big problems (need patch): all wxGTK-based programs, you would need my patches in here (http://aur.archlinux.org/packages.php?do_Details=1&ID=6707)
- Crash: Acrobat Reader 7 (mac menubar disabled by default)

All the Alt+[A-Z] menu hotkeys cannot work with mac menubar - no fix yet.

To patch gtk2 manually:
0.Get gtk2 source
1.cd ...../..../gtk+-2.10.X (X means the version number)
2.patch -p0 < ......./..../gtkmenubar.diff (gtkmenubar-2.8.diff)
3.configure and make & install

To build the panel applets:
0.Go to AUR entries: Xfce (http://aur.archlinux.org/packages.php?do_Details=1&ID=7054) | GNOME (http://aur.archlinux.org/packages.php?do_Details=1&ID=7070)
1.Download the files under "Source" box
2.See PKGBUILD for gcc arguments and install locations

My modifed GT4_white theme (gtk2, metacity, xfce) => http://www.deviantart.com/deviation/40625220/

For other themes, you can make the menubar thin (more accessible) by edit the /usr/share/themes/THEME_NAME/gtk-2.0/gtkrc, find the line style "menubar" {, and change the ythickness = XXX below it (inside the { and }) to ythickness = 0





wow this looks great.
i just started using ubuntu os. can i install this tool bar on it as well.
could you simplify how to do so..


many thanks!

anurup
September 16th, 2007, 04:15 AM
Hmm ok, did everything and it works but I still have an annoying problem, a small gap between the menu and the panel.. See here: http://ubuntuforums.org/showpost.php?p=3038777&postcount=702 . So I understand you also use Fedora 7, do you also have this problem?

w0ei,

No I don't have that gap. Everything works fine. My panel size is 22 pixels. You can try changing yours and see if you can circumvent the problem...

male81
September 16th, 2007, 05:50 AM
Someone has a package for Gutsy?

Even with the patches for letters emphasized, menu without arrow and the additional space between name of the application and menubar?

Thanks.

:)

bigbrovar
September 17th, 2007, 01:52 PM
please can any body help me..am really interested in having the mac menubar..i have tried reading all the post on this thread but there are just too much...and am confused..is there a guide that i can use that wont be too hard for a noob..i use feisty..please any help would be appreciated

felin
September 17th, 2007, 01:59 PM
please can any body help me..am really interested in having the mac menubar..i have tried reading all the post on this thread but there are just too much...and am confused..is there a guide that i can use that wont be too hard for a noob..i use feisty..please any help would be appreciated

Try this guide: http://www.taimila.com/?q=node/11

or this thread instead: http://ubuntuforums.org/showthread.php?t=412086

bigbrovar
September 17th, 2007, 02:16 PM
Try this guide: http://www.taimila.com/?q=node/11

or this thread instead: http://ubuntuforums.org/showthread.php?t=412086


thanks mate am checking them out..

bigbrovar
September 17th, 2007, 07:51 PM
i have installed the macmenu and every other package gome panel,gtk and macmenu applet...now everything time i open synapitics i get a broken packages notification..appearently the problem can only be fixed if i install some updates..should i go ahead to install this updates or what should i do..i use feisty

Ramesh Karnati
September 21st, 2007, 04:53 AM
Firefox is, despite what you would think, not an actual gtk application but instead something that tries to imitate gtk (with xul). Consequently the menubar won't be able to hijack its menubar because it doesn't recognize it.


Will it work on the firefox with GTK+ for directfb patches?

finsken
September 23rd, 2007, 11:22 PM
Okay, Well, Everything is working, but I have a few problems.

1) The 'Title' isn't aligned... I assume this is an easy config file text fix, but, here's a picture

http://i140.photobucket.com/albums/r17/derangeddingo_2006/Panel.png

2) How, by editing a theme's gtkrc file, can I allow/change a panel background?


1- I think thats a font problem, try with another font.
2- You have to add something like this:

style "menubar"
...
.



I've exactly the same problem.

I tried to edit the panel.rc with your code and some own, but no progress so far. Also tried to change font to align the "title" without any results.

Anyone with ideas of how to fix this?

Neo4
September 24th, 2007, 11:46 AM
THESE DEBS ARE FOR FEISTY ONLY!!!
Here are the debs i promised so if you have problems compiling try them instead. They are hosted on rapidshare. If you have problems downloading from them just post a service that works for you and i will upload the files there too. The debs are build using the Ubuntu versions of the gnome packages for more compatibility.
You can get the hacked gtk from here (http://rs89.rapidshare.com/files/29453895/gtk-new.tar.gz). These packages include both the macmenu hack needed for macmenu to work and a hack to remove the underlines from the menu entries Osx style.

What you get here (http://rapidshare.com/files/29454963/gnome-panel.tar.gz) is a gnome panel without the annoying arrow under the main menu icon.

Finally here (http://rapidshare.com/files/29455993/gnome-macmenu-applet.tar.gz) is the macmenu applet.
[EDIT]
Me801 has kindly offered to host the debs to his ftp server, so if you have problems with rapidshare, get them here (http://www.userbarsco.uni.cc/macmenu/macmenu/).

Installation:
Move the archives to a new folder, open a terminal , browse to this folder and :
tar -zxvf gnome-panel.tar.gz
tar -zxvf gtk-new.tar.gz
sudo dpkg -i *.deb
tar -zxvf gnome-macmenu-applet.tar.gz
sudo cp -f gnome-macmenu-applet /usr/lib/gnome-applets
sudo cp -f GNOME_MacMenuApplet.server /usr/lib/bonobo/servers
Logout, relogin and add the macmenu applet to your panel.


could you host the files on the mediafire.com?

is much better than rapidshare because anyone can download it without waiting or having an account!

thanks

runemaste644
September 24th, 2007, 08:36 PM
Where is the applet?
Was it taken off:confused:

Bamnana
September 25th, 2007, 01:00 AM
How can I get rid of this menu bar?
I can't unistall it from the system.

reda_ea
September 25th, 2007, 02:35 AM
How can I get rid of this menu bar?
I can't unistall it from the system.

open synaptic, go to each one of the gtk packages you installed, look for "force version" in the menu and choose another version.
Install those versions and that's it

ayoli
September 26th, 2007, 03:40 AM
Hi everyone!

Due to various reasons, I have stopped using the mac menubar myself (and maintaining too).

If anyone is willing to continue this project, please contact me by email (mailto:aquila.deus@gmail.com).

Unfortunately, Adq doesn't maintain/develop MAcMenuBar anymore. Does some continue this project ? Or we won't have a macmenu for gtk 2.12 ?

morrissey
September 27th, 2007, 06:45 PM
hi,

i've problems with this Macmenu-Applet (http://ubuntuforums.org/showpost.php?p=2591836&postcount=532).

I've downloaded the three packages and installed it with the code from the post. i think it was successful, cause the menu-bar is separated from the main window (i hope you know what i mean). but when i want to add the applet to the panel, i couldn't find it in the menu. why??

please help me!
thanks a lot
daniel

i use feisty, gnome and beryl....

iSam24
September 28th, 2007, 11:05 AM
THESE DEBS ARE FOR FEISTY ONLY!!!
Here are the debs i promised so if you have problems compiling try them instead. They are hosted on rapidshare. If you have problems downloading from them just post a service that works for you and i will upload the files there too. The debs are build using the Ubuntu versions of the gnome packages for more compatibility.
You can get the hacked gtk from here (http://rs89.rapidshare.com/files/29453895/gtk-new.tar.gz). These packages include both the macmenu hack needed for macmenu to work and a hack to remove the underlines from the menu entries Osx style.

What you get here (http://rapidshare.com/files/29454963/gnome-panel.tar.gz) is a gnome panel without the annoying arrow under the main menu icon.

Finally here (http://rapidshare.com/files/29455993/gnome-macmenu-applet.tar.gz) is the macmenu applet.
[EDIT]
Me801 has kindly offered to host the debs to his ftp server, so if you have problems with rapidshare, get them here (http://www.userbarsco.uni.cc/macmenu/macmenu/).

Installation:
Move the archives to a new folder, open a terminal , browse to this folder and :
tar -zxvf gnome-panel.tar.gz
tar -zxvf gtk-new.tar.gz
sudo dpkg -i *.deb
tar -zxvf gnome-macmenu-applet.tar.gz
sudo cp -f gnome-macmenu-applet /usr/lib/gnome-applets
sudo cp -f GNOME_MacMenuApplet.server /usr/lib/bonobo/servers
Logout, relogin and add the macmenu applet to your panel.

i am really sorry but i live in bulgaria and my ip is bad it says on rapid share please send me the files in e-mail or on a differant link please help me my email is spudnater24@hotmail.com

iSam24
September 28th, 2007, 11:06 AM
i am really sorry but i live in bulgaria and my ip is bad it says on rapid share please send me the files in e-mail or on a differant link please help me my email is spudnater24@hotmail.com

runemaste644
September 29th, 2007, 12:37 PM
Good thing i had KDE, otherwise, i wouldn't have fixed this. The hacked GTK + the MacMenu isn't as trustworthy as you think. Best stick to the KDE macmenu (Built-in:popcorn:)

tryagain
September 30th, 2007, 04:40 AM
Help!

I installed these packages and it really screwed up my GNOME, Windows don't refresh (have to minimize/maximize to redraw), menus are made up of random images from my desktop and some GNOME applets became corrupted. I was told by synaptic that i had broken packages, i fixed them, but still the same problems. How do i unistall these packages or refresh my GNOME packages?

fighetto
September 30th, 2007, 12:08 PM
Please let me host your files... I'm tryin' to download em but I can't do it.

L3oN
September 30th, 2007, 03:34 PM
Hi,
Is there any way to put it on 64bit version?

Frak
September 30th, 2007, 04:01 PM
Hi,
Is there any way to put it on 64bit version?
You just need to compile it.

L3oN
September 30th, 2007, 04:37 PM
How??? And what have I to compile? Can you post me some links to howto, please?

Thanks :)

EDIT: I'm on Gutsy...

L3oN
October 1st, 2007, 10:40 AM
Ok, not possible at the moment... Gutsy has another libgtk version installed...

Sorry... :)

Neo4
October 1st, 2007, 06:23 PM
I appreciated a version for gusty too, but for 32bits version =p

i've tried to install with the festy package but I've no success, just needed to reinstall the gnome panel.

nikoPSK
October 3rd, 2007, 06:18 PM
I thought he whole point of linux was to be different... But great hack. I won't try it though because I don't want to screw my linux pc. Before I became a windows hater (I like the ease of use though...) I tried vtp or vista transformation pack on my pc and I messed around so much it got soooo messed up I had to wipe it clean and re-install everything. I'm not saying that that will happen with this but I have learned to leave things alone.:KS

Frak
October 3rd, 2007, 07:44 PM
I thought he whole point of linux was to be different... But great hack. I won't try it though because I don't want to screw my linux pc. Before I became a windows hater (I like the ease of use though...) I tried vtp or vista transformation pack on my pc and I messed around so much it got soooo messed up I had to wipe it clean and re-install everything. I'm not saying that that will happen with this but I have learned to leave things alone.:KS
If it does screw up, its very easy to fix. Just reinstall libgtk.

nikoPSK
October 3rd, 2007, 10:46 PM
is it usefull actually though?:)

Frak
October 3rd, 2007, 11:05 PM
is it usefull actually though?:)
Not a bit. ;)

It takes longer to use a menu not attatched to your window, and its been proven.

nikoPSK
October 4th, 2007, 12:05 AM
okay then... I won't try it until one actually useful comes out. :lolflag:

(no offence)

sicofante
October 4th, 2007, 12:32 AM
It takes longer to use a menu not attatched to your window, and its been proven.
Some time ago in this very thread I asked for some docs about the subject. Most of what I've found supports the opposite (Mac-style menu is faster), but it's been written by former Apple employees -who seem to be the only usability gurus out there- and I can't seem to find anything else. I'm genuinely interested. Do you have any links to share?

Thanks!

ayoli
October 4th, 2007, 04:38 AM
Not a bit. ;)

It takes longer to use a menu not attatched to your window, and its been proven.

It depends of the monitor size. For those who have small sizes (12.1, 13.3, 14.1) it saves some space and is not so longer to use.
Btw, I agree that it isn't useful for big monitors with high resolutions (over 1280) :)

Frak
October 4th, 2007, 05:15 PM
Correct

Fitts's law, which is a model of human movement which predicts the time required to rapidly move to a target area, as a function of the distance to the target and the size of the target, states that it would take longer at higher resolutions to come to a fixed area within an extreme area (top, bottom, left, or right of the screen). Which the only way to make up the speed is to decrease the resolution, or use the keyboard. Which can be done on ANY OS.

http://en.wikipedia.org/wiki/Fitts%27s_law

sicofante
October 4th, 2007, 08:47 PM
I'm sorry but I can't find any reference to high resolution monitors at the Wikipedia link. Of course it sounds reasonable, but I'm precisely looking for some evidence that supports this.

Even in large screens, it might be easier to target a Mac menu than a window menu. The infinite height of the Mac menu makes the 'size' part of Fitts' law much bigger than the 'distance' part of the law. Am I wrong?

I'm really curious about why the Gnome team opposes the Mac menu bar so heavily. They must have some docs supporting their point of view. I so wish I could take a look at them!! :-)

Frak
October 4th, 2007, 08:54 PM
I'm sorry but I can't find any reference to high resolution monitors at the Wikipedia link. Of course it sounds reasonable, but I'm precisely looking for some evidence that supports this.

Even in large screens, it might be easier to target a Mac menu than a window menu. The infinite height of the Mac menu makes the 'size' part of Fitts' law much bigger than the 'distance' part of the law. Am I wrong?

I'm really curious about why the Gnome team opposes the Mac menu bar so heavily. They must have some docs supporting their point of view. I so wish I could take a look at them!! :-)
Main reason is because it is patented.

sicofante
October 5th, 2007, 12:29 AM
Mmm... are you sure? The patent doesn't seem to be an issue for KDE devs. They DO support Mac menu bar without hacks like the one discussed here.

EDIT: I've just found a very interesting discussion on the subject here: http://gamma.ixda.org/discuss.php?post=1765. They don't reach any conclusions about bigger monitors.

And another very interesting document here: http://www.re-pdf.com/?f=761&x=2af8a04ade24569f2cb539005f14ad30. It shows that increasing the distance to the target doesn't mean increasing the time to reach the target in a linear proportion and how proper mouse acceleration helps keeping things working in bigger screens.

Opeth115
October 5th, 2007, 06:27 AM
I think i screwed up something badly... I wanted to use the package so that you don't get that annoying little arrow on your start button, but im on 64bit. I tried installing those packages for that by using the force architecture command. But, now whenever i log in to gnome my panels don't load up! any help im writing htis cuz i installed an openbox session and im logged into that.

Frak
October 5th, 2007, 07:38 AM
Mmm... are you sure? The patent doesn't seem to be an issue for KDE devs. They DO support Mac menu bar without hacks like the one discussed here.

EDIT: I've just found a very interesting discussion on the subject here: http://gamma.ixda.org/discuss.php?post=1765. They don't reach any conclusions about bigger monitors.

And another very interesting document here: http://www.re-pdf.com/?f=761&x=2af8a04ade24569f2cb539005f14ad30. It shows that increasing the distance to the target doesn't mean increasing the time to reach the target in a linear proportion and how proper mouse acceleration helps keeping things working in bigger screens.
There are continuous debates over this. And both sides may be right. There is more than likely, more than one answer. You see Vista got rid of the menubar for this reason.If there is no menubar, there is nothing to miss.

Also, I've found that KDE devs don't look at patents very often.

Opeth115
October 5th, 2007, 03:11 PM
I think i screwed up something badly... I wanted to use the package so that you don't get that annoying little arrow on your start button, but im on 64bit. I tried installing those packages for that by using the force architecture command. But, now whenever i log in to gnome my panels don't load up! any help im writing htis cuz i installed an openbox session and im logged into that.

anyone please help i have no desktop as of right now is there anything i can do?

kankan
October 5th, 2007, 07:21 PM
Hello All

I installed mac menu applet without any problem
As i call the applet in the panel, i only see the name of the current open Application and no way to configure the Mac Menu.
Btw, i lost all my Menus in Nautilus Windows ... How can i get them back and / or configure the Mac Menu?

Regards.

light-angel
October 5th, 2007, 07:56 PM
from a time now, i've been trying to install the mac-menu applet on ubuntu-feisty.
i've follow this guide to do it:

http://ubuntuforums.org/showpost.php...&postcount=532

The problem is that when i'm done and login again, i can't see the applet when i press add to menu button on the top panel.

i've had used this guide before and worked but now it doesn't.

There's something you might wanna know. when i first tried to install it i just went to the carpet where the files i used for the previus installation of other pc where and install all the debs that where there using the GDI package installer. After that, the menus where outside the windows it belongs to and stayed in the upper left corner of the desktop. After all that was when i decided to install it using the guide i put before.

kankan
October 5th, 2007, 08:05 PM
I also used to have the menu bar outside the window in the top left corner of the screen. I compiled the gnome mac applet and moved the files in /usr/lib/bonobo/servers and /usr/lib/gnome-applets
as i reloged, the menu disapeared from the top left corner, and disapeared totally from all Nautilus windows ... don't know how to recover it !
any help would be appreciated
regards

Dawudd
October 8th, 2007, 12:54 AM
EDIT: I've just found a very interesting discussion on the subject here: http://gamma.ixda.org/discuss.php?post=1765. They don't reach any conclusions about bigger monitors.

And another very interesting document here: http://www.re-pdf.com/?f=761&x=2af8a04ade24569f2cb539005f14ad30. It shows that increasing the distance to the target doesn't mean increasing the time to reach the target in a linear proportion and how proper mouse acceleration helps keeping things working in bigger screens.

Thank you for such an informative contribution to the discussion. :)

It depends of the monitor size. For those who have small sizes (12.1, 13.3, 14.1) it saves some space and is not so longer to use.
Btw, I agree that it isn't useful for big monitors with high resolutions (over 1280) :)

Do you have any actual evidence to back this up? I went back to Raskin’s discussion, which I have previously cited (http://ubuntuforums.org/showthread.php?p=3063961#post3063961). He calculated that, for a 14-inch screen, where the average distance to the Macintosh menu is 80 mm, the time to traverse that distance is 256 ms, as opposed to 663 ms for a Windows menu. So, I wondered, how much bigger would the average distance have to be for Windows to win out? Well, since this is based on actual mathematics (and not speculation), all I had to do was a little algebra and find that the average distance to the menu would have to be 799.5 mm. That is, the distance to the top of the screen would have to be ten times greater. I know of no monitor on the market that fulfils this criterion.

Let’s also not forget two more reasons why reaching this limit is even more unlikely. First, as resolution increases, dpi usually increases far more than screen size. This means that objects need to be drawn bigger on the screen, and the default pointer speed needs to be increased, thus making increased resolution more of a moot point. Secondly, as sicofante pointed out, software acceleration of the pointer means that one can just “throw” the pointer to the top of the screen and get there even faster (whereas this acceleration would likely have a negative effect on Windows menu acquisition).

There are continuous debates over this. And both sides may be right. There is more than likely, more than one answer. You see Vista got rid of the menubar for this reason.If there is no menubar, there is nothing to miss.

Also, I've found that KDE devs don't look at patents very often.

Are you saying that, on Vista, you never have to point at anything? I like that they’re trying to get rid of the menubar and replace it with toolbars and tabbed toolbars (“ribbons”), but that doesn’t negate any argument in favour of putting these toolbars at the top of the screen instead (as I have already argued should be done anyway).

As for patents, the Apple Lisa was released in 1983. If a patent was issued, surely twenty years have passed since, and, thus, it must have expired by now. Can anyone point to a specific patent?

sicofante
October 8th, 2007, 11:36 AM
software acceleration of the pointer means that one can just “throw” the pointer to the top of the screen and get there even faster (whereas this acceleration would likely have a negative effect on Windows menu acquisition).
Let me use this quote as an excuse to bring one reasoning in favor of windows-style menu bars (although all other points lead to mac-style).

If I remember correctly, in the IXDA discussion someone points out that coming back from the menu to the application window should be taken into account too. While the menu bar at the top has infinite height and mouse acceleration makes it easy to reach it, any other targets in the application (icons in tool bars, for instance) are just ordinary targets and become "far targets" when coming back from the menu bar if the monitor is big, the application is not covering the whole screen and the tool bars or tool pallettes are floating somewhere far from the top.

This is an interesting discussion indeed. Gnome is in a very good position to study and decide about it and I wish this hack would be considered by the official Gnome gurus.

OFF TOPIC: For those interested in user interaction design in open source software, I found a very interesing article yesterday: http://humanized.com/weblog/2007/10/05/make_oss_humane/
(If you feel like chatting about it, maybe we should open a new thread.)

Frak
October 8th, 2007, 05:53 PM
Are you saying that, on Vista, you never have to point at anything? I like that they’re trying to get rid of the menubar and replace it with toolbars and tabbed toolbars (“ribbons”), but that doesn’t negate any argument in favour of putting these toolbars at the top of the screen instead (as I have already argued should be done anyway).

As for patents, the Apple Lisa was released in 1983. If a patent was issued, surely twenty years have passed since, and, thus, it must have expired by now. Can anyone point to a specific patent?

The Patent is owned by IBM until 2016. (http://www.google.com/patents?id=D1QoAAAAEBAJ&dq=menubar)

And just because MS took them off for the ribbon because the ribbon is easier to hit, because it has a larger percentage of the screen to occupy.

Also, just because somebody makes a choice doesn't mean its a good one.

sicofante
October 8th, 2007, 09:12 PM
The Patent is owned by IBM until 2016. (http://www.google.com/patents?id=D1QoAAAAEBAJ&dq=menubar)
I would say that's good news. I can't see IBM enforcing patents against FLOSS these days. They're on our side, or so they say...

(I also must remind everyone that software patents have no effect in Europe.)

zniavre
October 11th, 2007, 12:24 PM
hello
so many improvment since last year

i hope some of you could make a gutsy deb or beautifull how-to for gutsy

i tried yesterday to compile but it did not work at all

i m wondering why gnome does not work on this applet and if there is a schedule on official integration
.
so wait and see


thank you all

Cwiiis
October 11th, 2007, 02:40 PM
There won't be any official integration of this patch because it's a very hacky way of doing it. To have mac-style menus needs app-level integration to work correctly in all cases, something that probably won't happen for a while yet...

I *may* package these for gutsy in the near future, if I do I'll post about it here.

sicofante
October 11th, 2007, 03:28 PM
i m wondering why gnome does not work on this applet and if there is a schedule on official integration

There won't be any official integration of this patch because it's a very hacky way of doing it. To have mac-style menus needs app-level integration to work correctly in all cases, something that probably won't happen for a while yet...

I agree that this is hacky and it's not the right way, but I also agree that some official consideration should be made by the Gnome team. Where's the place to push for it? I'm ready for the battle (and most of all, I want to hear their "why-nots"). :)

ayoli
October 12th, 2007, 05:55 PM
I agree that this is hacky and it's not the right way, but I also agree that some official consideration should be made by the Gnome team. Where's the place to push for it? I'm ready for the battle (and most of all, I want to hear their "why-nots"). :)

you may want to read the orignal bug (http://bugzilla.gnome.org/show_bug.cgi?id=353076) posted by adq.

sicofante
October 12th, 2007, 07:19 PM
you may want to read the orignal bug (http://bugzilla.gnome.org/show_bug.cgi?id=353076) posted by adq.
Thanks!

l.duesing
October 13th, 2007, 09:28 AM
Hmm, I'm browsing like dead through over 90 Pages searching for current patches and the applet, all links are dead I found so far.
gtk-patches could be found in http://bugzilla.gnome.org/show_bug.cgi?id=353076
as far as I found out.
Applet Sources are not found so far - any hints?

gdaman
October 13th, 2007, 03:55 PM
I patched several times gtk+-2.10.14 on Feisty x64, but no result for me.
It might be because 2.10.14 version, anyone suggest 2.10.x version that worked with the patch on Feisty x64.
It would be really nice if anyone could post x64 debs, patched files or something that works for sure

cheers

:guitar:

kenchuamy@gmail.com
October 14th, 2007, 09:03 AM
hi everyone,

recently i was successful installed avant window navigator after reading some forum, but it seem the awn(dock) seem to have black bar. unable to solve, can anyone face this before......very new to awn, attract to osx dock. thanks a lot.

nikoPSK
October 14th, 2007, 11:37 AM
requires compiz/ beryl or some window composting program. Please watch where you post. This is the mac menu bar thread not the AWN thread. http://ubuntuforums.org/showthread.php?t=385981&page=90
Here you are. :)

Also this is explained on the guide. Search awn or avant or something before you go asking on a random thread.

Dawudd
October 16th, 2007, 04:48 PM
If I remember correctly, in the IXDA discussion someone points out that coming back from the menu to the application window should be taken into account too. While the menu bar at the top has infinite height and mouse acceleration makes it easy to reach it, any other targets in the application (icons in tool bars, for instance) are just ordinary targets and become "far targets" when coming back from the menu bar if the monitor is big, the application is not covering the whole screen and the tool bars or tool pallettes are floating somewhere far from the top.

That’s a good point. So, how much time is spent on the return trip? Well, that depends on the return distance and the target size (D and S, respectively, in Fitts’ Law). I would posit that this D is, on average, much smaller, considering that one often leaves the cursor alone right after using the menu. The new S, on the other hand, is, on average, much bigger, considering that it is often the size of the whole document being viewed. What about the worse-case scenario, where the return trip is just as long and the destination is just as small? Again, using Jef Raskin’s numbers in The Humane Interface, the return trip is actually identical for both interfaces! Thus, overall, the Macintosh menu is still more efficient. How small would the average distance to the menu bar have to be on a Windows system to equal a Macintosh menu’s speed? It would need to be 28 mm, about a third of the distance. This is all for a 14-inch display. On larger displays, however, D actually grows (for both types of menus).

In case someone is actually trying to follow the mathematics, Raskin’s determination for a and b in Fitts’ Law are 50 and 150, respectively.

OFF TOPIC: For those interested in user interaction design in open source software, I found a very interesing article yesterday: http://humanized.com/weblog/2007/10/05/make_oss_humane/
(If you feel like chatting about it, maybe we should open a new thread.)

One of the founders, Aza Raskin, is Jef Raskin’s son. I would also highly recommend the site and its weblog. :)

The Patent is owned by IBM until 2016. (http://www.google.com/patents?id=D1QoAAAAEBAJ&dq=menubar)

The fact that this was filed by IBM in 1996, rather than by Apple in the 1980’s, should tip you off that this is not about the Macintosh-style menu bar. This patent is about having the same menu bar for all documents, using OpenDoc, rather than having the same location for each application’s different menu bar. In fact, the patent actually refers to the Macintosh menu in explaining the differences: the Macintosh allows each application a ‘private menu bar’ in the same location, whereas this patent is for a ‘global menu bar’ for all applications.

I agree that this is hacky and it's not the right way, but I also agree that some official consideration should be made by the Gnome team. Where's the place to push for it? I'm ready for the battle (and most of all, I want to hear their "why-nots"). :)

So would I, but I doubt we will. My impression is that these changes are being held back by apathy, rather than opposition. You might also have some luck on the GNOME Usability Project (http://www.advogato.org/proj/GNOME Usability Project/)’s mailing list and IRC channel.

On a related note, one might be interested in looking at toolbars in Sugar (http://wiki.laptop.org/go/OLPC_Human_Interface_Guidelines/The_Sugar_Interface/Toolbars) (which is implemented in GTK+). Note the upside-down tabbed toolbars at the very top of the screen (maximizing the Fitts’ Law advantage). Interestingly, there is no reference to Microsoft’s Ribbon. Globalizing such a ‘toolbox’ for GNOME would be brilliant, in my opinion. This is yet another reason to allow toolbars to be placed at the top of the screen as well, as I have already argued.

Frak
October 16th, 2007, 06:33 PM
The fact that this was filed by IBM in 1996, rather than by Apple in the 1980’s, should tip you off that this is not about the Macintosh-style menu bar. This patent is about having the same menu bar for all documents, using OpenDoc, rather than having the same location for each application’s different menu bar. In fact, the patent actually refers to the Macintosh menu in explaining the differences: the Macintosh allows each application a ‘private menu bar’ in the same location, whereas this patent is for a ‘global menu bar’ for all applications.

Then please show the correct patent.

I would love to be intrigued.

sicofante
October 16th, 2007, 07:16 PM
That’s a good point. So, how much time is spent on the return trip? Well, that depends on the return distance and the target size (D and S, respectively, in Fitts’ Law). I would posit that this D is, on average, much smaller, considering that one often leaves the cursor alone right after using the menu. The new S, on the other hand, is, on average, much bigger, considering that it is often the size of the whole document being viewed. What about the worse-case scenario, where the return trip is just as long and the destination is just as small? Again, using Jef Raskin’s numbers in The Humane Interface, the return trip is actually identical for both interfaces! Thus, overall, the Macintosh menu is still more efficient. How small would the average distance to the menu bar have to be on a Windows system to equal a Macintosh menu’s speed? It would need to be 28 mm, about a third of the distance. This is all for a 14-inch display. On larger displays, however, D actually grows (for both types of menus).
I'm sorry I'm really lazy to follow the mathematics behind Fitts' Law, but I would say:

a) The return target is not really the document window (which is very big), but a specific place inside the document, such as the cursor position or a toolbar button. Doesn't that change the calculations?

b) I don't quite get that D grows equally for both menu types. Isn't precisely that distance what were talking about when we say the window menus are closer to the original position of the cursor making the return distance smaller?

One of the founders, Aza Raskin, is Jef Raskin’s son. I would also highly recommend the site and its weblog. :)I also do recommend it. Aza is trying to follow his dad's latest ideas on getting back the text input interface. I'm not quite with them on this, but it's interesting nonetheless.


So would I, but I doubt we will. My impression is that these changes are being held back by apathy, rather than opposition. You might also have some luck on the GNOME Usability Project (http://www.advogato.org/proj/GNOME%20Usability%20Project/)’s mailing list and IRC channel.

On a related note, one might be interested in looking at toolbars in Sugar (http://wiki.laptop.org/go/OLPC_Human_Interface_Guidelines/The_Sugar_Interface/Toolbars) (which is implemented in GTK+). Note the upside-down tabbed toolbars at the very top of the screen (maximizing the Fitts’ Law advantage). Interestingly, there is no reference to Microsoft’s Ribbon. Globalizing such a ‘toolbox’ for GNOME would be brilliant, in my opinion. This is yet another reason to allow toolbars to be placed at the top of the screen as well, as I have already argued.Very interesting indeed. Well, maybe the Gnome developers suffer that terrible Not Invented Here syndrome and want to avoid copying the Mac at all costs. In that case, maybe taking ideas from the nice OLPC project (which everybody sympathizes with) can wake them up? :-)

I've been subscribed to the Gnome Usability list for a few months now and the list is pretty dead (got some 20 messages in all these months). Maybe all the interesting discussions are held anywhere else, I guess I'll have to subscribe to all of their lists to make sure. Anyway, why don't we meet there and make the subject active? You never know... :-)

Dawudd
October 16th, 2007, 11:56 PM
a) The return target is not really the document window (which is very big), but a specific place inside the document, such as the cursor position or a toolbar button. Doesn't that change the calculations?

What I was saying is that often there is no return target at all (such as when the next action is using the keyboard), or it is the whole window (such as for scrolling or focusing a window). If the return target is a toolbar button, well, you already know what I think about where that should be placed. In any case, my calculations were for the worse-case scenario, where the return trip is the same as the first one and the target is as small as a menu bar.

b) I don't quite get that D grows equally for both menu types. Isn't precisely that distance what were talking about when we say the window menus are closer to the original position of the cursor making the return distance smaller?

It doesn’t grow equally. Since I have no data on the average distance to a menu bar on larger displays, I can only estimate. Remember: the trip up on a Macintosh is much quicker than on Windows, whereas the trip back on both systems will be slow. At best, on Windows it will be slightly less slow by the amount of time it takes to travel from a Macintosh menu bar to a Windows menu bar en route to the target. I find it telling that this difference averages to 0 for a 14-inch display, according to Jef Raskin.

Very interesting indeed. Well, maybe the Gnome developers suffer that terrible Not Invented Here syndrome and want to avoid copying the Mac at all costs. In that case, maybe taking ideas from the nice OLPC project (which everybody sympathizes with) can wake them up? :-)

Let us hope so. The two sets of developers already greatly overlap.

I've been subscribed to the Gnome Usability list for a few months now and the list is pretty dead (got some 20 messages in all these months). Maybe all the interesting discussions are held anywhere else, I guess I'll have to subscribe to all of their lists to make sure. Anyway, why don't we meet there and make the subject active? You never know... :-)

Good idea. If you post, I’ll be happy to add to the discussion. I’ve been subscribed ever since I came across ‘Mac-style menubar in GNOME (http://mail.gnome.org/archives/usability/2006-September/msg00039.html)’. Alas, nothing seems to have emerged from that brief discussion.

sicofante
October 17th, 2007, 01:56 PM
What I was saying is that often there is no return target at all
Oh, I see. You're right.



It doesn’t grow equally. Since I have no data on the average distance to a menu bar on larger displays, I can only estimate. Remember: the trip up on a Macintosh is much quicker than on Windows, whereas the trip back on both systems will be slow. At best, on Windows it will be slightly less slow by the amount of time it takes to travel from a Macintosh menu bar to a Windows menu bar en route to the target. I find it telling that this difference averages to 0 for a 14-inch display, according to Jef Raskin.I understand now. Thanks for the explanation.



The two sets of developers already greatly overlap.
Mmmh... That's good, isn't it? While the OLPC screen is fairly small (and that makes some difference), how that new interface would perform on a regular desktop might bring an interesting discussion, no? (and who knows, some consequences to our Gnome desktops). I'll check for mailing lists/forums on that development.


Good idea. If you post, I’ll be happy to add to the discussion. I’ve been subscribed ever since I came across ‘Mac-style menubar in GNOME (http://mail.gnome.org/archives/usability/2006-September/msg00039.html)’. Alas, nothing seems to have emerged from that brief discussion.I'll be there in a couple of days. :)

Dawudd
October 17th, 2007, 02:20 PM
Mmmh... That's good, isn't it? While the OLPC screen is fairly small (and that makes some difference), how that new interface would perform on a regular desktop might bring an interesting discussion, no? (and who knows, some consequences to our Gnome desktops). I'll check for mailing lists/forums on that development.

Yes, very good. :) There are a lot of good ideas there. The Sugar interface displays only one application at a time, so transferring some of its ideas to GNOME would not be completely straightforward, but it would certainly be interesting to discuss.

limitedmage
October 20th, 2007, 01:31 AM
Any hints as to when a gutsy-compatible version of this will be available?

duncan.hawthorne
October 20th, 2007, 08:25 PM
i would love a gutsy compatible version
i cant believe i havent upgraded just because i use this feature so much. dear gnome devs, enable this directly.

kenobiswc
October 21st, 2007, 03:50 AM
When i can use your great macmenu on my gnome 2.20+gtk2.12??
i'm arch user, i haven't upgrade to gnome2.20 because macmenu work fine only on 2.18+gtk2.10!!! Some news??

Frak
October 21st, 2007, 03:51 AM
When i can use your great macmenu on my gnome 2.20+gtk2.12??
i'm arch user, i haven't upgrade to gnome2.20 because macmenu work fine only on 2.18+gtk2.10!!! Some news??
He stopped the project and is looking for a replacent dev for it.

kenobiswc
October 21st, 2007, 04:24 AM
So, now i must uninstall it? :-(
How can i use this bar space? :-P
I'm using gtk+macmenu on top (i want traybar always visible) and AWN on bottom (not visible). If i delete macmenu.... uff... Some ideas?

yun4
October 21st, 2007, 07:59 AM
can't wait for the gusty compatible version =)

kenobiswc
October 21st, 2007, 11:13 AM
Diamin!! And now, how can i use this space?? Uff.... i love gnome... but i won't trash my space on desktop.... muble muble....

avlex
October 21st, 2007, 04:22 PM
Just wanted to let you guys know, I have the Feisty packages for the mac menubar running on Gutsy to some extend. The menu itself works for all the apps that worked before (as far as i tried), however, some apps dont work at all (due to the downgraded gtk).

Apps that are working as far as I tried: contacts, dates, evolution, gthumb, ekiga, nmapfe, wireshark, xchat-gnome-0.18 (compiled), devhelp, glade, acidrip, audacity, gnomebaker, easytag, rhythmbox and banshee

Not working are: inkscape, gimp (needs gtk 2.10.13), cedega (probably needs pygtk downgrade), nemiver, avahi-discover, gnome-system-monitor, exaile (probably needs mono downgrade), gedit and !!! the ubuntu update dialog !!!


This is not a proper fix and will cause problems!!! (which is the reason, why i wont tell the steps for the command-line here... People who can handle the procedure, can probably handle the problems, it causes as well)

Basically i would advise not to do it at all, however, if you still want to anyway, you should create a new directory and back up copies of the package, you are going to downgrade there. If anything should go wrong, simply cd to that directory and dpkg -i *.deb to reinstall the current versions. The packages, you should back up are:
libgtk2.0*
gnome-panel*
gtk-engines-pixbuf
libpanel-applet2*
libwnck22
libwnck-common

Those are likely to be found in /var/cache/apt/archive, if you just installed or upgraded (like me) the system. If not, you can find current versions of those packages on http://packages.ubuntu.com.

Now you need to get and install libwnck18 and libwnck-common for feisty, which can also be found on http://packages.ubuntu.com and then simply install the menubar packages for feisty as described. If you still need an application that simply does not run (like the ones described above), use feisty packages or compile it yourself.

Again, this is absolutely not a proper way to go about it. It would be much nicer to have a patched version of gtk+-2.12, but i havent been able to find the patch and applet files, used for the feisty packages. If somebody could supply those, I think i could at least try to modify them for the current version of gtk.

Hope this helps somebody,


Paul.

ayoli
October 21st, 2007, 05:48 PM
Again, this is absolutely not a proper way to go about it. It would be much nicer to have a patched version of gtk+-2.12, but i havent been able to find the patch and applet files, used for the feisty packages. If somebody could supply those, I think i could at least try to modify them for the current version of gtk.


You can found the gtk patch here : http://bugzilla.gnome.org/show_bug.cgi?id=353076
I dunno where you can find the sources for the applets, but if you want to try to dev a version for gtk 2.12 you may contact the original dev AdQ (aquiladeus) :
http://aquila.deus.googlepages.com/

yun4
October 21st, 2007, 11:17 PM
well hopefully a fully working version for gusty will be out soon

kenobiswc
October 22nd, 2007, 05:41 AM
gtk2.12 was patched??

avlex
October 22nd, 2007, 07:56 AM
You can found the gtk patch here : http://bugzilla.gnome.org/show_bug.cgi?id=353076
I dunno where you can find the sources for the applets, but if you want to try to dev a version for gtk 2.12 you may contact the original dev AdQ (aquiladeus) :
http://aquila.deus.googlepages.com/

Thanks for the info, I'll try that if i dont get an answer from SkiesOfAzel. I wrote him some time ago, because I hope he has all the patches (I'd rather not collect them piece by piece), I might need to adjust in order to make it work like it used to again. As soon as I have some results, ill post them here.

gtk2.12 was patched??

No, it wasnt, not the version, I used anyway. And I doubt that I'll be able to pull it off in the next couple of days, if ever.

gep642
October 22nd, 2007, 01:54 PM
I, uh, modified the patch to patch gtk+ 2.12.0-r1, and the applet worked with gnome 2.18.

Unfortunately, when I updated to gnome 2.20, the applet now crashes when it's loaded. I changed the patch again to work with gtk+ 2.12.1 and still the applet crashes at load. Somewhere in the update to gnome 2.20 there is something incompatible. If I knew how to read a bug report I could try to figure it out, but I'm new to this type of thing. The patch also creates a minimize issue in gnome 2.20 where minimized windows sometimes don't maximize again unless you alt-tab to them.

Anyway, portage overlay is attached, patches are all in there. I haven't tested the patch for gtk+ 2.12.1 on gnome 2.18, but 2.12.0-r2 should work with it. Gnome 2.20 doesn't work with it at all, though.

ayoli
October 22nd, 2007, 05:09 PM
nice to see that people try to keep this alive :)
You may discuss, share knowledge and join your efforts.

Frak
October 22nd, 2007, 06:09 PM
nice to see that people try to keep this alive :)
You may discuss, share knowledge and join your efforts.
Great, since AqD announced he wasn't continuing the project anymore and was looking for replacements. :)

quinn
October 23rd, 2007, 09:36 AM
Applying this patch to gnome-macmenu-applet's source seems to stop the crash (i got a lead on Planet GNOME that libwnck had changed)


--- gnome-macmenu-applet/macmenu-applet.c 2007-01-14 03:00:56.000000000 -0500
+++ gnome-macmenu-applet-new/macmenu-applet.c 2007-10-23 09:32:30.000000000 -0400
@@ -298,7 +298,7 @@
return aname;
}

-static void desktop_active_window_changed(WnckScreen* screen, MacMenu* mmb)
+static void desktop_active_window_changed(WnckScreen* screen, WnckWindow *previous_window, MacMenu* mmb)
{
WnckWindow* awin = wnck_screen_get_active_window(screen);
GtkWidget* sck = NULL;


EDIT: Yes, this is on Ubuntu Gutsy, GTK 2.12 and GNOME 2.20

kenobiswc
October 23rd, 2007, 02:29 PM
Applying this patch to gnome-macmenu-applet's source seems to stop the crash (i got a lead on Planet GNOME that libwnck had changed)


Stop the crash on the gtk2.10@gnome2.20?

Terc
October 24th, 2007, 11:20 AM
Working in Gutsy? Please post a deb! or details on how to get it up and running from default gutsy install. I've already messed this up badly once, I'll do a clean install if it will actually work.

BoardDWorld
October 24th, 2007, 01:15 PM
I certainly wouldn't mind seeing this available. Like many it's the only thing I'm waiting on since upgrading to Gutsy.

quinn
October 24th, 2007, 02:23 PM
No deb available because this doesn't come with an automake infrastructure.

1: Download and extract applet source tarball (available several places on this post)

2: copy and paste my patch to a text file, give it a name like macmenu-applet-gutsy.patch, save it to the applet source directory

3: Go into applet source directory, run
patch -p1 < macmenu-applet-gutsy.patch

4: Compile applet like so
gcc -std=gnu99 -Wall -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` -o macmenu-applet macmenu-applet.c

5: copy compiled files to proper directories

sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
sudo cp macmenu-applet /usr/lib/gnome-applets/


6: Restart gnome-panel (don't know if that's strictly needed, but i did it anyway), then add MacMenu applet the usual way. killall gnome-panel

You'll still need a patched GTK, but i don't have the time to post a walkthrough of that. The patches circulating through this thread still seem to work OK on GTK 2.12.

ayoli
October 24th, 2007, 04:51 PM
No deb available because this doesn't come with an automake infrastructure.

1: Download and extract applet source tarball (available several places on this post)

2: copy and paste my patch to a text file, give it a name like macmenu-applet-gutsy.patch, save it to the applet source directory

3: Go into applet source directory, run
patch -p1 < macmenu-applet-gutsy.patch

4: Compile applet like so
gcc -std=gnu99 -Wall -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` -o macmenu-applet macmenu-applet.c

5: copy compiled files to proper directories

sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
sudo cp macmenu-applet /usr/lib/gnome-applets/


6: Restart gnome-panel (don't know if that's strictly needed, but i did it anyway), then add MacMenu applet the usual way. killall gnome-panel

You'll still need a patched GTK, but i don't have the time to post a walkthrough of that. The patches circulating through this thread still seem to work OK on GTK 2.12.
hey
your output seems to be useful but (yes there's always a but step ! :) ) :
what gtk patch do you use ? please provide a link
even if the applet source is provided in this thread, there is to much pages to browse so a link is welcome for that too :)

In genral terms, what about creating a fast/lite web site for that to avoid people searchin in a lot of pages for what they need ?

Frak
October 24th, 2007, 04:59 PM
No deb available because this doesn't come with an automake infrastructure.

What?!?

Debian Patch Packages are pretty simple to build. Don't know what you mean by automake. I've made plenty of .deb's, and all you need is a custom MAKEFILE document.

ayoli
October 24th, 2007, 05:08 PM
What?!?

Debian Patch Packages are pretty simple to build. Don't know what you mean by automake. I've made plenty of .deb's, and all you need is a custom MAKEFILE document.

I agree with that, but (thiss is my 'but' night) the real point is we need to reassenble all information (here I mean sources, patches, packages, ..) somewhere, in a post , a new thread, or a quick made website.

A side note : if there is a massive demand for that then we should have a bigger chance to convince gtk/gnome dev to think about it (just as an option)

Frak
October 24th, 2007, 05:10 PM
I agree with that, but (thiss is my 'but' night) the real point is we need to reassenble all information (here I mean sources, patches, packages, ..) somewhere, in a post , a new thread, or a quick made website.

A side note : if there is a massive demand for that then we should have a bigger chance to convince gtk/gnome dev to think about it (just as an option)
I agree on both points.

ayoli
October 24th, 2007, 05:22 PM
I can make a web aite for that if it is needed.
I don't really want to manage this a a project but I think this a project. So we may have to create a team or something like that ?

Frak
October 24th, 2007, 05:27 PM
I can make a web aite for that if it is needed.
I don't really want to manage this a a project but I think this a project. So we may have to create a team or something like that ?
If you could build a team, I say kudos.

ayoli
October 24th, 2007, 05:39 PM
If you could build a team, I say kudos.

if you can help ... :)

unique
October 24th, 2007, 05:43 PM
This is great to here!
I loved having the MAC-MENU in Feisty and I would really love to have it on my Gutsy system.


To me it just makes plain sence. Only having Applications, Places and System on the top panel and nothing else is just a waist.

Frak
October 24th, 2007, 05:49 PM
if you can help ... :)
Ask AqD, I'm sure he'd help live the legacy. I'm not much of a coding guru. Python is my strong language, and I'm not very good at that at best, so I wouldn't make a great model for people to join to.

BoardDWorld
October 25th, 2007, 03:44 AM
Actually AqD doesn't seem to be all that interested at all as I have already tried to contact him on Gutsy's first day of release. Although this doesn't come as a surprise as he's pulled the plug on all of his sources and hasn't left any trace since the time of last editing this thread. You can view his personal page here:

http://aquila.deus.googlepages.com/

and here:

http://aquila-deus.deviantart.com/
The Hotmail email is no longer valid but Gmail is, so if you're wanting to try and get him involved again I would try him on that.

Please note for him to completely withdraw like that there must be a certain "Hierarchy" that doesn't want to see this continued.



He's also left a very recent hint of his continual use of the Mac-Menu Bar here:

http://aquila-deus.deviantart.com/art/IE7-on-Linux-65106384

You can also see there's no response to the mac menu query on this page.

zniavre
October 25th, 2007, 05:24 AM
A side note : if there is a massive demand for that then we should have a bigger chance to convince gtk/gnome dev to think about it (just as an option)


where could we ask/demand to get this mac menu in gnome/gtk

i really happy some of you get involved in this project , i can't dev cause im too dumb but i kkep an eye on forum to may be test if you need some testers

(sorry for horrible english)

zniavre wish good day to all of you

jvlalonde
October 25th, 2007, 05:49 AM
Applying this patch to gnome-macmenu-applet's source seems to stop the crash (i got a lead on Planet GNOME that libwnck had changed)

GTK 2.12 and GNOME 2.20

This patch works for me as well on gentoo with gtk+-2.12, gnome-macmenu-applet-1.0.4 and gnome-2.20.

BoardDWorld
October 25th, 2007, 08:34 AM
Here's a page of interest:
http://ubuntuforums.org/showthread.php?t=241868&highlight=mac+menu+bar&page=80

As seen he plans on updating the packages sometime this Month (fingers crossed). Until then I suggest waiting.

BoardDWorld
October 25th, 2007, 09:44 AM
No deb available because this doesn't come with an automake infrastructure.

1: Download and extract applet source tarball (available several places on this post)

2: copy and paste my patch to a text file, give it a name like macmenu-applet-gutsy.patch, save it to the applet source directory

3: Go into applet source directory, run
patch -p1 < macmenu-applet-gutsy.patch

4: Compile applet like so
gcc -std=gnu99 -Wall -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` -o macmenu-applet macmenu-applet.c

5: copy compiled files to proper directories

sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
sudo cp macmenu-applet /usr/lib/gnome-applets/


6: Restart gnome-panel (don't know if that's strictly needed, but i did it anyway), then add MacMenu applet the usual way. killall gnome-panel

You'll still need a patched GTK, but i don't have the time to post a walkthrough of that. The patches circulating through this thread still seem to work OK on GTK 2.12.

Applying the patch was easy enough but I'm getting the following on step 4:

matthew@matthew-laptop:~/Desktop/gnome-macmenu-applet-source$ gcc -std=gnu99 -Wall -fno-strict-aliasing -DFOR_GNOME `pkg-config --cflags --libs libwnck-1.0 libpanelapplet-2.0 gconf-2.0` -o macmenu-applet macmenu-applet.c
Package libpanelapplet-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpanelapplet-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpanelapplet-2.0' found
macmenu-applet.c:5:22: error: gdk/gdkx.h: No such file or directory
macmenu-applet.c:6:25: error: glib/gstdio.h: No such file or directory
macmenu-applet.c:7:21: error: gtk/gtk.h: No such file or directory
macmenu-applet.c:8:29: error: libwnck/libwnck.h: No such file or directory
macmenu-applet.c:24:32: error: gconf/gconf-client.h: No such file or directory
macmenu-applet.c:25:26: error: panel-applet.h: No such file or directory
macmenu-applet.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AppletType’
macmenu-applet.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
macmenu-applet.c:38: error: expected specifier-qualifier-list before ‘AppletType’
macmenu-applet.c:60: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_transient_for’
macmenu-applet.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘is_menubar’
macmenu-applet.c:121: error: expected ‘)’ before ‘key’
macmenu-applet.c:132: error: expected ‘)’ before ‘key’
macmenu-applet.c:143: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:152: error: expected declaration specifiers or ‘...’ before ‘WnckWindow’
macmenu-applet.c: In function ‘add_menubar’:
macmenu-applet.c:154: error: ‘Window’ undeclared (first use in this function)
macmenu-applet.c:154: error: (Each undeclared identifier is reported only once
macmenu-applet.c:154: error: for each function it appears in.)
macmenu-applet.c:154: error: expected ‘;’ before ‘mbar’
macmenu-applet.c:155: error: ‘GtkWidget’ undeclared (first use in this function)
macmenu-applet.c:155: error: ‘sck’ undeclared (first use in this function)
macmenu-applet.c:155: warning: implicit declaration of function ‘gtk_socket_new’
macmenu-applet.c:156: warning: implicit declaration of function ‘g_signal_connect’
macmenu-applet.c:156: warning: implicit declaration of function ‘G_CALLBACK’
macmenu-applet.c:156: error: ‘socket_destroyed’ undeclared (first use in this function)
macmenu-applet.c:157: warning: implicit declaration of function ‘gtk_notebook_append_page’
macmenu-applet.c:157: error: ‘MacMenu’ has no member named ‘notebook’
macmenu-applet.c:157: warning: implicit declaration of function ‘GTK_WIDGET’
macmenu-applet.c:158: warning: implicit declaration of function ‘gtk_socket_steal’
macmenu-applet.c:158: warning: implicit declaration of function ‘GTK_SOCKET’
macmenu-applet.c:158: error: ‘mbar’ undeclared (first use in this function)
macmenu-applet.c:159: warning: implicit declaration of function ‘gtk_widget_show_all’
macmenu-applet.c:160: warning: implicit declaration of function ‘g_hash_table_insert’
macmenu-applet.c:160: error: ‘MacMenu’ has no member named ‘mbars_scks’
macmenu-applet.c:160: error: ‘gpointer’ undeclared (first use in this function)
macmenu-applet.c:160: error: expected ‘)’ before ‘mbar’
macmenu-applet.c: In function ‘update_title_substitute_table’:
macmenu-applet.c:165: error: ‘gchar’ undeclared (first use in this function)
macmenu-applet.c:165: error: ‘ts_list_path’ undeclared (first use in this function)
macmenu-applet.c:165: warning: implicit declaration of function ‘g_build_filename’
macmenu-applet.c:165: warning: implicit declaration of function ‘g_get_home_dir’
macmenu-applet.c:166: error: storage size of ‘sbuf’ isn’t known
macmenu-applet.c:167: warning: implicit declaration of function ‘g_stat’
macmenu-applet.c:169: error: ‘FILE’ undeclared (first use in this function)
macmenu-applet.c:169: error: ‘nf’ undeclared (first use in this function)
macmenu-applet.c:169: warning: implicit declaration of function ‘g_fopen’
macmenu-applet.c:171: warning: implicit declaration of function ‘fprintf’
macmenu-applet.c:171: warning: incompatible implicit declaration of built-in function ‘fprintf’
macmenu-applet.c:171: error: ‘stderr’ undeclared (first use in this function)
macmenu-applet.c:174: warning: implicit declaration of function ‘fwrite’
macmenu-applet.c:174: warning: incompatible implicit declaration of built-in function ‘fwrite’
macmenu-applet.c:176: warning: implicit declaration of function ‘fclose’
macmenu-applet.c:177: warning: incompatible implicit declaration of built-in function ‘fprintf’
macmenu-applet.c:177: error: ‘stdout’ undeclared (first use in this function)
macmenu-applet.c:181: error: ‘MacMenu’ has no member named ‘ts_mtime’
macmenu-applet.c:183: error: ‘GIOChannel’ undeclared (first use in this function)
macmenu-applet.c:183: error: ‘ioc’ undeclared (first use in this function)
macmenu-applet.c:183: warning: implicit declaration of function ‘g_io_channel_new_file’
macmenu-applet.c:185: warning: incompatible implicit declaration of built-in function ‘fprintf’
macmenu-applet.c:188: warning: implicit declaration of function ‘g_hash_table_remove_all’
macmenu-applet.c:188: error: ‘MacMenu’ has no member named ‘title_subs’
macmenu-applet.c:189: error: ‘gsize’ undeclared (first use in this function)
macmenu-applet.c:189: error: expected ‘;’ before ‘line_len’
macmenu-applet.c:190: error: ‘line_str’ undeclared (first use in this function)
macmenu-applet.c:191: warning: implicit declaration of function ‘g_io_channel_read_line’
macmenu-applet.c:191: error: ‘line_len’ undeclared (first use in this function)
macmenu-applet.c:191: error: ‘line_term’ undeclared (first use in this function)
macmenu-applet.c:192: error: ‘G_IO_STATUS_NORMAL’ undeclared (first use in this function)
macmenu-applet.c:197: error: ‘key’ undeclared (first use in this function)
macmenu-applet.c:198: error: ‘value’ undeclared (first use in this function)
macmenu-applet.c:201: error: ‘MacMenu’ has no member named ‘title_subs’
macmenu-applet.c:204: warning: implicit declaration of function ‘g_io_channel_shutdown’
macmenu-applet.c:204: error: ‘FALSE’ undeclared (first use in this function)
macmenu-applet.c:207: error: ‘MacMenu’ has no member named ‘ts_mtime’
macmenu-applet.c:208: warning: implicit declaration of function ‘g_free’
macmenu-applet.c:166: warning: unused variable ‘sbuf’
macmenu-applet.c: At top level:
macmenu-applet.c:211: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:301: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:339: error: expected ‘)’ before ‘*’ token
macmenu-applet.c: In function ‘add_all’:
macmenu-applet.c:347: error: ‘GList’ undeclared (first use in this function)
macmenu-applet.c:347: error: ‘windows’ undeclared (first use in this function)
macmenu-applet.c:347: warning: implicit declaration of function ‘wnck_screen_get_windows’
macmenu-applet.c:347: error: ‘MacMenu’ has no member named ‘screen’
macmenu-applet.c:348: error: ‘node’ undeclared (first use in this function)
macmenu-applet.c:350: error: ‘WnckWindow’ undeclared (first use in this function)
macmenu-applet.c:350: error: ‘wnckwin’ undeclared (first use in this function)
macmenu-applet.c:350: error: expected expression before ‘)’ token
macmenu-applet.c:351: warning: implicit declaration of function ‘is_menubar’
macmenu-applet.c:352: error: too many arguments to function ‘add_menubar’
macmenu-applet.c: At top level:
macmenu-applet.c:357: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:368: error: expected ‘)’ before ‘*’ token
macmenu-applet.c: In function ‘macmenu_load_from_gconf’:
macmenu-applet.c:420: error: ‘gchar’ undeclared (first use in this function)
macmenu-applet.c:420: error: ‘prefkey’ undeclared (first use in this function)
macmenu-applet.c:420: warning: implicit declaration of function ‘panel_applet_get_preferences_key’
macmenu-applet.c:420: error: ‘MacMenu’ has no member named ‘applet’
macmenu-applet.c:421: error: ‘fullkey’ undeclared (first use in this function)
macmenu-applet.c:421: warning: implicit declaration of function ‘g_strdup_printf’
macmenu-applet.c:422: error: ‘MacMenu’ has no member named ‘hide_label’
macmenu-applet.c:422: warning: implicit declaration of function ‘gconf_client_get_bool’
macmenu-applet.c:422: error: ‘MacMenu’ has no member named ‘gconf’
macmenu-applet.c: In function ‘macmenu_write_gconf’:
macmenu-applet.c:429: error: ‘gchar’ undeclared (first use in this function)
macmenu-applet.c:429: error: ‘prefkey’ undeclared (first use in this function)
macmenu-applet.c:429: error: ‘MacMenu’ has no member named ‘applet’
macmenu-applet.c:430: error: ‘fullkey’ undeclared (first use in this function)
macmenu-applet.c:431: warning: implicit declaration of function ‘gconf_client_set_bool’
macmenu-applet.c:431: error: ‘MacMenu’ has no member named ‘gconf’
macmenu-applet.c:431: error: ‘MacMenu’ has no member named ‘hide_label’
macmenu-applet.c: At top level:
macmenu-applet.c:436: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:458: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:466: error: expected ‘)’ before ‘*’ token
macmenu-applet.c:581: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘macmenu_applet_factory’
macmenu-applet.c:594: error: expected declaration specifiers or ‘...’ before string constant
macmenu-applet.c:595: error: expected declaration specifiers or ‘...’ before ‘PANEL_TYPE_APPLET’
macmenu-applet.c:596: error: expected declaration specifiers or ‘...’ before string constant
macmenu-applet.c:597: error: expected declaration specifiers or ‘...’ before string constant
macmenu-applet.c:598: error: expected declaration specifiers or ‘...’ before ‘macmenu_applet_factory’
macmenu-applet.c:599: error: expected declaration specifiers or ‘...’ before ‘(’ token
macmenu-applet.c:599: warning: return type defaults to ‘int’
macmenu-applet.c: In function ‘PANEL_APPLET_BONOBO_FACTORY’:
macmenu-applet.c:599: error: expected ‘{’ at end of input

Any suggestions? I gather using that command requires dependencies I don't have!

AcidumIrae
October 25th, 2007, 03:07 PM
gnome-macmenu-applet-1.0.11.tar.bz2 - sources and binaries of patched gnome-macmenu-applet
gtk+-2.12.0-r2-gtkmenubar.diff.gz - patch to gtk+ 2.12 found in gentoo

PS: sorry i'm new to debian and could not make deb package neither with checkinstall(failing creating package) nor with dpkg-build(failing to build)

kenobiswc
October 25th, 2007, 05:06 PM
Work... work ... work!!! GREAT!
(I use archlinux)

zniavre
October 25th, 2007, 06:02 PM
good evening

please how to make this patch working

i patched a gtk2.12.0 source and the make failed


creating libpixbufloader-png.la
/bin/sed: can't read dossier/gtk+-2.12.0/gdk-pixbuf/libgdk_pixbuf-2.0.la: No such file or directory
libtool: link: `dossier/gtk+-2.12.0/gdk-pixbuf/libgdk_pixbuf-2.0.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-png.la] Erreur 1
make[4]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0 »
make: *** [all] Erreur 2

im stuck ...

what can i do please ?

sorry i just made the instalation working i do know why exactly :o)

Frak
October 25th, 2007, 07:13 PM
good evening

please how to make this patch working

i patched a gtk2.12.0 source and the make failed


creating libpixbufloader-png.la
/bin/sed: can't read dossier/gtk+-2.12.0/gdk-pixbuf/libgdk_pixbuf-2.0.la: No such file or directory
libtool: link: `dossier/gtk+-2.12.0/gdk-pixbuf/libgdk_pixbuf-2.0.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-png.la] Erreur 1
make[4]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0/gdk-pixbuf »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/zniavre/Documents/Softs/nouveau dossier/gtk+-2.12.0 »
make: *** [all] Erreur 2

im stuck ...

what can i do please ?

sorry i just made the instalation working i do know why exactly :o)
Could you upload the patch?

BoardDWorld
October 26th, 2007, 04:36 AM
gnome-macmenu-applet-1.0.11.tar.bz2 - sources and binaries of patched gnome-macmenu-applet
gtk+-2.12.0-r2-gtkmenubar.diff.gz - patch to gtk+ 2.12 found in gentoo

PS: sorry i'm new to debian and could not make deb package neither with checkinstall(failing creating package) nor with dpkg-build(failing to build)

It seems that we have the means to patch everything correctly now. Could some please post a step by step How-To on completing the entire task. This includes any dependencies that are required. I don't personally want debs as I won't learn anything this way.


Thanks in advance.:)

AcidumIrae
October 26th, 2007, 05:04 AM
It seems that we have the means to patch everything correctly now. Could some please post a step by step How-To on completing the entire task. This includes any dependencies that are required. I don't personally want debs as I won't learn anything this way.


Thanks in advance.:)

mac menu applet:


tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/


gtk+ patch:


gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install


As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:


autotools-dev
comerr-dev
dpkg-dev
libart-2.0-dev
libatk1.0-dev
libaudiofile-dev
libavahi-client-dev
libavahi-common-dev
libavahi-glib-dev
libbonobo2-dev
libbonoboui2-dev
libc6-dev
libcairo-directfb2-dev
libcairo2-dev
libcupsys2-dev
libdbus-1-dev
libdirectfb-dev
libesd0-dev
libexpat1-dev
libfontconfig1-dev
libfreetype6-dev
libgail-dev
libgconf2-dev
libgcrypt11-dev
libgdk-pixbuf-dev
libglade2-dev
libglib1.2-dev
libglib2.0-dev
libgnome-keyring-dev
libgnome2-dev
libgnomecanvas2-dev
libgnomeui-dev
libgnomevfs2-dev
libgnutls-dev
libgpg-error-dev
libgtk1.2-dev
libgtk2.0-dev
libhal-dev
libhal-storage-dev
libice-dev
libidl-dev
libjpeg62-dev
libkrb5-dev
liblzo2-dev
libopencdk8-dev
liborbit2-dev
libpanel-applet2-dev
libpango1.0-dev
libpng12-dev
libpopt-dev
libselinux1-dev
libsepol1-dev
libsm-dev
libstartup-notification0-dev
libstdc++6-4.1-dev
libsysfs-dev
libtasn1-3-dev
libtiff4-dev
libusplash-dev
libwnck-dev
libx11-dev
libxau-dev
libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxdmcp-dev
libxext-dev
libxfixes-dev
libxft-dev
libxi-dev
libxinerama-dev
libxkbfile-dev
libxml2-dev
libxrandr-dev
libxrender-dev
libxres-dev
libxt-dev
linux-libc-dev
x11proto-composite-dev
x11proto-core-dev
x11proto-damage-dev
x11proto-fixes-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-randr-dev
x11proto-render-dev
x11proto-resource-dev
x11proto-xext-dev
x11proto-xinerama-dev
xtrans-dev
xutils-dev
zlib1g-dev


you can do before patching gtk+

sudo apt-get install ...packages from the list above...

BoardDWorld
October 26th, 2007, 05:54 AM
Awesome, I'll have a go at it now... thanks for your time!

kashms
October 26th, 2007, 06:22 AM
Any debs would also be highly appreciated ...

BoardDWorld
October 26th, 2007, 08:04 AM
Well it's all working thank you! :popcorn:

Just one small problem to fix and that's the applets graphic, as seen in the attached image it doesn't match the rest of the task bar. Any ideas from anyone would be appreciated. I'm positive it has been mentioned in the past already so I should have it fixed soon.

Also for anyone who's going to install all the mentioned dev's use this command:
sudo apt-get install autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev

ayoli
October 26th, 2007, 08:30 AM
mac menu applet:


tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/


gtk+ patch:


gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install


As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:


autotools-dev
comerr-dev
dpkg-dev
libart-2.0-dev
libatk1.0-dev
libaudiofile-dev
libavahi-client-dev
libavahi-common-dev
libavahi-glib-dev
libbonobo2-dev
libbonoboui2-dev
libc6-dev
libcairo-directfb2-dev
libcairo2-dev
libcupsys2-dev
libdbus-1-dev
libdirectfb-dev
libesd0-dev
libexpat1-dev
libfontconfig1-dev
libfreetype6-dev
libgail-dev
libgconf2-dev
libgcrypt11-dev
libgdk-pixbuf-dev
libglade2-dev
libglib1.2-dev
libglib2.0-dev
libgnome-keyring-dev
libgnome2-dev
libgnomecanvas2-dev
libgnomeui-dev
libgnomevfs2-dev
libgnutls-dev
libgpg-error-dev
libgtk1.2-dev
libgtk2.0-dev
libhal-dev
libhal-storage-dev
libice-dev
libidl-dev
libjpeg62-dev
libkrb5-dev
liblzo2-dev
libopencdk8-dev
liborbit2-dev
libpanel-applet2-dev
libpango1.0-dev
libpng12-dev
libpopt-dev
libselinux1-dev
libsepol1-dev
libsm-dev
libstartup-notification0-dev
libstdc++6-4.1-dev
libsysfs-dev
libtasn1-3-dev
libtiff4-dev
libusplash-dev
libwnck-dev
libx11-dev
libxau-dev
libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxdmcp-dev
libxext-dev
libxfixes-dev
libxft-dev
libxi-dev
libxinerama-dev
libxkbfile-dev
libxml2-dev
libxrandr-dev
libxrender-dev
libxres-dev
libxt-dev
linux-libc-dev
x11proto-composite-dev
x11proto-core-dev
x11proto-damage-dev
x11proto-fixes-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-randr-dev
x11proto-render-dev
x11proto-resource-dev
x11proto-xext-dev
x11proto-xinerama-dev
xtrans-dev
xutils-dev
zlib1g-dev


you can do before patching gtk+

sudo apt-get install ...packages from the list above...

Thanks, this one looks very interesting , I give a try and then a feedback

avb
October 26th, 2007, 09:55 AM
Hello,

I made a package of applet and patched gtk for gutsy. Works for me.

HOWTO INSTALL:

1. Install macmenu-applet_0.1-2_i386.deb
2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
3. Go to this directory in terminal
4. Run sudo sh install.sh
5. Add macmenu applet to a gnome-panel
6. Log off/Log on

HOWTO UNINSTALL:

1. run 'sudo apt-get install --reinstall libgtk2.0-0'

kashms
October 26th, 2007, 10:55 AM
1. Install macmenu-applet_0.1-1_i386.deb


Thanks, but where to find this one?

EDIT: Never mind found it!:confused:

Hairy_Palms
October 26th, 2007, 10:56 AM
thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.

avb
October 26th, 2007, 11:05 AM
thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.

try to log off and log on. I had the same problem before i reload session. Now i dont have only a menu of firefox

kashms
October 26th, 2007, 11:15 AM
When I try to install the deb I get an error:

"Error: Dependency is not satisfiable: libpango1.0-0"

I checked and libpango1.0-0 is installed. Do I need to install dev packages?

avb
October 26th, 2007, 11:52 AM
When I try to install the deb I get an error:

"Error: Dependency is not satisfiable: libpango1.0-0"

I checked and libpango1.0-0 is installed. Do I need to install dev packages?

Problem is that you dont have installed updates from gutsy-proposed. This deb fixes problem.

kashms
October 26th, 2007, 01:00 PM
Thanks that worked.

Apparently it is not possible to have a picture as background for the gnome-panel?!

BoardDWorld
October 26th, 2007, 01:31 PM
Yes that's correct. You more or less need a theme that supports the mac menu, otherwise it looks ugly. A great theme, and one of the most complete, is iMetal:

http://skiesofazel.deviantart.com/art/imetal-for-gnome-53789181

I'm now going to work on having Amora back up to scratch. As you can see from my attached image on the previous page it doesn't support the mac menu.

http://ubuntuforums.org/showpost.php?p=3636471&postcount=964

Psyphre
October 26th, 2007, 01:48 PM
mac menu applet:


tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/


gtk+ patch:


gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install


As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:


autotools-dev
comerr-dev
dpkg-dev
libart-2.0-dev
libatk1.0-dev
libaudiofile-dev
libavahi-client-dev
libavahi-common-dev
libavahi-glib-dev
libbonobo2-dev
libbonoboui2-dev
libc6-dev
libcairo-directfb2-dev
libcairo2-dev
libcupsys2-dev
libdbus-1-dev
libdirectfb-dev
libesd0-dev
libexpat1-dev
libfontconfig1-dev
libfreetype6-dev
libgail-dev
libgconf2-dev
libgcrypt11-dev
libgdk-pixbuf-dev
libglade2-dev
libglib1.2-dev
libglib2.0-dev
libgnome-keyring-dev
libgnome2-dev
libgnomecanvas2-dev
libgnomeui-dev
libgnomevfs2-dev
libgnutls-dev
libgpg-error-dev
libgtk1.2-dev
libgtk2.0-dev
libhal-dev
libhal-storage-dev
libice-dev
libidl-dev
libjpeg62-dev
libkrb5-dev
liblzo2-dev
libopencdk8-dev
liborbit2-dev
libpanel-applet2-dev
libpango1.0-dev
libpng12-dev
libpopt-dev
libselinux1-dev
libsepol1-dev
libsm-dev
libstartup-notification0-dev
libstdc++6-4.1-dev
libsysfs-dev
libtasn1-3-dev
libtiff4-dev
libusplash-dev
libwnck-dev
libx11-dev
libxau-dev
libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxdmcp-dev
libxext-dev
libxfixes-dev
libxft-dev
libxi-dev
libxinerama-dev
libxkbfile-dev
libxml2-dev
libxrandr-dev
libxrender-dev
libxres-dev
libxt-dev
linux-libc-dev
x11proto-composite-dev
x11proto-core-dev
x11proto-damage-dev
x11proto-fixes-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-randr-dev
x11proto-render-dev
x11proto-resource-dev
x11proto-xext-dev
x11proto-xinerama-dev
xtrans-dev
xutils-dev
zlib1g-dev


you can do before patching gtk+

sudo apt-get install ...packages from the list above...


The menu applet doesnt work.
I get this:

The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".

I followed your instructions and i think the gtk patching worked (because now the menu isnt in the windows, but just below the taskbar), however the mac menu applet doesnt.

Would you mind letting me know what could be wrong? Thx.

BoardDWorld
October 26th, 2007, 01:56 PM
I know if you follow his guide almost to a T it works perfect. The only thing I had to change was 5 commands:

From:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install

To:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
sudo tar zxvf gtk+2.0_2.12.0.orig.tar.gz
sudo cd gtk+2.0-2.12.0
sudo patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
sudo ./configure --prefix=/usr
sudo make
sudo make install

Simply changing it to super user because the downloaded source is locked to root.

Frak
October 26th, 2007, 04:34 PM
Hello,

I made a package of applet and patched gtk for gutsy. Works for me.

HOWTO INSTALL:

1. Install macmenu-applet_0.1-2_i386.deb
2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
3. Go to this directory in terminal
4. Run sudo sh install.sh
5. Add macmenu applet to a gnome-panel
6. Log off/Log on

HOWTO UNINSTALL:

1. run 'sudo apt-get install --reinstall libgtk2.0-0'
Can I get the debian source package?

unique
October 26th, 2007, 07:35 PM
Thanks for all the work guys!
I now have the mac-menu on my Gutsy system!

nikoPSK
October 26th, 2007, 10:50 PM
Thanks for all the work guys!
I now have the mac-menu on my Gutsy system!

curves too ^^sorry for all the gutsy problems with it. Doing my best and Im creating a .deb for it as we speak.:popcorn:

Psyphre
October 27th, 2007, 03:32 AM
I know if you follow his guide almost to a T it works perfect. The only thing I had to change was 5 commands:

From:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install

To:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
sudo tar zxvf gtk+2.0_2.12.0.orig.tar.gz
sudo cd gtk+2.0-2.12.0
sudo patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
sudo ./configure --prefix=/usr
sudo make
sudo make install

Simply changing it to super user because the downloaded source is locked to root.

I did follow it exactly. Is it because i am using 64bit gutsy?

kenobiswc
October 27th, 2007, 05:03 AM
Thanks for all the work guys!
I now have the mac-menu on my Gutsy system!

What is the topbar? mem,cpu,ipaddress.... ???

BoardDWorld
October 27th, 2007, 05:22 AM
I did follow it exactly. Is it because i am using 64bit gutsy?

No doubt...

L3oN
October 27th, 2007, 07:07 AM
The menu applet doesnt work.
I get this:

The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".

I followed your instructions and i think the gtk patching worked (because now the menu isnt in the windows, but just below the taskbar), however the mac menu applet doesnt.

Would you mind letting me know what could be wrong? Thx.

I've the same problem... Do not works!

I'm on Gutsy 64bit... :(

Neo4
October 27th, 2007, 08:10 AM
Thanks for all the work guys!
I now have the mac-menu on my Gutsy system!

where did you get that icon theme?

AcidumIrae
October 27th, 2007, 08:36 AM
I've the same problem... Do not works!

I'm on Gutsy 64bit... :(

sure it won't work. - applet binary is 32bit

you need to recompile applet, change directory to applet source in terminal and run


gcc $(pkg-config --cflags --libs libpanelapplet-2.0 libwnck-1.0) -DFOR_GNOME -o gnome-macmenu-applet macmenu-applet.c


then do sudo cp ... staff

L3oN
October 27th, 2007, 09:14 AM
You're rigth !!! Tnx ... now works fine :D

unique
October 27th, 2007, 11:01 AM
What is the topbar? mem,cpu,ipaddress.... ???

That's Conky! It's in the Gutsy repos....

nicolas2b
October 27th, 2007, 11:32 AM
That's Conky! It's in the Gutsy repos....

Could you give your .conkyrc please ?

Thanks

avb
October 27th, 2007, 11:56 AM
Can I get the debian source package?

Yes, sure.

Attached macmenu applet with debian/ and a patch for gtk, adopted for building libgtk2.0-0 package. Just put it to debian/patches and add the name of a patch to debian/patches/series list.

Mazza558
October 27th, 2007, 11:58 AM
Hi, I've got this working, but is there any way of making it play nicely with different themes? It's either grey or white depending on what app is in focus. I'd like it to be transparent, or at the very least, stay white. Also, Opera is a bit dodgy with it, displaying the massive window titles instead. Any solutions?

Dudley Innocent
October 27th, 2007, 12:01 PM
Seems Firefox and Opera don't play well with the GTK+ fix.

Darn. There's always something that ruins the entire thing.

unique
October 27th, 2007, 12:09 PM
Could you give your .conkyrc please ?

Thanks

Here ya go!

nicolas2b
October 27th, 2007, 12:17 PM
thank you :)

Mazza558
October 27th, 2007, 12:43 PM
Actually, I've decided to uninstall it, but this:

sudo apt-get install --reinstall libgtk2.0-0

..doesn't work. Help?

I've also removed the applet.

avb
October 27th, 2007, 12:45 PM
Actually, I've decided to uninstall it, but this:



..doesn't work. Help?


please show the output of


ls -l /usr/lib/libgtk-x11-2.0.so*

And also, have you made a log off/log on after you reinstall gtk package?

Mazza558
October 27th, 2007, 12:48 PM
please show the output of


ls -l /usr/lib/libgtk-x11-2.0.so*

And also, have you made a log off/log on after you reinstall gtk package?

lrwxrwxrwx 1 root root 26 2007-10-26 19:02 /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1200.0
lrwxrwxrwx 1 root root 33 2007-10-27 17:36 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1200.0.backup
-rw-r--r-- 1 root root 3680184 2007-10-05 21:00 /usr/lib/libgtk-x11-2.0.so.0.1200.0
-rw-r--r-- 1 root root 3690232 2007-10-26 06:42 /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup


...and I've logged off/on again.

avb
October 27th, 2007, 12:55 PM
lrwxrwxrwx 1 root root 26 2007-10-26 19:02 /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1200.0
lrwxrwxrwx 1 root root 33 2007-10-27 17:36 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1200.0.backup
-rw-r--r-- 1 root root 3680184 2007-10-05 21:00 /usr/lib/libgtk-x11-2.0.so.0.1200.0
-rw-r--r-- 1 root root 3690232 2007-10-26 06:42 /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup


...and I've logged off/on again.


please run:

sudo mv /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup /usr/lib/libgtk-x11-2.0.so.0.1200.0
sudo apt-get install -y --reinstall libgtk2.0-0

and then relogin.

Mazza558
October 27th, 2007, 01:01 PM
please run:

sudo mv /usr/lib/libgtk-x11-2.0.so.0.1200.0.backup /usr/lib/libgtk-x11-2.0.so.0.1200.0
sudo apt-get install -y --reinstall libgtk2.0-0

and then relogin.

Thanks a lot, working fine now :)

For now, I'm going to wait until the applet can be installed by itself or has fewer bugs.

Frak
October 27th, 2007, 01:03 PM
Yes, sure.

Attached macmenu applet with debian/ and a patch for gtk, adopted for building libgtk2.0-0 package. Just put it to debian/patches and add the name of a patch to debian/patches/series list.
Thanks avb :)

techly
October 27th, 2007, 04:44 PM
This thread is now long and almost impossible to navigate (for me at least) so let me contribute to it's farther degeneration ;)


Does this work with gtk 2.12?

I see references to this: gtk+-2.12.0-r2-gtkmenubar.diff.gz but I can't find it.

But I can't find the file. I don't use ubuntu, but arch linux so I need to source. Thanks!


EDIT: Nevermind! It's on page 96!

dominatus
October 27th, 2007, 10:18 PM
Well I've gotten most of this to work, except for the icons in the top-right corner. What do you do to change them correctly?