
When Konsole is started from the command-line, various options can be specified to modify its behavior.
--helpList the various options.
-e commandExecute
command instead of the normal shell.
Any arguments after command will be passed to
command, not Konsole.
--keytab fileStart Konsole using a specified .keytab file to customize key bindings.
--keytabsList all of the available keytabs.
--lsStart with a login shell environment.
What that does varies depending on your system, but generally it
means that files such as ~/.profile or
~/.bash_profile will be read. (If that doesn't mean
anything to you, don't worry about it, but keep in the back of your mind
for when you realize you need it.)
--name nameSet the name that appears in the titlebar.
--noclosePrevent Konsole from closing when an
exit
command is issued in the only session window.
--noframeStart Konsole without a frame.
--nohistDisable the saving of lines that scroll off the top of the window.
--nomenubarStart Konsole with the menubar hidden.
--noresizeDisable the resizing of the terminal window.
--noscrollbarStart Konsole with the scrollbar hidden.
--notabbarStart Konsole with the tabbar hidden.
--noxftStart Konsole without Xft antialiasing. Antialiasing of a small font may be difficult to read.
--profile fileStart Konsole using a saved set of sessions.
--profilesList all of the available profiles.
--schema name | fileStart Konsole using schema 'name' or specified in 'file' to customize appearance.
--schemataList all of the available schemata.
--scriptEnable extended DCOP Qt™ functions.
-T titleSet the window title.
--tn terminalSets the environment variable TERM to the specified
value. Read man for more information on TERM.xterm
--type typeStart a session of the given type rather than the default.
--typesList all of the available session types.
--vt_sz CCxLLStart a terminal window of CC Columns and LL lines.
--workdir dirOpen with
dir as the working folder.
Examples:
%konsole--vt_sz90x25--nohist
Starts a Konsole window with 90 columns and 25 rows, with no history
%konsole--noclose-eecho_argsHello, thanks for using Konsole!
Starts a Konsole window with the text printed 'Hello, thanks for using Konsole!'
The echo_args is a simple Bash script:
#!/bin/bash echo $*
Konsole also accepts generic Qt™ and KDE options:
--help-qtList Qt™-specific options
The following Qt™ options have no effect on Konsole:
--fn, --font
fontnameDefines the application font
--bg, --background
colorSets the default background color
--fg, --foreground
colorSets the default foreground color
--btn, --button
colorSets the default button color
--help-kdeList KDE-specific options
--help-allList all options
--authorShow the authors' names
-v,--versionShow the version number
--licenseShow license information
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team