On 08/12/2007, Russ Allbery <[EMAIL PROTECTED]> wrote: > Raphael <[EMAIL PROTECTED]> writes: > > On 08/12/2007, Russ Allbery <[EMAIL PROTECTED]> wrote: > > >> Could you point me to an example package? > > > Plenty of them: > > $grep -lr 'Actions=' /usr/share/app-install/desktop/ > > /usr/share/applications/kde/ /usr/share/applications/ > > /usr/share/applnk/System/ScreenSavers/ | sort -u | xargs -r egrep > > '^Type=' > > [...] > > Well, it would have been nice if you could have given me a package, given > that many of the files you list are in packages for which lintian doesn't > give the warning that you're complaining about. It made it hard to find > specific examples of the problem that you're reporting.
Removing app-install-data: $grep -lr 'Actions=' /usr/share/applications/kde/ /usr/share/applications/ /usr/share/applnk/System/ScreenSavers/ | sort -u | xargs -r egrep -l '^Type=' | xargs -r dpkg -S | sort -u | cut -d: -f1 | sort -u d3lphin kcometen3 kdebase-bin kscreensaver kscreensaver-xsavers ktux > > Here, though, is a good example: > > > /usr/share/applications/kde/d3lphin.desktop:Type=Application > > Some searching turns up the discussion at: > > http://lists.freedesktop.org/archives/xdg/2006-August/006899.html > > which reveals that Actions is apparently a KDE-specific feature that isn't > documented in the current standard but should be added in a newer version. > > Sorry about this. I personally don't use *.desktop files, so we get > caught between a rock and a hard place when people push them as an > improvement over the menu system, and then the standard to which people > point me doesn't actually reflect reality. It would have been great if > the desktop folks would have written up what the real standard is so that > we could code to it, but that appears to not be available, so everyone has > to suffer through trying to figure out exactly what parts of the standard > are real and what parts KDE has done its own thing with. > > I'll add Actions to the KDE-specific key section of the check. > > So. Is there anything else that KDE does differently with the *.desktop > standard from everyone else that we need to take into account? (Like the > slew of Category errors from app-install-data, for example, from using > categories that really aren't valid according to the current standard?) Checking the generated report for desktop-entry-contains-unknown-key[1] shows some common extra entries like: Patterns, PreferredItems, PreferredGroups GNOME-related apps seem to often use MultipleArgs. But I can't really help with those because I really don't know what they are used for. > > -- > Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> > [1] http://lintian.debian.org/reports/Tdesktop-entry-contains-unknown-key.html Sincerely, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Say NO to Microsoft Office broken standard. See http://www.noooxml.org/petition -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

