3

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?

closed as too broad by Gilles, Anthon, jasonwryan, slm Oct 13 '14 at 0:32

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

6

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.