From 927b448cd31ff2c86db249ea4b49e32d3b9be9a5 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 8 Jul 2025 15:19:41 -0400 Subject: WIP layout changes, CSS minor tweaks --- _drafts/openbsd-desktop-plasma.md | 60 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 _drafts/openbsd-desktop-plasma.md (limited to '_drafts') diff --git a/_drafts/openbsd-desktop-plasma.md b/_drafts/openbsd-desktop-plasma.md new file mode 100644 index 0000000..acd59fb --- /dev/null +++ b/_drafts/openbsd-desktop-plasma.md @@ -0,0 +1,60 @@ +# Installing KDE Plasma on OpenBSD + +2025-07-08 + +![alt text](/public/images/openbsd-kde-desktop.png) + +~~~ +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 +~~~ -- cgit v1.2.3-70-g09d2