quick-docs/modules/ROOT/pages/_partials/proc_switching-desktop-enviroments-using-cli.adoc

41 lines
1.1 KiB
Text
Raw Normal View History

2017-12-14 15:52:34 +00:00
[[switching-desktop-environments-using-cli]]
= Switching desktop environments using CLI
.Before you start
Install the desired desktop environment as described in <<proc_installing-additional-desktop-enviroments.adoc#installing-desktop-environments,Installing additional desktop environments>>
Install the [package]`switchdesk` package:
2018-01-21 15:06:42 +00:00
2017-12-14 15:52:34 +00:00
----
# dnf install switchdesk
----
2018-01-21 15:06:42 +00:00
2017-12-14 15:52:34 +00:00
.Procedure
Pass the selected desktop environment as the only argument to the [command]`switchdesk` command, for example:
2018-01-21 15:06:42 +00:00
2017-12-14 15:52:34 +00:00
----
# switchdesk kde
----
.More information
2018-01-21 15:06:42 +00:00
See the `switchdesk(1)` man page.
2017-12-14 15:52:34 +00:00
2018-01-21 15:06:42 +00:00
Alternatively, edit the [filename]`/etc/sysconfig/desktop` file as *root*. This file specifies the desktop for new users and the display manager to run when entering runlevel 5.
2017-12-14 15:52:34 +00:00
Correct values are:
2018-01-21 15:06:42 +00:00
`DESKTOP="_<value>_"`, where `_<value>_` is one of the following:
2017-12-14 15:52:34 +00:00
1. `GNOME` — Selects the GNOME desktop environment.
2. `KDE` — Selects the KDE desktop environment.
2018-01-21 15:06:42 +00:00
`DISPLAYMANAGER="_<value>_"`, where `_<value>_` is one of the following:
2017-12-14 15:52:34 +00:00
1. `GNOME` — Selects the GNOME Display Manager.
2. `KDE` — Selects the KDE Display Manager.
3. `XDM` — Selects the X Display Manager.