Am 24.08.2016 um 17:01 schrieb Andreas Mahel:
On 24.08.2016 07:45, Daniel Bauer wrote:
But why is there a difference whether I open the file typing "kwrite" or clicking on kwrite? It's the same session, the same dolphin window, the same fish connection, the same open-with dialog. The only difference is that I write the programs name or I click on it. I just don't get it...
I guess that when you click on the "kwrite" entry from the list of configured applications, then actually a *.desktop KDE shortcut will be executed (in the only test system I have at hand at the moment this would be /usr/share/applications/org.kde.kwrite.desktop). If you just type "kwrite", then it's probably "only" a command execution like from the command line (including the file path as an argument).
Could it be that the KDE shortcut sets special command line parameters for kwrite and/or KDE specific context information which make the difference in this case? This is for someone else to answer, though...
HTH, Andreas
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). -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org