https://bugs.kde.org/show_bug.cgi?id=462594
--- Comment #7 from witchhunter <[email protected]> --- (In reply to Devin Lin from comment #5) > (In reply to witchhunter from comment #4) > > On some further testing, it appears that parsing is different from the one > > Konsole has, considering empty spaces within filename. > > On Micro's .desktop file this works for Konsole: > > Exec=konsole -e micro %F > > but I couldn't find a proper solution for qmlkonsole. So, before-mentioned > > running from Index won't work as stated. > > Hmm, what if you used quotes around your arguments? OK, so if I put quotes around Konsole's command it wont work. The viable command is: Exec=konsole -e micro %F Terminal=false I've tested this on computer with Dolphin and Index and it works for filenames with space and newline characters as well. As for qmlkonsole it works on cli with any whitespace named files. As for .desktop files, this works if filename have no whitespace: Exec=qmlkonsole -e "micro %F" Terminal=false if file have space in filename it will open two nonexistent files if file have newline in filename it will open nonexistent file and append text to it after newline from filename. I have also tried altering the above exec command assigning positional parameters and env variables with no success. -- You are receiving this mail because: You are watching all bug changes.
