I want to be able to synchronize my KDE menus with fbpanel, to totally replace the KDE panel and menu.
Obsolete - it turns out this was implemented but not documented!
https://github.com/spiralofhope/ruby-random/tree/master/dead/fbpanel menu importing
stuff ∞
https://web.archive.org/web/20080407204203/http://docs.kde.org:80/userguide/kde-menu.html
- Learn how to pick apart the menu
-
Learn how to pick apart each
.desktop
file
NOTE: In PCLinuxOS 2007, $KDEDIR
is just ~
so it can be ignored.
-
menu structure:
/etc/xdg/menus/*.menu
~/.config/menus/*.menu
-
sub-menus:
/usr/share/desktop-directories/*.directory
-
applications:
/usr/share/applications/*.desktop
note: KDE continues to support old-style menus that are defined by the directory structures in $KDEDIR/share/applnk
(system wide) and $HOME/.kde/share/applnk
(user specific). This is observed unless the .desktop
file has a Categories=
line. In that case the categories determine the location in the menu.
rebuild the menu with kbuildsycoca
-
TODO - The Blackbox
right-click
menu.. which would arguably be a better format to transition to.- There's also a nice Fluxbox script which builds fluxbox scripts from the KDE scripts.
task 1 - take all .desktop
files, scan them and import them as one big flat list for fbpanel. ∞
-
attempt 04 -- It works!
task 2 - figure out the kde sub-menu structure ∞
(to do)
ABORTED: What I wanted was officially supported!
Plugin { type = menu expand = false padding = 0 config { icon = star systemmenu { } separator { } item { icon = gnome-settings name = configure command = configure } } }
Last updated 2019-11-16 at 05:12:28
Noting that this was a project, and was killed.