PDA

View Full Version : Get a list of programs (.desktop files)?



nwarrenfl
June 14th, 2009, 11:41 AM
Hello everybody!

I'm making a little GNOME applet since yesterday and i have some questions.
See: http://ubuntuforums.org/showthread.php?t=1186308

My applet is written in C and i would like to know if there's an easy way to get a list of all programs (like in the menu)? I know you can use XDG, but i only found PyXDG, but i prefer to do it in C.

Any easy solution? Thanks in advance.