I am trying to open the downloads directory into the terminal directly from dolphin. However when I do it, the terminal opens in the directory previous to this one (Home) and not in the directory I wanted (downloads). This issue isn’t only with this specific directory but any other one in the system where it’ll always default to the previous one.
Any way to change this?
It’s indeed curious that “open folder with konsole” opens the parent folder, but in the context menu under “Actions” you should find “Open Terminal Here” which should work as expected.
I guess konsole just doesn’t take a path argument as a default parameter, even if you launch a terminal and type $ konsole folder
so if you edit applications to add --workdir to the command line arguments, then the open folder with - konsole context menu will work as expected.
EDIT: however, now if you try to open konsole from krunner it fails because there is no <dir> specified.
so to fully implement this you would need to create a copy of konsole in the applications menu editor that was for this purpose (perhaps that’s what Open Terminal Here does)
F4 or (for separate terminal) ShiftF4 is the best solution
F4 is for the embedded (konsole), then Shift_F4 external (Kitty for me in a separate window).
I love the embedded, as it lets me work closely - and can do cool stuff like ‘z’ to jump the Dolphin directory from the terminal.
I never used the context menu for that one, it seems different (this is obviously some kind of bug) because if you use the actual Menu >Tools you’ll find both options (open terminal and ‘open terminal here’ which appear to do exactly the same thing…
But anyway, just F4 for embedded/linked to current view (Konsole) or Shift_F4 for separate window.
Actually, Shift+F4 opens the terminal in the current view (ignores selection), Alt+Shift+F4 opens at the selected folder. So there’s two different shortcuts.
Curiously, the context menu displays the same shortcut for both actions, which is clearly wrong.
This is the argument I was interested to bring with the ‘Create New Folder’ issue being discussed elsewhere - the language for different options (or different contexts) needs to be more explicit.
Yes, it would be a great change to have the context menu display “Open terminal here (Shift+F4)” or “Open terminal in folder (Alt+Shift+F4)” or similar respectively. It seems like the context menu needs a proper check up after all the quirks and inconsistencies we’ve found just in the last few days.