dangvd / ksmoothdock

A cool desktop panel for KDE Plasma 5
56 stars 7 forks source link

Implement an Application Menu launcher #1

Closed dangvd closed 7 years ago

dangvd commented 7 years ago

KSmoothDock 4.x had an application menu launcher, by calling KDE 3's application menu via DCOP.

KDE Plasma 5 however doesn't support similar functionality. The similar DBUS call: org.kde.plasmashell /PlasmaShell activateLauncherMenu only shows the menu at the position of the K Menu icon, and not at cursor's position or a specified position.

A potential solution is just to implement an application menu launcher ourselves. Need to find out:

dangvd commented 7 years ago

Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html

Entries: /usr/share/applications/*.desktop /usr/share/applications/kde4/*.desktop $HOME/.local/share/applications/*.desktop

Parse desktop files and look for:

dangvd commented 7 years ago

Lowering priority for now.

dangvd commented 7 years ago

A basic alternative for now is to have a Plasma panel with KMenu button in Dashboard mode then call that DBus: qdbus org.kde.plasmashell /PlasmaShell activateLauncherMenu

dangvd commented 7 years ago

Released in v5.7