FS#9787 - xsane lacks desktop file
Attached to Project:
Arch Linux
Opened by Antonio Bonifati (ant) - Saturday, 08 March 2008, 14:07 GMT
Last edited by Greg (dolby) - Saturday, 10 May 2008, 14:47 GMT
Opened by Antonio Bonifati (ant) - Saturday, 08 March 2008, 14:07 GMT
Last edited by Greg (dolby) - Saturday, 10 May 2008, 14:47 GMT
|
Details
Description:
I suggest adding a desktop file like this: [Desktop Entry] Encoding=UTF-8 Name=XSane - Scanning Name[it]=XSane - Scannerizzazione Comment=Acquire images from a scanner Comment[it]=Acquisisce immagini da uno scanner Exec=xsane Icon=/usr/share/sane/xsane/xsane-logo.xpm Terminal=false Type=Application Categories=Application;Graphics Additional info: * package version: 0.995-1 |
This task depends upon
I noticed other packages provide a desktop file by itself if they are missing from source. XBoard doesn't but a simple:
$ find /var/abs/ -name "*.desktop"
will reveal that many do.
My opinion is that nowadays one cannot pretend that users launch common graphic applications from the command line. Many users are not computer experts: they use Linux with GNOME or KDE as a Window-like OS and don't even know that a command line exists.
Recently we are encouraging users to bug upstream devs about inclusion of .desktop & icons in official sources - this way even non-Arch users will benefit from this.
Those .desktop files that are in other packages exist because either upstream devs ignoring the issue or they are from old times where we weren't bugging upstream devs.
Second, generally I agree with Roman, but also with Antonio. I think that upstream should be asked to add a .desktop file to the sources, but as long as upstream doesn't provide one, downstream should provide one as other distributions do this, too, at least Gentoo does it. Maybe downstream's desktop files could then be sent to upstream. ;-)
Btw., it doesn't belong to this bug, but I already asked the developers of eboard, xboard, tvbrowser and flpsed for a .desktop file.
In eboard it will be included in the next version. From xboard I didn't get an answer, yet. The tvbrowser developers seem to agree to add one in one of the next versions, I think, but this will have to be installed manually by the install command within the PKGBUILD. And the flpsed developer also seems to agree to add one.
I know that this is not a forum, but allow me one question regarding this, because the flpsed developer asked me, and I don't know Gnome.
Do Gnome and other desktop environments also read their menu from the directory /usr/share/applications?
yes, all standards-compliant DEs and WMs do this.
IIRC only *box-like and some other WMs don't (there are menu generator(s) for them in AUR)