Desktop entry parser. Proposal for inclusion in libxfce4util.
Danny Milosavljevic
danny.milo at gmx.net
Sun Jan 11 15:41:47 CET 2004
Hi,
Am Son, den 11.01.2004 schrieb Jasper Huijsmans um 11:24:
> Hey all,
>
> In order to support .desktop files in future versions of xfce apps
> (panel, menu, etc), I wrote a small desktop file parser.
>
> I think it has a nice API and it seem to work well. There is no write
> support, but that can be added when we need it.
cool :) easy to use too ^^
> Attached is the header file and I have a test tarball here:
>
> http://members.home.nl/xfce4/files/test_dentries.tar.bz2
>
> Just type make to build the test program. To print some info about one
> or more desktop files, run this:
>
> ./test_dentries <desktop files>
Just ran it over all desktop files I have, and noticed that I need a
desktop file batch fixer ^^ (loads have Exec=null, Name=null, or similar
silly stuff, not to mention Categories=null O_o)
Anyways, the parser seems to work very well :)
Thankies :)
cheers,
Danny
More information about the Xfce4-dev
mailing list