Hi folks,
I'm still looking for a way to have "legacy-only" menus
under KDE 3.2.2 on Fedora Core 2. That is, I'd like to drop a legacy menu tree into /etc/X11/applnk and have that be the ONLY source for menus. I've tried using an applications.menu file like this:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> <Menu> <Name>Applications</Name> <LegacyDir>/etc/X11/applnk</LegacyDir> </Menu>
but it only results in an empty menu. (The tree under applnk contains *.desktop and .directory files that work with KDE 2.2.2.)
Where did you put this file?
If you use that file (which is correct AFAIK except for the name) as:
/etc/xdg/menus/applications-merged/X11-legacy.menu
This will add your legacy menus. IIUC, that isn't what you want. You want to get rid of the non-legacy menus as well.
You are also going to need have something else for:
/etc/xdg/menus/applications.menu
Exactly how much, I'm not sure but I would start by trying this:
<Menu> <Name>KDE</Name> <Directory>kde-main.directory</Directory> <!-- Search the default locations --> <KDELegacyDirs/> <DefaultAppDirs/> <DefaultDirectoryDirs/> <DefaultLayout> <Merge type="menus"/> <Merge type="files"/> <Separator/> <Menuname>More</Menuname> </DefaultLayout> <Layout> <Merge type="menus"/> <Menuname>Applications</Menuname> <Merge type="files"/> </Layout>
<DefaultMergeDirs/> <MergeFile>applications-kmenuedit.menu</MergeFile> </Menu>
Some of this might not be needed.
-- JRT ___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.