Command-line Options
Prev
Next

Command-line Options

When Konsole is started from the command-line, various options can be specified to modify its behavior.

--help

List the various options.

-e command

Execute command instead of the normal shell.

Note

Any arguments after command will be passed to command, not Konsole.

--keytab file

Start Konsole using a specified .keytab file to customize key bindings.

--keytabs

List all of the available keytabs.

--ls

Start 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 name

Set the name that appears in the titlebar.

--noclose

Prevent Konsole from closing when an exit command is issued in the only session window.

--noframe

Start Konsole without a frame.

--nohist

Disable the saving of lines that scroll off the top of the window.

--nomenubar

Start Konsole with the menubar hidden.

--noresize

Disable the resizing of the terminal window.

--noscrollbar

Start Konsole with the scrollbar hidden.

--notabbar

Start Konsole with the tabbar hidden.

--noxft

Start Konsole without Xft antialiasing. Antialiasing of a small font may be difficult to read.

--profile file

Start Konsole using a saved set of sessions.

--profiles

List all of the available profiles.

--schema name | file

Start Konsole using schema 'name' or specified in 'file' to customize appearance.

--schemata

List all of the available schemata.

--script

Enable extended DCOP Qt™ functions.

-T title

Set the window title.

--tn terminal

Sets the environment variable TERM to the specified value. Read man xterm for more information on TERM.

--type type

Start a session of the given type rather than the default.

--types

List all of the available session types.

--vt_sz CCxLL

Start a terminal window of CC Columns and LL lines.

--workdir dir

Open with dir as the working folder.

Examples:

% konsole --vt_sz 90x25 --nohist

Starts a Konsole window with 90 columns and 25 rows, with no history

% konsole --noclose -e echo_args Hello, 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 TDE options:

--help-qt

List Qt™-specific options

Caution

The following Qt™ options have no effect on Konsole:

--fn, --font fontname

Defines the application font

--bg, --background color

Sets the default background color

--fg, --foreground color

Sets the default foreground color

--btn, --button color

Sets the default button color

--help-kde

List TDE-specific options

--help-all

List all options

--author

Show the authors' names

-v,--version

Show the version number

--license

Show license information

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team