Figuring out the menu path of a desktop file
bastian at kde.org
Thu Sep 4 22:57:12 EEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Thursday 04 September 2003 20:23, Mike Hearn wrote:
> I'm writing an installer system, and at the end of the install it'd be
> nice to tell the user where in the menus the launchers were placed. On
> Windows XP they highlight the menu options, which is OK, but so far no
> desktop has done that, so it'd be good to show the user where in the
> menus the entry was put (otherwise we find users can't always find
> Is there a little program you can run, that given a desktop file will
> print (for instance):
> "System Settings/Server Settings/HTTP server"
> If not, how hard would it be to write one?
Using the KDE framework it's rather straightforward, that makes it KDE
specific of course. Otoh if you want to highlight the option in the KDE menu,
you need KDE specific code anyway.
I can add a "kde-menu" tool for KDE 3.2 that does stuff like that.
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the xdg