desktop-file pre-commit hook.

Enrico Tröger enrico.troeger at
Wed Apr 2 13:57:02 CEST 2008

On Sun, 30 Mar 2008 21:45:19 +0200, "Stephan Arts" <stephan at>

> Hi,
> In a response to the mail from enrico, I was wondering. Could we add a
> pre-commit hook on .desktop files just like we do for .po files?

This is a great idea.
But as Brian already told, the script should be take care
of files and possibly remove found "_" prefixes. You can't
pass them directly to desktop-file-validate, it doesn't like the
underscore prefixes. Maybe there are also some other things to take
care of.


Get my GPG key from
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Xfce4-dev mailing list