Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plasma-hud is always "giving up" #39

Open
lytex opened this issue Oct 31, 2020 · 3 comments
Open

plasma-hud is always "giving up" #39

lytex opened this issue Oct 31, 2020 · 3 comments

Comments

@lytex
Copy link

lytex commented Oct 31, 2020

I couldn't get plasma-hud working, using Kubuntu 20.10.

Perhaps I'm missing some dependency
I have enabled DEBUG logging mode on the script:

DEBUG:root:rofiVersion: 1.5.4
DEBUG:root:supports_icons: True
DEBUG:root:supports_shortcuts: False
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 2104.135863045
DEBUG:root:Window id is : 0x6000006
DEBUG:root:WM_CLASS: ['qdbusviewer', 'QDBusViewer']
DEBUG:root:Giving up
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 2109.895508752
DEBUG:root:Window id is : 0x5400007
DEBUG:root:WM_CLASS: ['konsole', 'konsole']
DEBUG:root:_GTK_UNIQUE_BUS_NAME: None
DEBUG:root:_GTK_MENUBAR_OBJECT_PATH: None
DEBUG:root:_GTK_APPLICATION_OBJECT_PATH: None
DEBUG:root:_GTK_WINDOW_OBJECT_PATH: None
DEBUG:root:_UNITY_OBJECT_PATH: None
DEBUG:root:_KDE_NET_WM_APPMENU_SERVICE_NAME: None
DEBUG:root:_KDE_NET_WM_APPMENU_OBJECT_PATH: None
DEBUG:root:Giving up
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 2119.380500528
DEBUG:root:Window id is : 0x5400007
DEBUG:root:WM_CLASS: ['konsole', 'konsole']
...
DEBUG:root:Giving up
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 2127.242111022
DEBUG:root:Window id is : 0x4400107
DEBUG:root:WM_CLASS: ['Navigator', 'Firefox']
...
DEBUG:root:Giving up```
@lytex
Copy link
Author

lytex commented Nov 1, 2020

In Ubuntu 20.10 (probably also in Ubuntu 20.04) you have to compile appmenu-qt since it's not in the repos anymore.

Manually install appmenu-qt from one of these sources:

Even after installing appmenu-qt, I still get:

DEBUG:root:_KDE_NET_WM_APPMENU_SERVICE_NAME: None
DEBUG:root:_KDE_NET_WM_APPMENU_OBJECT_PATH: None

What are they supposed to look like with appmenu installed?

@dufferzafar
Copy link

I'm facing the exact same problem:

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.4.89-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
DEBUG:root:rofiVersion: 1.6.1
DEBUG:root:supports_icons: True
DEBUG:root:supports_shortcuts: True
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 13953.684787191
DEBUG:root:Window id is : 0x4000019
DEBUG:root:WM_CLASS: ['code - insiders', 'Code - Insiders']
DEBUG:root:_GTK_UNIQUE_BUS_NAME: None
DEBUG:root:_GTK_MENUBAR_OBJECT_PATH: None
DEBUG:root:_GTK_APPLICATION_OBJECT_PATH: None
DEBUG:root:_GTK_WINDOW_OBJECT_PATH: None
DEBUG:root:_UNITY_OBJECT_PATH: None
DEBUG:root:_KDE_NET_WM_APPMENU_SERVICE_NAME: None
DEBUG:root:_KDE_NET_WM_APPMENU_OBJECT_PATH: None
DEBUG:root:Giving up
DEBUG:root:toggleHUD.rofi_process: None
DEBUG:root:toggleHUD.openHUD
DEBUG:root:

DEBUG:root:hud()            : 13975.094109154
DEBUG:root:Window id is : 0x3400003
DEBUG:root:WM_CLASS: ['Navigator', 'firefox']
DEBUG:root:_GTK_UNIQUE_BUS_NAME: :1.35
DEBUG:root:_GTK_MENUBAR_OBJECT_PATH: /org/appmenu/gtk/window/0
DEBUG:root:_GTK_APPLICATION_OBJECT_PATH: None
DEBUG:root:_GTK_WINDOW_OBJECT_PATH: None
DEBUG:root:_UNITY_OBJECT_PATH: /org/appmenu/gtk/window/0
DEBUG:root:_KDE_NET_WM_APPMENU_SERVICE_NAME: None
DEBUG:root:_KDE_NET_WM_APPMENU_OBJECT_PATH: None
DEBUG:root:Giving up

@Zren
Copy link
Owner

Zren commented Jan 23, 2021

Do you have a global menu widget, or the appmenu button in the window decoration?

Edit: Also, firefox probably won't work since it doesn't export it's menu by default. You need a patched version of firefox. If the Global Menu widget doesn't work, then plasma-hud won't either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants