[kde-linux] Disable menu options in kmenu
Murray Trainer
mtrainer at central-data.net
Fri Nov 2 01:22:47 UTC 2007
> On Thursday 01 November 2007, Murray Trainer wrote:
> > Hi,
> >
> > We have custom KDE menu files for different KDE kiosk profiles. I want
> > to make some menu items disabled (ie greyed out) in one menu file and
> > active in another. I can't see any way of disabling menu items in the
> > menu file or .desktop files. It appears to only be possible to delete
> > or hide the entry. Is there any workaround I can use?
>
> I am afraid this currently is neither supported by the freedesktop.org
> desktop-entry specification (used for the menu entries) nor by the menu
> specification since this probably didn't come up as a use case when the
> specification was developed.
>
> It might be possible to address this in a future version of the
> specifications, though I would imagine that there could be quite some
> resistance since it would mean changes in several implementations of those
> specs.
>
> Cheers,
> Kevin
>
Hi Kevin,
Thanks for the reply. Looks like a glaring omission to me. KDE
applications can have greyed out menu options so why not kmenu?
Anyway, is there something I can do in the .desktop file to stop it
running or change it's behaviour for certain groups of users?
Thanks
Murray
More information about the kde-linux
mailing list