Le 24/07/2011 10:25, Emmanuele Bassi a écrit : > hi; > > 2011/7/24 Aurélien Gâteau : >> Most distributions split KDE packages so if you get a pre-installed >> computer with Gnome and a few KDE applications installed, KDE System >> Settings would not be installed. >> >> You are only likely to get both System Settings pre-installed if your >> computer was shipped with both KDE and Gnome desktops. In this >> situation, I assume you would be provided with some explanation as to >> what KDE and Gnome are. > > installing both Gnome and KDE is not equivalent to running both at the > same time. Indeed, but still, if there is a use for KDE System Settings to appear on the Gnome desktop, then Shaun solution is appropriate IMO, but that actually brings another interesting question: Which KCM (KDE Control Module, the elements shown in KDE System Settings) are actually useful when running on Gnome? As I said, to the best of my knowledge, very few applications must be configured from a KCM. The only two applications I found on Ubuntu are KInfoCenter and KNemo, which are both KDE workspace-specific. A regular (meaning with a main window) application should show its configuration through its "Settings" menu. A window-less application is most likely workspace-specific and would probably not be useful on a different workspace. Do we have examples of KDE window-less applications which are useful on Gnome? Another use for KDE System Settings on Gnome is the configuration of the palette, font and icon settings of KDE applications. Interestingly I pushed yesterday a commit which makes KDE applications follow the workspace settings for palette and font (I have yet to do icons) when not running on a KDE workspace, just like Qt-only applications do (BTW, would be awesome if you Gnome devs could do the same for Gnome applications running on a KDE workspace). So this is not relevant anymore. If there is no need for KDE System Settings on a Gnome desktop, then adding a OnlyShowIn=KDE; key to the desktop file would be appropriate. If on the other hand there is a need for KDE System Settings on a Gnome desktop, then Shaun solution is correct IMO and we should start to think about adding support for OnlyShowIn to KCM desktop files, because it makes no sense for example to be able to define Plasma Desktop wallpaper when running on Gnome. Aurélien