GlobalMenu Mod ( Enable Gnome / GTK`s )
System Software
Score 68%
Description:

#######################################

Notes From the author:

Gentoo EBuilds are now inside Git Repositories , Please clone and get it.

Besides , these features are now offically included in bespin project ;-)

( layman -a kde and check out x11-themes/bespin )

#######################################


Recent Updates by falkTX:

* Implemented Icons, based on list from QtCurve configs.
* Implemented Checkable menus.
* Fixed \"Attempt to set global shortcut for action without objectName()\"

link to the patch:
http://kxstudio.sourceforge.net/tmp/plasma-globalmenu_goodies.diff


Known Bugs:
* Not working fine with Eclipse.
( From Thomas: it's problem with GGM plugin , native of Java )

Evey feature , that i need , is added to this version , if you need anything specific , plz post a comment here , you're welcomed.

Originally plasma-globalmenu was developed by Wang Hoi , thanks for him firstly.

Well , this modification made all menus available global for Gnome / GTK ( dynampic linked with system library ) , possible.

The screenshot is running KDE 4.4.5 , with Bespin Style , XBar plasma widget , on Gentoo System.

Here comes the instructions:
1. Install gnome-globalmenu firstly.
See offically on http://code.google.com/p/gnome2-globalmenu/wiki/Installation

2. Compile plasma-globalmenu (this)
%> tar xvf plasma-* # Extract
%> cd plasma* # Enter Dir

%> cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` . # Gen Makefile
%> sudo make -j4 install # Install

3. Launch Command when login to KDE system
/usr/bin/globalmenu
So easily adding a startup command , do as what you can.


Bonus: If you want all Qt Programms have the ability to gain a globalmenu , try command `qtconfig` , and , yep select bespin style by default , that will be cool !
Last changelog:

7 years ago

* Fixed Minimize Problem , when window is minimized , and restored , top menu will automatically hide or restore to applications's ( app like iptux , pidgin )
Thanks edio for finding this bug !

* Fixed problems with empty top menu like Opera Browser , Firefox , OOO.
When supported application is switched out , as other unsupported apps turns up , top menu will be restored to "plasma" , yeah !

* Fixed Minimize / Window losing focus problem , menu will be restored ( Newly Fixed )
Thanks for Thomas for helping me fix this bug !

* Fixed another problem , when a KDE application get focus , and a GTK apps minized to sys tray , menu will be restored to KDE app's.

* Added an ebuild link for plasma-globalmenu-0.21 , by MalleRIM , thanks very much !

Mte90

6 years ago

now this are integrated on bespin for xbar?

Report

C

aaronlewis1989

6 years ago

Yeah , that's few months ago , just checkout bespin from its latest svn repository and compile.

Report

Mte90

6 years ago

thanks!

Report

terietor

6 years ago

i can't download the ebuild from the current link.

http://kde-apps.org/content/download.php?content=129006&id=2&tan=43129928

do u have the same issue?

Report

C

aaronlewis1989

6 years ago

Did you checkout git repository ? i got everything inside , and also ebuilds ;-)

Report

terietor

6 years ago

yes i have checked in the git repo but there you have uploaded an ebuild with the trunk version.

can u also upload an ebuild for the 0.21 version.

thanks for helping

Report

edio

6 years ago

Great update! I've used patch and now I have icons in menu!
Making package for AUR now

Report

MalleRIM

7 years ago

I don't know in which way this depends on the gnome-globalmenu, but I also noticed that applications are named after the window title in the menu. The window title is variable, often way too long for the panel and does not necessarily contain the application's name. Just like Qt apps, the apps should be named after their class name in the XBar.

Report

C

aaronlewis1989

7 years ago

Yep , it's a natural behavior of XBar ...
Hmm , i'd get connected to Thomas ASAP about this.

Report

thomas12777

7 years ago

No it's not ;-)

The first entry is (usually) replaced by the process name to provide a visible connection between the client (window) and the menubar (so you can immediately see whether you control dolphin, kwrite or kmail)

The Xbar implementation uses the dbus protocol for this and the client provides the process name (since it has direct access) for this.

This does however not work with ggm.
The direct ggm support (which is provided by recent XBar versions for a few months, so you actually don't need this wrapper when using such and should not use it since i've no idea whether there'll be functional conflicts) uses the WM_CLASS hint (or actually KWindowSystem's ClassClass() function, which produces the most "process name near" result)

This wrapper instead uses the icon name (which equals WM_NAME if not set explicitly, ie. the titlebar string) what is "plain wrong" ;-)

OP is right: titlebar string are far too long (this is why the bespin kwin decoration even allows to strip them to a sane substring, dropping in this context "superflous" information)

Long story short:
Entry replacement is important.
The implementation using the icon name is wrong.
period =)

Report

MalleRIM

7 years ago

There you go:
http://pastebin.ca/1942717
I'll see if I can get it into sunrise.
You probably are aware of the missing icons and the fact that menus of GTK apps, unlike those of Qt apps just flicker instead of disappearing when you click on them again? At the moment these are the only two things that are bugging me. Keep up the great work!

Report

C

aaronlewis1989

7 years ago

Hmm .. icons's not gonna be available for a while , i think. Through this application , it can only read menu entries along the dbus interface , seems icons are not provided through this way.

If u don't mind it , you could disable all icons through bespin's config, so all look the same ;-)

Anyway , if anyone knows how to grab those fancy icons of a GTK app , i'd appreciate it ;-)

And the second one , will u please give more description , thanks !

Report

MalleRIM

7 years ago

Clicking on a Menu of a Qt app makes the menu appear. Clicking the same space again makes the menu disappear. Menus of GTK apps appear the same way, but they don't disappear if you click again. They would just flicker (it's probably tried to open them but as they are already open they are closed before). To make Menus of GTK apps disappear, you have to activate a menu item or click somewhere else.
I'm not firm with dbus and stuff, but I guess, you'd have to check if a menu is opened and close it on click instead of trying to open it.

Report

C

aaronlewis1989

7 years ago

grab latest snapshot of Bespin from sourceforge , thomas already merged my application to his one , and of course , this bug was solved.

You don't actually need mine any more ;-)
And this application , i guess has ended it's life time ;-)

Report

C

aaronlewis1989

7 years ago

Added an link for ebuilds.

Report

MalleRIM

7 years ago

Hi,

thanks a lot for this improved GTK-menubar for plasma! I tried Wang Hoi's menubar once but it was not actually usable. This one seems a lot better.

You are running Gentoo. Do you have an ebuild for this? If not, I'll write one.

Wireshark is not working well, either. The menu is double, once at the top and once in the window. I don't know why and I don't have the skills to investigate, unfortunately.

Report

C

aaronlewis1989

7 years ago

Thanks for flowers ;-)

Nope , haven't write an ebuild yet since only one executeable will be finally installed and lots of dependencies are required like gnome2-globalmenu , so go head if you like it ;-)

a single `doins globalmenu` seems to work fine.

My wireshark has totally no problem ?
Which version of gnome2-globalmenu you are running ?
I'm using 0.78 version.

Ok , i'll replace on of the screenshot with wireshark.

Report

MalleRIM

7 years ago

I tried wireshark again and it is now working fine. No idea what the problem was when I tried it first.

Report

tosta

7 years ago

It's possible to use this without Bespin ie. with QtCurve? I don't have Gnome but little pure GTK apps installed. No Gnome libraries installed on my system at all. Still globalmenu-mod will works in this setup?

Report

C

aaronlewis1989

7 years ago

Tried with QtCurve engine , works.
gnome2-globalmenu requires gnome-panel to be installed.

Report

tosta

7 years ago

Hum... on my Fedora yum install gnome-globalmenu-common doesn't install gnome-panel, only 2 or 3 dependencies. No package gnome-globalmenu found.

Report

C

aaronlewis1989

7 years ago

Hi, You have to follow officially installition guide for gnome2-globalmenu , and hmm .. yum won't be able to find such packages inside it's repository.

I don't have an redhat based system in hand , so some guides only:

yum search gnome-panel
( or panel , or gnome )
find and install it.

And then try to compile gnome2-globalmenu.
( install any missing packages if you need to , with yum )

Report

edio

7 years ago

Seems like something is broken in 0.16.
To reproduce bug select GTK app, then Qt app (pidgin > okular in my case). Okular menu won't appear until global menu restarted.

Report

edio

7 years ago

Oh, sorry for these multiply comments. I've restarted Opera several times, and it reposted my comment on every restart.

Report

C

aaronlewis1989

7 years ago

Hi Edio , bug fixed , if you find any more problem , just post another comment ;-)

Report

7 years ago

* Fixed Minimize Problem , when window is minimized , and restored , top menu will automatically hide or restore to applications's ( app like iptux , pidgin )
Thanks edio for finding this bug !

* Fixed problems with empty top menu like Opera Browser , Firefox , OOO.
When supported application is switched out , as other unsupported apps turns up , top menu will be restored to "plasma" , yeah !

* Fixed Minimize / Window losing focus problem , menu will be restored ( Newly Fixed )
Thanks for Thomas for helping me fix this bug !

* Fixed another problem , when a KDE application get focus , and a GTK apps minized to sys tray , menu will be restored to KDE app's.

* Added an ebuild link for plasma-globalmenu-0.21 , by MalleRIM , thanks very much !

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.21
updated Dec 26 2010
added Aug 19 2010
downloads today
0
page views today 0