SUMMARY By default Ctrl+clicking a file path does not open them. If you enable the "Underline files" setting, that is found in Settings -> Configure Konsole... -> Profiles -> Edit... -> Mouse -> Miscellaneous, you can allow Ctrl+clicking filepaths to open them. In my opinion this should be enabled by default so that tools don't have to rely on file:// for the same functionality. This was discussed briefly on Invent https://invent.kde.org/sdk/kdesrc-build/-/issues/144#note_867753 STEPS TO REPRODUCE 1. run `echo ~/.local/share/` 2. Ctrl+click on the generated filepath OBSERVED RESULT Nothing happens EXPECTED RESULT The filepath should open in a file browser by default SOFTWARE/OS VERSIONS Linux: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12
Related bug 481115
Related: we might also want to show a tooltip on hover such that users know they can ctrl-click to open.
I agree, this is a better default setting IMO. > Related: we might also want to show a tooltip on hover such that users know they can ctrl-click to open. That too. Kate does this.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/956
Git commit f38304e76fd678b95855909cb0ae34f68d13a35d by Yifan Zhu. Committed on 09/03/2024 at 02:56. Pushed by fanzhuyifan into branch 'master'. profile: enable underline files and open file/links by direct click M +2 -2 src/profile/Profile.cpp https://invent.kde.org/utilities/konsole/-/commit/f38304e76fd678b95855909cb0ae34f68d13a35d
It was reverted after complaints that the change made it harder to select links by double-click; re-opening.