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 ++++++++++++++++++++++++++++++++++ footer.html | 5 +++ header.html | 2 +- public/images/openbsd-kde-desktop.png | Bin 0 -> 1515045 bytes public/style.css | 8 ++--- 5 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 _drafts/openbsd-desktop-plasma.md create mode 100644 public/images/openbsd-kde-desktop.png 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 +~~~ diff --git a/footer.html b/footer.html index dd12d97..28f0da4 100644 --- a/footer.html +++ b/footer.html @@ -2,6 +2,11 @@