Since the upgrade to Qt5 opening a terminal will always open it at $HOME, regardless of configuration. I used to have "konsole --new-tab --workdir %d" before the upgrade, but now it just won't work. Setting "default terminal" to "echo konsole --new-tab --workdir %d" will just print "konsole --new-tab --workdir %d", which probably means there's no substitution going on like with commands? Setting it to just "konsole" will have the same result (obviously without opening a new tab). Reproducible: Always Steps to Reproduce: 1. Press F9 (or set shortcut for "open terminal here", F11 in my case) or click "Term" button Actual Results: It will open terminal at $HOME Expected Results: It should open on current folder. My system is Ubuntu 16.04 64b, built from git against KDE Frameworks 5.23.0, Qt 5.5.1. If any other information is required, I'll provide it.
Hi! Thanks for report. Can you please try setting "konsole --nofork"? This is the default value for Krusader now.
"konsole --nofork --new-tab" actually did the trick! Thank you very much Martin. I actually didn't think of checking out the new defaults after migrating from the older qt4 version. My bad entirely!
Oh, wait, actually, it doesn't open a new tab. Is there anything that can be done about that?
Not from Krusader side. If I try to run "konsole --new-tab" from krunner (alt+f2), it still opens a new konsole window therefore I believe it is a konsole problem, but I could be wrong. I've found this: https://bugs.kde.org/show_bug.cgi?id=341672#c1 Maybe it would be worth filing a dedicated bug report on konsole if it turns out there is no way for konsole reusing the same process to create a new tab.
However konsole --new-tab from anywhere else does open a tab for me. (konsole 15.12.3). I am trying from kupfer (a krunner-like launcher), krusader's command line, other terminals and khotkey as well. In previous versions of Krusader %d was expanded to the pwd, so I could force it to work on a specific folder via the command I described above, but that doesn't seem to be the case anymore.
You are right. Please try the latest git. Populating of %d should now be implemented.
Please test with latest version (2.5.0).
Closing due to the lack of response.