On 2016-08-24 17:40, Daniel Bauer wrote:
Ha! Thanks Andreas. I checked the desktop entry for kwrite and the execute command is "kwrite %U".
So I typed that instead of simply "kwrite" and - oh miracle - it works!
I googled for %U but couldn't understand the explanations i found. Anyway. I still wonder why this was not necessary on 13.2 while now obviously I must type %U. (It's no problem now that I know it, I just wonder why it wasn't necessary before, or better said, why it is necessary now).
"%U" is replaced with "something". It's a placeholder for the full file name, probably, described wherever desktop files are described. man desktop-file-validate For information about the Desktop Entry specification, see http://freedesktop.org/wiki/Specifications/desktop-entry-spec. And sure enough, there is a table: Code Description %u A single URL. Local files may either be passed as file: URLs or as file path. %U A list of URLs. Each URL is passed as a separate argument to the executable program. Local files may either be passed as file: URLs or as file path. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)