Re: packaging a command line app to have action / servicemenu in filemanagers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/30/2009 11:40 PM, Rex Dieter wrote:
Is there someway to indicate to the desktop program that the menu
entry shouldn't be shown ?

add to the .desktop file, the key:
NoDisplay=true
Thanks Rex,

Any opinions on the other items - like running desktop file install (which fails): + mkdir -p /home/davidt/rpmbuild/BUILDROOT/tnef-1.4.6-3.fc11.i386//usr/share/mimelnk/application/ + desktop-file-install --dir=/home/davidt/rpmbuild/BUILDROOT/tnef-1.4.6-3.fc11.i386/usr/share/mimelnk/applications /home/davidt/rpmbuild/SOURCES/vnd.ms-tnef.desktop /home/davidt/rpmbuild/BUILDROOT/tnef-1.4.6-3.fc11.i386/usr/share/mimelnk/applications/vnd.ms-tnef.desktop: error: key "MimeType" is present in group "Desktop Entry", but the type is "MimeType" while this key is only valid for type "Application" /home/davidt/rpmbuild/BUILDROOT/tnef-1.4.6-3.fc11.i386/usr/share/mimelnk/applications/vnd.ms-tnef.desktop: error: key "Exec" is present in group "Desktop Entry", but the type is "MimeType" while this key is only valid for type "Application" Error on file "/home/davidt/rpmbuild/SOURCES/vnd.ms-tnef.desktop": Failed to validate the created desktop file
error: Bad exit status from /var/tmp/rpm-tmp.s0UHb2 (%install)

Am I doing it all wrong, or is the validator not versed in this type of .desktop file ?

DaveT.

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux