[konsole] [Bug 468614] New: Wishlist: dedicated mode to run rich command line applications

nic.christin at gmail.com nic.christin at gmail.com
Mon Apr 17 14:23:49 BST 2023


https://bugs.kde.org/show_bug.cgi?id=468614

            Bug ID: 468614
           Summary: Wishlist: dedicated mode to run rich command line
                    applications
    Classification: Applications
           Product: konsole
           Version: 22.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: nic.christin at gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list