Bug 468614 - Wishlist: dedicated mode to run rich command line applications
Summary: Wishlist: dedicated mode to run rich command line applications
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 13:23 UTC by nic.christin@gmail.com
Modified: 2023-04-17 13:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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