09.11.2002 - (v0.06) changed default applnk path, fixed memory leaks
11.07.2002 - (v0.05) small fix, empty menus are no longer visible
23.03.2002 - bugfix release (v0.03) - fixed coredumping on longer menus, parses .directory again
03.03.2002 - contemporary version (v0.02) - for KDE2 and GNOME (.desktop instead of .kdelnk)
22.04.2000 - first public release (v0.01)
Kdelnk2wmaker (what a fancy name, indeed :-) was the first (known to me) .desktop (or .kdelnk in old version) to WindowMaker menu converter which supports locale. It uses your environment variable LANG to determine the application name. If local name isn't found it takes default name and if it is still unknown, it shows the first argument of execution which is likely to be the application's name.
The output is in plain text format. Window Maker also accepts another format of menu - property list. Current version of kdelnk2wmaker can dump menu in this format too.
I was considering output in wmconfig format, but there's already such tool: by Yves Bailly ( http://www.linux-france.org/prj/kde2wm/index.html) which does such conversion. Unfortunatelly it doesn't support i18n of KDE, but one might easily change it to do output only in his native language (it's a perl script).
There are hooks for other window managers - comments (baloon help in KWM) and icon names are also parsed from .desktop. They have no use with Window Maker's menu but might be useful for other window managers.
You can dump the menu and paste it into your
~/GNUstep/Library/WindowMaker/menufile or place there something like:
"Applnk" OPEN_MENU | kdelnk2wmaker
It takes more time at startup but you don't have to update menu when you install/remove KDE applications.
Don't use
-poption even if use property list format. You should place in your
~/GNUstep/Defaults/WMRootMenusomething similar to:
( "Applnk", OPEN_MENU, "| kdelnk2wmaker" ),In case you want to paste menu dump there of course add
-pto options.Note that if language specific characters does not appear correctly then you might need to pipe kdelnk2wmaker output through iconv, read INSTALL file for more.
Download
You can download latest (v0.06) kdelnk2wmaker here.
Available versions:
kdelnk2wmaker-0.06 (for KDE3/KDE2/GNOME, .desktop and .directory files)
kdelnk2wmaker-0.05 (for KDE2/GNOME, .desktop and .directory files)
kdelnk2wmaker-0.03 (for KDE2/GNOME, .desktop and .directory files)
kdelnk2wmaker-0.02 (for KDE2/GNOME, .desktop files)
kdelnk2wmaker-0.01 (for KDE 1.x .kdelnk files)
Contact
You can reach me here: Maciej Witkowiak (ytm@elysium.pl)