I'm
looking for help with reorganizing the TDE menu when TDE and KDE4 menu are
installed concurrently.
In a word: clutter.
I'm getting ready to push a huge patch set that will help
liberate TDE using our own XDG registrations. That effort
will help avoid potential conflicts with KDE4. More to come
about that patch set (refer to bug report 892), but the
patch is looking very good at the moment.
A while ago I filed bug report 977
(
http://bugs.pearsoncomputing.net/show_bug.cgi?id=977).
Please read the bug report to understand the goal of moving
the KDE4 menu items.
I want to create a separate KDE4 top-level menu and let the
KDE4 menu appear there.
Although KDE4 apps are uniquely identified with a "[KDE4]"
text marker in the menu (created in
tdelibs/kio/kio/kservice.cpp), when TDE is installed
concurrently with KDE4 there is nonetheless some serious
menu clutter. Moving KDE4 menus to their own location would
reduce that clutter. Moving allows TDE to display its own
set of apps. Users decide which version of duplicate apps
they prefer, but moving the KDE4 menu establishes that the
user is running TDE.
I'm thinking with the upcoming patch set that moving the
KDE4 menus probably is doable. Now is a good time to test
this while I finalize testing for the upcoming patch set.
I have nominally tested adding a
<Not><Category>KDE<Category></Not>
set to prevent KDE4 items from appearing in a menu category.
That removes the KDE4 items from the main TDE menu and
reduces clutter.
I'm struggling to get the KDE4 menu to appear by itself in
the top level. Basically I want to merge
/etc/kde/xdg/menus/applications.menu into the TDE
applications.menu.
I appreciate any help.
Although I have not found a way to create a top-level KDE4 menu, I found a way to create
a separate KDE4 menu in each individual menu. Here is a sample screen shot:
http://humanreadable.nfshost.com/trinity/build_logs/tde-menu-with-kde4.png
Notice I temporarily patched tdelibs to not append the app name with "[KDE4]",
which no longer is necessary with this new menu layout.
When KDE4 is not installed then the Trinity menu looks normal, like this:
http://humanreadable.nfshost.com/trinity/build_logs/tde-menu-no-kde4.png
I appreciate comments!
Darrell
Darrell this is nice - I like to avoid being confused by my KDE4
applications while in trinity and visa-versa
Calvin