RE: desktop entry spec 0.9.7 Exec key parsing

2006-11-03 Thread Bastian, Waldo
The Exec line spec isn't a reflection of (everything) what GNOME and KDE do, it is a recipe for how to create an Exec line that is supported by GNOME and KDE and other conforming implementations and it provides conforming implementations with a limited set of syntactical constructions that they

RE: desktop entry spec 0.9.7 Exec key parsing

2006-11-03 Thread Dan Winship
On Fri, 2006-11-03 at 10:53 -0800, Bastian, Waldo wrote: 1) According to the current spec Exec=foobar.sh %f and Exec=foobar.sh %f are both valid and equivalent. Unfortunately gnome adds single quotes around the filepath when using %f effectively making the path unusable. The bright side is

RE: desktop entry spec 0.9.7 Exec key parsing

2006-10-30 Thread Dan Winship
On Mon, 2006-10-30 at 10:41 -0800, Bastian, Waldo wrote: * It says arguments may be quoted in whole, but both GNOME and KDE also allow quoting arguments in part. Eg That's great, the spec doesn't allow these constructions though. OK, I missed the fact that the reserved character

RE: desktop entry spec 0.9.7 Exec key parsing

2006-10-30 Thread Bastian, Waldo
* It says that backslashes only escape text within double quotes, but GNOME and KDE both parse one\ word as one word and \two words\ as two. Yes, so although these constructions are supported by GNOME and KDE, the spec doesn't allow them