Zren / plasma-hud

Provides a way to run menubar commands in KDE Plasma through rofi, much like the Unity 7 Heads-Up Display (HUD).
GNU General Public License v2.0
235 stars 9 forks source link

Does not work on KDE Neon #15

Closed DanielRios549 closed 4 years ago

DanielRios549 commented 5 years ago

Plasma-hud does not work on KDE Neon, i simply installed it following the steps in readme, when I run it on Konsole and press TAB, it returns these errors: image

Zren commented 5 years ago

Konsole has a menubar, so the menu hasn't been exported to dbus.

Either use the Global Menu widget, or add the App Menu button in to the titlebar.

After you add either, restart konsole and you'll notice the menubar dissappeared.

DanielRios549 commented 5 years ago

Konsole was only an example, Plasma-hud does not work at all, maybe the menu hasn't been exported to dbus in all applications or the ALT shortcut is not working properly, these errors are always printed in the terminal when I start it from there...

Zren commented 5 years ago

It's not exported because you're not using the "application menu" button in the titlebar (System Settings > Window Decorations > Buttons tab). I doubt you're using the global menu widget either as I still see the menu in the konsole window in your screenshot. It would be hidden if you had either of them.

https://www.youtube.com/watch?v=5Xeqhv4YSPI

DanielRios549 commented 5 years ago

@Zren Thanks man, you are right, with "application menu" on titlebar, plasma-hud works correctly, but the problem is that there is no menubar anymore, I prefer the menubar instead of this menu in the titlebar, is there how to export the menu without "application menu" in titlbebar?

CookieSource commented 4 years ago

I would also like to know if it's possible to do this without having to add it to the panel and without the menu bar disappearing. @Zren

Zren commented 4 years ago

It's not possible to tell apps to export the menu to the OS via DBus and keep the menu in the app unfortunately. Unity achieved a workaround by showing the menu in the titlebar (locally integrated menu). I've added LIM to my window decorations:

https://github.com/Zren/material-decoration