mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 05:37:32 +00:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
[[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:
|
|
----
|
|
# dnf install switchdesk
|
|
----
|
|
|
|
.Procedure
|
|
|
|
Pass the selected desktop environment as the only argument to the [command]`switchdesk` command, for example:
|
|
----
|
|
# switchdesk kde
|
|
----
|
|
|
|
.More information
|
|
|
|
See the `switchdesk(1)`` man page.
|
|
|
|
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.
|
|
|
|
Correct values are:
|
|
|
|
`DESKTOP=`"<value>", where "<value>" is one of the following:
|
|
|
|
1. `GNOME` — Selects the GNOME desktop environment.
|
|
2. `KDE` — Selects the KDE desktop environment.
|
|
|
|
`DISPLAYMANAGER=`"<value>", where "<value>" is one of the following:
|
|
|
|
1. `GNOME` — Selects the GNOME Display Manager.
|
|
2. `KDE` — Selects the KDE Display Manager.
|
|
3. `XDM` — Selects the X Display Manager.
|