docs.kde.org
Command-line Options
Prev
Next

Chapter 3. 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.

--profile file

Start Konsole using a saved set of sessions.

--list-profiles

List all of the available profiles.

--background-mode

Start Konsole in the background and bring to the front when the F12 key is pressed.

--new-tab

Create a new tab in an existing window rather than creating a new window.

--workdir dir

Open with dir as the working (starting) directory.

--notransparency

Disable transparent backgrounds, even if the system supports them.

--force-transparency

Try to enable transparency, even if the system does not appear to support it.

--hold, --noclose

Do not close the initial session automatically when it ends.

-p property=value

Change the value of a profile property.

-e command

Execute command instead of the normal shell.

Note

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

Konsole also accepts generic Qt™ and KDE 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 KDE-specific options

--help-all

List all options

--author

Show the authors' names

-v,--version

Show the version number

--license

Show license information

Prev
Next
Contents


docs.kde.org