2015-10-21 23:53:21 -04:00
|
|
|
---
|
2021-03-13 13:06:18 -05:00
|
|
|
lang: en
|
2015-10-21 23:53:21 -04:00
|
|
|
layout: doc
|
2021-06-16 22:56:25 -04:00
|
|
|
permalink: /doc/kde/
|
2021-06-16 01:24:44 -04:00
|
|
|
redirect_from:
|
|
|
|
- /en/doc/kde/
|
2021-03-13 13:06:18 -05:00
|
|
|
ref: 176
|
2021-06-17 05:40:43 -04:00
|
|
|
title: KDE (desktop environment)
|
2015-10-21 23:53:21 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
|
2016-08-10 13:10:19 -04:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Prior to R3.2, KDE was the default desktop environment in Qubes. Beginning with
|
2018-02-03 15:51:06 -05:00
|
|
|
R3.2, however, [XFCE is the new default desktop environment](/doc/releases/3.2/release-notes/). Nonetheless, it is
|
2016-08-10 13:10:19 -04:00
|
|
|
still possible to install KDE by issuing this command in dom0:
|
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
```shell_session
|
|
|
|
$ sudo qubes-dom0-update @kde-desktop-qubes
|
|
|
|
```
|
2016-08-10 13:10:19 -04:00
|
|
|
|
2016-09-09 08:02:06 -04:00
|
|
|
You can also change your default login manager (lightdm) to the new KDE default: sddm
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
* first you need to edit the `/etc/sddm.conf` to make sure if the custom X parameter is set according to Qubes needs:
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-10 04:22:35 -04:00
|
|
|
[XDisplay]
|
|
|
|
ServerArguments=-nolisten tcp -background none
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
* disable the lightdm service:
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-10 04:22:35 -04:00
|
|
|
$ sudo systemctl disable lightdm
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
* enable the sddm service:
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-09 08:02:06 -04:00
|
|
|
$ sudo systemctl enable sddm
|
2021-03-13 12:03:23 -05:00
|
|
|
~~~
|
2016-09-10 03:48:30 -04:00
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
* reboot
|
2016-08-10 13:10:19 -04:00
|
|
|
|
2018-08-16 13:35:40 -04:00
|
|
|
If you encounter performance issues with KDE, try switching back to LightDM.
|
|
|
|
|
2015-10-21 23:53:21 -04:00
|
|
|
Window Management
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
You can set each window's position and size like this:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
Right click title bar --> More actions --> Special window settings...
|
|
|
|
|
|
|
|
Window matching tab
|
|
|
|
Window class (application): Exact Match: <vm_name>
|
2021-06-16 02:19:45 -04:00
|
|
|
Window title: Substring Match: <partial or full program name>
|
2015-10-21 23:53:21 -04:00
|
|
|
|
|
|
|
Size & Position tab
|
|
|
|
[x] Position: Apply Initially: x,y
|
|
|
|
[x] Size: Apply Initially: x,y
|
|
|
|
~~~
|
|
|
|
|
|
|
|
You can also use `kstart` to control virtual desktop placement like this:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
kstart --desktop 3 --windowclass <vm_name> -q --tray -a <vm_name> '<run_program_command>'
|
|
|
|
~~~
|
|
|
|
|
|
|
|
(Replace "3" with whichever virtual desktop you want the window to be
|
|
|
|
on.)
|
|
|
|
|
|
|
|
This can be useful for creating a simple shell script which will set up your
|
|
|
|
workspace the way you like.
|
2015-10-22 00:03:52 -04:00
|
|
|
|
2018-11-13 07:04:05 -05:00
|
|
|
Removal
|
|
|
|
------------
|
|
|
|
|
|
|
|
If you decide to remove KDE do **not** use `dnf remove @kde-desktop-qubes`. You will almost certainly break your system.
|
|
|
|
|
|
|
|
The safest way to remove (most of) KDE is:
|
2021-03-13 12:03:23 -05:00
|
|
|
|
2018-11-13 07:04:05 -05:00
|
|
|
~~~
|
2021-02-12 21:08:28 -05:00
|
|
|
sudo dnf remove kdelibs plasma-workspace
|
2018-11-13 07:04:05 -05:00
|
|
|
~~~
|
|
|
|
|
2015-10-22 00:03:52 -04:00
|
|
|
Mailing List Threads
|
|
|
|
--------------------
|
|
|
|
|
2021-03-13 12:03:23 -05:00
|
|
|
* [Nalu's KDE customization thread](https://groups.google.com/d/topic/qubes-users/KhfzF19NG1s/discussion)
|