Figuring out the menu path of a desktop file

Waldo Bastian bastian at kde.org
Thu Sep 4 22:57:12 EEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 04 September 2003 20:23, Mike Hearn wrote:
> Hi,
>
> 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
> them).
>
> 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. 

Cheers,
Waldo
- -- 
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

iD8DBQE/V5kYN4pvrENfboIRAh7fAKCeaI5w7boIMTcVV+2kNXmhpNJIGACeOHyW
nKay3IU5vWeqU6hDwByCE74=
=vFlI
-----END PGP SIGNATURE-----



More information about the xdg mailing list