diff options
| author | Bradley Taunt <bt@btxx.org> | 2025-07-08 15:19:41 -0400 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2025-07-08 15:19:41 -0400 |
| commit | 927b448cd31ff2c86db249ea4b49e32d3b9be9a5 (patch) | |
| tree | 923c1cad52de7da49c202f5004dea17b4adbe735 | |
| parent | df422f13c0cff09a2fda689220b34116e50c233e (diff) | |
WIP layout changes, CSS minor tweaks
| -rw-r--r-- | _drafts/openbsd-desktop-plasma.md | 60 | ||||
| -rw-r--r-- | footer.html | 5 | ||||
| -rw-r--r-- | header.html | 2 | ||||
| -rw-r--r-- | public/images/openbsd-kde-desktop.png | bin | 0 -> 1515045 bytes | |||
| -rw-r--r-- | public/style.css | 8 |
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 + + + +~~~ +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">↑ 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 ↓</a></li> </ul> </nav> </header> diff --git a/public/images/openbsd-kde-desktop.png b/public/images/openbsd-kde-desktop.png Binary files differnew file mode 100644 index 0000000..ed1bca6 --- /dev/null +++ b/public/images/openbsd-kde-desktop.png 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 +} |
