Bug 468614

Summary: Wishlist: dedicated mode to run rich command line applications
Product: [Applications] konsole Reporter: nic.christin <nic.christin>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nic.christin@gmail.com 2023-04-17 13:23:49 UTC
SUMMARY

It's often useful to launch a new konsole with the -e flag, just to run a command-line application (like vim) in a dedicated window. The problem is, most people will configure konsole specifically with the purpose of running a shell, and this configuration might not be optimal for running other programs.

It is possible of course to override some of konsole's configuration with command-line options. For example you can hide the menu and the scrollbar with the -p flag. One thing that can't be overridden however (as far as I know) is the keyboard shortcuts. This is a problem, because some the shortcuts configured in konsole might interfere with the shortcuts configured in the hosted program.

So, it would be useful to have a command-line option to run konsole in a minimalist mode, for when you just want it to be a "host" to some rich command-line application and give full control of the terminal to this application. This mode could:

* Most importantly, disable all keyboard shortcuts
* Maybe, for convenience, also disable extra features like menu, toolbars, scrollbars, line numbers, vertical line... (could still be added back with -p if the user wants them)

For example, it could be done with a --minimal flag:

# Runs nvim in a minimal window with no shortcuts
konsole --minimal -e vim "$@" & disown

# Same, but adds back the vertical line
konsole --minimal -p VerticalLine=true -e vim "$@" & disown