I would like to make a C program (GTK) that reads a .desktop file. The only thing I need from the .desktop file is the exec command. Is there something built into GTK that would allow me to interact with .desktop files? Or do I have to use the standard file IO methods?


1 Answer 1


GLib's GKeyFile class could be what you are looking for.

Not the answer you're looking for? Browse other questions tagged or ask your own question.