You are not logged in.
I've found post on blog where xbar is said to support gtk applications.
Unfortunately, some tool from kde trunk is needed.
Tool is avaliable through svn there
svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/globalmenu
Also sources can be watched on websvn
http://websvn.kde.org/trunk/playground/ … globalmenu
Please, provide PKGBUILD or help me to make it by myself.
I can't build package, as there is no any info in readme on this. And I believe, a lot of kde stuff is needed to build it.
Last edited by eDio (2010-08-21 06:53:33)
Offline
It's easy. Go to aur, find on the "kde" category any -svn package (PKGBUILD) (especially the popular ones who should be properly edited), download it, the change "pkgname", pkgdesc, the svn url (that will point to the one you want) and... practically you have done most of the work that needs to be done. Then try makepkg and change any cmake options in the build() function.
Offline
Thank you, seems to work I've done this
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr
make
make install
and have built and installed this tool successfully. The only issue: pacman doesn't know anything about this package.
Last edited by eDio (2010-08-10 07:52:25)
Offline
What do you mean ?
I don't think you did anything outside the PKGBUILD? I mean cmake and install manually ?
Do you know how to make Archlinux packages through makepkg ?
Last edited by flamelab (2010-08-10 08:22:43)
Offline
Yes, I know, how to make packages through makepkg.
But I was a bit curious and lazy and made what I made outside pkgbuild, just to try.
Later I'll do it in right way (it installs only one binary file, so it is not a big deal to clean my system).
By the way, thank you for shaming me In other way, I would leave things as is.
Offline
So now it would be great, if you provide this package in AUR ...
Best Regards!
Offline
+1 for putting it in AUR! Is it style-independent now, or do we still need to use Bespin?
Offline
I'm just playing around it.
Yes, it needs bespin, as it needs Xbar. But qtcurve also supports Xbar now.
The only "little" problem with this app is that gtk applications still don't have global menu It, obviously, needs some playing around to make it work.
Now I'm going to make source package for AUR.
Offline
I'm not an experienced AUR contributor, so tell me please if pkgbuild needs modification.
Pkg is plasma-globalmenu.
Binary file to run is globalmenu.
See http://qiacat.blogspot.com/2009/03/gnom … -kde4.html for details.
Offline
I'm not an experienced AUR contributor, so tell me please if pkgbuild needs modification.
Pkg is plasma-globalmenu.
Binary file to run is globalmenu.
See http://qiacat.blogspot.com/2009/03/gnom … -kde4.html for details.
The PKGBUILD is nice I'll try it
By the way, thank you for shaming me
In other way, I would leave things as is.
...Shame you ? What do you mean ? O_o
Last edited by flamelab (2010-08-10 10:24:30)
Offline
...Shame you ? What do you mean ? O_o
Maybe it's just my English. I didn't mean nothing bad.
I don't think you did anything outside the PKGBUILD?
And that was actually what I've done, so I was a little ashamed and confused...
Maybe that was a little sharp word to describe my emotions. So, it's just my English, never mind.
Offline
Ok, looks, like I made it to work.
Short howto:
1. Install plasma-globalmenu
2. Install gnome-globalmenu
3. to your ~/.bashrc add
export GTK_MODULES=globalmenu-gnome
4. do from root
$ cd /usr/lib/gtk-2.0/modules
$ ln -s libglobalmenu-plugin.so libglobalmenu-gnome.so
You should get smthng like this
edit:
Forgot to say, you should run globalmenu, of course It is a helper application, which notifies xbar, when GTK application is selected.
Last edited by eDio (2010-08-10 13:58:17)
Offline
Added patch, which fixes accelerators in GTK menus. I'm not a programmer, so patch may be imperfect. But it works, and result looks much better, than before.
It would be great though, if some C++ developer take this project, if it's possible, as project seems to be dead.
Last edited by eDio (2010-08-16 17:34:01)
Offline
Check this new package please.
http://aur.archlinux.org/packages.php?ID=40048
It is modification of globalmenu.
Read more.
Offline
Yeah... this sounds great. Searched for something like this for a long time, cause I use bespin XBar very long and now I can also use gtk windows with it. Thank you for providing this package!
Best regards!
Offline
Lothium,
I hope, you've picked *-mod variant, as the original one, even with my clumsy patch, is not very good. Mod still lacks icons in menu entries and some other featuers, but it is the best solution available now.
BTW, what I should to do with the original package? I would not recommend it to anyone, as there is much better variant now. Should I delete it in some way, or just leave it as is and update when needed?
Offline
Version 0.15 is out.
Now GTK menu disappears, when GTK app is minimized or closed.
BTW, application is under active development, there were few essential fixes made in one day. So if you interested in this application, check for new version frequently.
Also, I won't be able to update package for the next week. You still can check for new versions directly on kde-apps.org and modify pkgbuild from AUR by yourself.
Offline
Now plasma-globalmenu-mod supports icons for gtk applications. Not all icons are displayed correctly right now, but at least checkable items are working as expected
More details here
http://kde-apps.org/content/show.php/GlobalMenu+Mod+(+Enable+Gnome+%2B+GTK`s+)?action=content&content=129006
Updated package plasma-globalmenu-mod will be uploaded to AUR in few minutes.
Author didn't change package version so I will change only the build number.
Offline