Hi,

attached is an alternative padre.desktop file. There are GenericNames in several languages (inspired by KDE's quanta.desktop file). I've added a MimeType key and appended %F to the Exec key, which allows Perl files to be opened with Padre from file managers. The Comment key is taken from Debian's padre.desktop file.

The Categories key is set to "Development;IDE" since that's what most of the other IDEs do. Also, according to L<http://standards.freedesktop.org/menu-spec/latest/apa.html> "Application" and "Perl" are not registered categories.

The Encoding key is gone. According to L<http://standards.freedesktop.org/desktop-entry-spec/latest/apc.html> it is deprecated.

There's a padre.desktop.README file in Padre's "share" subdirectory that says "Change the hardcoded paths in padre.desktop to your corresponding installation. This will be automated later". That's not required. According to the Desktop Entry Specification "the executable is looked up in the $PATH environment variable if no full path is provided". There's also no need to give the application icon's full path. The Icon Theme Specification available at L<http://standards.freedesktop.org/icon-theme-spec/icon-theme spec-latest.html> specifies where application icons are supposed to be installed and how they are looked up.

--
Regards,
Andreas
[Desktop Entry]
Name=Padre
GenericName=IDE for Perl Development
GenericName[de]=Perl-Entwicklungsumgebung
GenericName[es]=IDE para desarrollo en Perl
GenericName[fr]=EDI pour le développement en Perl
GenericName[it]=Ambiente integrato per lo sviluppo in Perl
GenericName[nl]=IDE voor Perl ontwikkeling
Comment=Perl Application Development and Refactoring Environment
Type=Application
Exec=padre %F
Icon=padre
Categories=Development;IDE
MimeType=application/x-perl
Terminal=false
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to