gnome-control-center doesn't ignore '%f' in desktop file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
The "Desktop Entry Specification" says about the "Exec" key in .desktop files (in http://
If the application should not open any file the %f, %u, %F and %U field codes must be removed from the command line and ignored.
gnome-control-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 3.2.0-23-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu6
Architecture: i386
Date: Sat Apr 21 18:02:06 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
LC_CTYPE=
TERM=xterm
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/zsh
SourcePackage: gnome-control-
UpgradeStatus: Upgraded to precise on 2012-04-04 (16 days ago)
usr_lib_
Changed in gnome-control-center (Ubuntu): | |
importance: | Undecided → Low |
How to reproduce:
Save the attached file into /usr/share/ applications/ This add an iconless item named "Bug" to g-c-c that starts "evince %f". When clicking on it Evince complains that it can't find the document.
If you start "Bug" with the Dash Evince opens without an error like it should.