> For renamed files, get rid of 'NotShowIn='. If NotShowIn=KDE is
>all that is
>needed to prevent the TDE/KDE conflict for those apps that have
>NOT been
>renamed, the warm up 'sed' and make the change. If I recall
>correctly, the only
>downside to eliminating NotShowIn= completely for every desktop
>file is that you
>would get both versions of of KDE3 and KDE4 application in the
>menu. SuSE
>initially changed the title in the KDE4 apps to include KDE4-blah
>which provided
>separation in the menus but the menus did look a bit cluttered
>with double-apps
>everywhere.
>
> Since we have been on this huge renaming kick to prevent
>conflict, then I say
>get rid of 'NotShowIn=' in every application that has been
>renamed. Yes kde4
>with see tde apps, but that is an upgrade, not a problem.
>
> Turn the issue around, does any other desktop include
>'NotShowIn=TDE' to
>prevent TDE from seeing all their apps - no. I don't think we need
>any of these
>training-wheels except in case of direct TDE/KDE name conflict.
I tested this in fluxbox and xfce. I see no Trinity apps in the
menus.
Upon further reflection, although possibly we have been overzealous
with using OnlyShowIn=TDE, I suspect not. We do need to use that
directive for certain apps, but I don't think that is the root
cause of the problem described by the blog author.
I suspect the problem with other environments not seeing Trinity
apps is environment variables. As just about all of us build
Trinity to install to /opt/trinity, not a single environment
default configuration will find Trinity apps with standard
environment variables. Specifically the XDG_* variables that affect
finding trinity files.
I believe then the first hurdle is how to help other environments
find all Trinity *.desktop files.
I wonder whether we should install the menu files to /etc/xdg/menus
rather than /etc/trinity/xdg/menus.
A caveat: when KDE4 is concurrently installed with Trinity, the
respective environment menu can become a hopeless cluttered mess.
This is true in my xfce test. We have a build-time option to add
"[KDE4]" to all KDE menu items, but that might affect only the
Trinity menus. I'd have to run a build test to see any effects on
the Xfce menu.
This topic deserves further investigation.
Darrell