appmenu-krunner does not work in opensuse 12.3

Hi,

I switched from Ubuntu to Opensuse, because I switched to KDE and Opensuse offers the most options in Terms of using KDE Software and because of various other reasons. One thing I do not want to miss is a HUD-like functionality (searching through menus), so I installed appmenu-krunner by adding this repository: Index of /repositories/KDE:/Unstable:/Playground/openSUSE_12.3 and installed appmenu-krunner.
It shows as plugin in Krunner, named “AppMenu action launcher”, but searching after menu entries does not show any result. To be sure of this, I disabled all other krunner plugins and searched for entries I was sure of they exist in the current focused application.
Are there other actions involved to get this feature to work? I really don’t want to compile manually.
I have a second install using kde-unstable repo (testing kde 4.11) and there it did not work either, using the appropriate repository.

Help is appreciated!

Thank you very much!

EDIT: I have found out, that selecting Menu bar style “Title bar button” for example works. I want to use normal menus, though. I hope there is a solution to my problem!
In this video the developer uses classical menus as well: http://www.youtube.com/watch?feature=player_embedded&v=9lGVy6GRbOc
Another thing I have noticed: No icons are shown for the actions.

I have found out, that menubar style “Title bar button” does not work for gtk apps. Which package should I install to make it work for gtk apps too? (In kubuntu it is appmenu-gtk)

Since the stuff you want is not available in default repos
You might search around and install some stuff,but be aware that this might break some things
You can take your chances here
http://software.opensuse.org/search?q=appmenu

Okay, I have done some research and found out, that appmenu runner only works when the menu is not shown in the application window.

But I don’t understand why menubar style “title bar button” does not work with gtk-apps. the option you gave me to manually install files like appmenu-gtk did not work, as there were missing dependencies. In Kubuntu “title bar button” works out of the box without any modifications.
Has somebody another idea?
I would like to request that it works out of the box for the next release. Where should I file a bug report?

Thank you very much!

Read
openSUSE:Submitting bug reports - openSUSE

and raise bug
https://bugzilla.novell.com/index.cgi

Reason is that appmenu patch has been merged into Qt, so it works with Qt/KDE apps, while upstream GNOME never accepted Ubuntu patches for GTK toolkit. I am 100% sure your potential bug report will be closed by our GNOME maintainers, as oS maintainers in general accept either upstream patches, or the ones that fix oS specific problems/settings,etc

So this patch is ubuntu-specific (called appmenu-gtk)?
If so, I will try to make a working package.

You need:
appmenu-gtk
libdbusmenu-gtk
gtk2 with ubuntu patches

Okay, I have managed to install appmenu-gtk and libdbusmenu-gtk. Still no sucess exporting the menu.
Regarding gtk2 with ubuntu patches: This would mean to recompile every gtk app (with the patch applied) in order to get this working, right?
It makes me really sad, as this function is essential for me and I don’t want to stick with kubuntu.

Thank you for all the replies so far!

No, you need just patched gtk2 (and gtk3 for gtk3 apps). And without it, no appmenu will appear…
I have all of those packages, i might create a repo later today with required ones…

It would be really nice if you could do when you have got the time!

I have tried the following: add the following repository:
Index of /repositories/GNOME:/Ayatana/Factory
and switch all gtk related packages to this vendor.
I installed appmenu-gtk2 and appmenu-gtk3, the libdbusmenu requirements were installed as dependencies.
And it still does not work! :’(
I should have everything required now on my setup (ubuntu patched gtk (2 and 3), libdbusmenu, appmenu-gkt (2 and 3)) and it still does not work!

Thanks for all the efforts so far!

I hope someone can help me resolve the issues!

has nobody an idea?
i would be happy about instructions too … it does not have to be a repo!

Ooops, sorry, i created the repo, but forgot to write here.
Repo file:

http://download.opensuse.org/repositories/home:/sumski:/appmenu_****/openSUSE_12.3/home:sumski:appmenu_****.repo

For now only with gtk2, as gtk3 does not compile. Will investigate that (it built succesfully few days ago with factory version)

EDIT: meh, forum is censoring me :wink:
instead of the *, ad c_r_a_p (without the underlines :))

Hi, thank you for your effort!
But unfortunately by switching all packages to your repo and installing appmenu-gtk2 there is still no titlebar button in gtk2 apps.
Maybe settings in system settings aren’t applied correctly? Is there a way to debug this stuff? How to test what exactly is not working (maybe a command line way to try to export gtk menus? Because without any error messages it is very complicated to find the reason.
Does it work for you?
I have the following packages from your repo installed:

appmenu-gtk2
gtk2-branding-upstream
gtk2-data
gtk2-immodule-amharic
gtk2-immodule-inukitut
gtk2-immodule-thai
gtk2-immodule-vietnamese
gtk2-tools
gtk2-tools-32bit
gtk3-branding upstream
gtk3-data
gtk3-immodule-amharic
gtk3-immodule-inuktitut
gtk3-immodule-thai
gtk3-immodule-vietnamese
gtk3-tools
gtk3-tools-32bit
libdubusmenu-glib4
libdbusmenu-gtk3-4
libdubsmenu-gtk4
libgtk-2_0-0
libgtk-3_0-0-32bit
libgtk-3-0
libgtk-3-0-32bit

Kudos for your help so far!

What functionality are you trying to achieve? Some of us have no idea what the HUD does in Ubuntu and therefore can not help you. However, if you told us what you want there may be a KDE way or Plasmoid that someone can point you to.

Sumski knows exactly what I want to achieve.
The original thread title may be confusing. The actual problem is the following:
If you go to Sytemsettings(Configure Desktop)/“Application Appearance”/“Style”/“Fine Tuning”/
you will find an entry called Menubar style.
I want to change this to “Title bar button”. This works only for qt/kde applications in opensuse. (In Kubuntu it works for gtk ones too).
Sumski told me the gtk maintainers of opensuse refused to apply the patch, which makes the functionality available, as gtk upstream maintainers refused the code too. A similar patch was accepted by qt though, thats the reason why this works with qt/kde applications.
So one would ask now, what has this problem to do with appmenu runner?
It is simple: Appmenu-krunner works only if you are able to export the menu from the application. In Opensuse this works for qt/kde apps but not for gtk ones.

Ok, I guess I did not ask clear enough. What do you want to do?? What does appmenu-krunner do that you want? What is your goal, sort windows by title?? Manipulate widows or what? There may be other ways besides appmenu.

I think the problem is about the same thing is annoying me : this new KDE 4.10 feature as explained there : How To Enable The New KDE 4.10 Appmenu (Title Bar Button Or Top Screen Menubar) ~ Web Upd8: Ubuntu / Linux blog is not working with gtk applications in Opensuse…