aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--_drafts/openbsd-desktop-plasma.md60
-rw-r--r--footer.html5
-rw-r--r--header.html2
-rw-r--r--public/images/openbsd-kde-desktop.pngbin0 -> 1515045 bytes
-rw-r--r--public/style.css8
5 files changed, 70 insertions, 5 deletions
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 @@
<footer role="contentinfo">
<p>Looking to help this site? Consider <a href="/contribute">contributing towards hosting costs</a>.</p>
+ <nav id="menu">
+ <ul>
+ <li><a href="/uses/">Uses</a></li><li><a href="/wiki/">Wiki</a></li><li><a href="/resume/">Resume</a></li><li><a href="/colophon/">Colophon</a></li><li><a href="/now/">Now</a></li><li><a href="/recipes/">Recipes</a></li><li><a href="/index.rss">RSS</a></li>
+ </ul>
+ </nav>
<small>
<a href="#top">&uarr; Top of page</a><br>
Built with <a href="https://wruby.btxx.org">wruby</a><br>
diff --git a/header.html b/header.html
index 948e9ce..1dbd323 100644
--- a/header.html
+++ b/header.html
@@ -13,7 +13,7 @@
<header id="top">
<nav>
<ul>
- <li><a href="/">Home</a></li><li><a href="/about/">About</a></li><li><a href="/posts/">Posts</a></li><li><a href="/projects/">Projects</a></li><li><a href="/uses/">Uses</a></li><li><a href="/wiki/">Wiki</a></li><li><a href="/resume/">Resume</a></li><li><a href="/colophon/">Colophon</a></li><li><a href="/now/">Now</a></li><li><a href="/contribute/">Contribute</a></li><li><a href="/recipes/">Recipes</a></li><li><a href="/index.rss">RSS</a></li>
+ <li><a href="/">Home</a></li><li><a href="/about/">About</a></li><li><a href="/posts/">Posts</a></li><li><a href="/projects/">Projects</a></li><li><a href="/contribute/">Contribute</a></li><li><a href="#menu">More &darr;</a></li>
</ul>
</nav>
</header>
diff --git a/public/images/openbsd-kde-desktop.png b/public/images/openbsd-kde-desktop.png
new file mode 100644
index 0000000..ed1bca6
--- /dev/null
+++ b/public/images/openbsd-kde-desktop.png
Binary files differ
diff --git a/public/style.css b/public/style.css
index 9cb4b9a..8214030 100644
--- a/public/style.css
+++ b/public/style.css
@@ -4,7 +4,7 @@
body {
font-family: Arial, Verdana, sans-serif;
- line-height: 1.6;
+ line-height: 1.4;
margin: 0 auto;
max-width: 780px;
padding: 0 1em;
@@ -55,11 +55,11 @@ header {
font-size: 95%;
margin: 1rem 0;
}
-header nav ul {
+nav ul {
list-style: none;
padding: 0;
}
-header nav ul li {
+nav ul li {
display: inline-block;
margin: 0 15px 0 0;
}
@@ -212,4 +212,4 @@ footer > p {
blockquote {
color: lightgoldenrodyellow;
}
-} \ No newline at end of file
+}