blob: acd59fb27ea551be0784f036326ef5bce6f1e115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Installing KDE Plasma on OpenBSD
2025-07-08

~~~
doas pkg_add consolekit2 polkit-kde-agent kde_plasma kde_plasma_extras
~~~
After the install you should read over the very helpful documentation found in your `pkg-readmes` directory:
## Services and Permissions
Before doing anything else, your user should be added to both the `_shutdown` user group and the `kde` login class. This allows your user to perform power actions (shutdown, reboot etc.):
~~~
doas usermod -G _shutdown your-username
doas usermod -L kde your-username
~~~
Then we also need `messagebus` enabled and running in order to perform these shutdown, logout, and reboot functions:
~~~
doas rcctl service enable messagebus
doas rcctl service start messagebus
~~~
## Performance Improvements
In your `/etc/sysctl.conf` file:
~~~
kern.maxfiles=65535
~~~
## Configuring `startx`
Edit your `~/.xinitrc` file:
~~~
exec ck-launch-session startplasma-x11
~~~
## Working with 4K Resolutions
In your `~/.xsession` file:
~~~
export GDK_SCALE=1.25
export QT_SCALE_FACTOR=1.25
~~~
In your `~/.Xdefaults` file:
~~~
Xft.dpi: 163
Xcursor.theme: Adwaita
Xcursor.size: 48
~~~
|