aboutsummaryrefslogtreecommitdiff
path: root/build/suckless/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'build/suckless/index.html')
-rw-r--r--build/suckless/index.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/build/suckless/index.html b/build/suckless/index.html
new file mode 100644
index 0000000..6291473
--- /dev/null
+++ b/build/suckless/index.html
@@ -0,0 +1,87 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="color-scheme" content="dark light">
+ <link rel="icon" href="data:,">
+ <title>I Want to Suckless and You Can Too</title>
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1 id="i-want-to-suckless-and-you-can-too">I Want to Suckless and You Can Too</h1>
+<p>2022-12-23</p>
+<h2 id="the-desire-to-suckless">The Desire to Suckless</h2>
+<p>While I have been happy with my <a href="/alpine">previous desktop setup</a> using Wayland on Alpine Linux, I just couldn&#8217;t shake the urge to fully embrace the <a href="https://suckless.org">suckless ecosystem</a>. Although, this meant ditching Wayland and returning to X11, which is apparently the new &#8220;cool thing to hate&#8221; in Linux land. At least, that&#8217;s what I&#8217;ve seen online lately.</p>
+<p>But I&#8217;m getting ahead of myself&#8230;</p>
+<h2 id="what-is-suckless">What is Suckless?</h2>
+<p>I&#8217;m not going to spend too much time repeating what you can <a href="https://suckless.org/philosophy/">already read on the suckless.org website itself</a>, but in a nutshell:</p>
+<blockquote>
+<p>Software with a focus on simplicity, clarity, and frugality.</p>
+</blockquote>
+<p>The developers also pride themselves on catering to <em>advanced and experienced computer users</em>, which is actually a refreshing take in my opinion. There are enough pre-existing open source solutions for non-technical or average Linux users looking for a desktop system. Having an option that requires users to deep-dive into the code, compile the programs manually, and better understand the software they are running is a welcome addition.</p>
+<p>This process of &#8220;owing your software&#8221; was one of the core concepts that initially grabbed my attention. I&#8217;ve always been mildly mediocre at reading and writing C (ie. enough to be dangerous), so the thought of jumping head first into a system that would require me to better learn that language was tempting[^1]. And that temptation was enough to give it a shot!</p>
+<h2 id="lets-get-started">Let&#8217;s Get Started</h2>
+<p>So I made my decision. I would (at the very least) <em>try</em> switching my daily driver over to a completely &#8220;suckless&#8221; system. But I was immediately faced with my first obstacle: <em>which distro should I use</em>?</p>
+<p>I&#8217;m sure many would suggest Gentoo, since it follows the principles of suckless more than any other distribution on the market. But I don&#8217;t hate myself enough to go down that insane rabbit-hole. I&#8217;m hardly advanced enough to take on such a steep challenge, not to mention my plan was to build out a &#8220;setup script&#8221; so others could roll their own suckless build. Something like that looked daunting under Gentoo. Maybe in the future&#8230;</p>
+<p>So what&#8217;s left? Void? Arch? Something fresh, like Metis? I really didn&#8217;t know the &#8220;best&#8221; choice. Maybe there were just <em>too many</em> options? </p>
+<p>Luckily, I did know of a distro that was my go-to for most projects&#8230;</p>
+<h2 id="trying-alpine">Trying Alpine</h2>
+<p>Alpine Linux is one of the best distributions available. If you disagree, you clearly haven&#8217;t achieved galaxy-brain levels of intelligence and I feel sorry for you[^2].</p>
+<p>Having just rolled my own <a href="https://git.sr.ht/~bt/alpine-linux-setup">installer script</a> for Wayland&#47;Sway on Alpine, I figured why not piggyback off that existing project? Work smart not hard, right? So I started putting together an absolute <em>bare minimum</em> list of requirements I needed to get a proper desktop system running:</p>
+<ul>
+<li>working suspend&#47;awake</li>
+<li>working audio</li>
+<li>working wifi&#47;networking</li>
+<li>reduced screen tearing (X11 gave me problems in the past with this)</li>
+</ul>
+<p>As you can see, I have very low expectations. But there were issues&#8230;.</p>
+<ol>
+<li>I could not build my blog locally (built via Jekyll) since the <code>sass-embedded</code> dependencies has not been built against musl-libc.</li>
+<li>VSCodium would require the extra &#8220;bloat&#8221; of the flatpak manager (not to mention the spotty support some applications have through flatpak&#47;snap).</li>
+<li>The distro&#47;system <em>feels</em> like it was better designed with Wayland in mind. Too often I felt like I was losing an uphill battle wrestling against Alpine.</li>
+</ol>
+<h2 id="getting-sucked-into-the-void">Getting Sucked into the Void</h2>
+<p>After mentioning my struggles on Mastodon, some <a href="https://fosstodon.org/@tdarb/109554576434981872">helpful friends suggested taking a look at Void</a>. I always knew of the project but never used it as a &#8220;daily driver&#8221;. Since this was overall one <em>large</em> experiment, I figured I&#8217;d give it a shot.</p>
+<p>I&#8217;m glad I did. Void Linux is <em>pretty great</em>.</p>
+<p>The installer seemed more complex than Alpine at first, but I found an excellent walkthrough <a href="https://linuxiac.com/void-linux-installation/">here</a> (which I was more beginner-friendly than the official docs). Once everything was set, it was time to run my suckless &#8220;installer&#8221;.</p>
+<h2 id="introducing-void-suck">Introducing void-suck</h2>
+<p>If you don&#8217;t care about the nitty-gritty details, feel free to just jump over to the <a href="https://git.sr.ht/~bt/void-suck">void-suck repo on scourehut</a> and read through the code yourself. There is nothing groundbreaking here. A huge inspiration came from <a href="https://github.com/mad-ara/void-rice">mad-ara&#8217;s &#8220;void-rice&#8221; project on Github</a> - so a big thanks to him for making that project in the first place!</p>
+<p>You can find the basic instructions in the README of the project itself, but it pulls in just the required dependencies along with my own custom suckless tools. You can easily swap out these with your own or simply default to the standard ones provided by <a href="https://suckless.org">suckless.org</a>.</p>
+<p>Everything <em>should</em> work out of the box, but in case it doesn&#8217;t please <a href="https://todo.sr.ht/~bt/void-suck">open a ticket</a> or <a href="https://lists.sr.ht/~bt/void-suck">submit a patch</a>. I&#8217;m certain I overlooked some items!</p>
+<h2 id="closing-thoughts">Closing Thoughts</h2>
+<p>We&#8217;ll see how things go. So far I&#8217;m enjoying my time with a much simpler desktop and the &#8220;forced&#8221; push towards getting better with C is an added bonus. I still love Alpine, but Void is slowly winning me over&#8230;</p>
+<h2 id="refs">Refs</h2>
+<ol>
+<li>I find this to be the best way to learn new things. Reading technical books are helpful, but concepts never stick with me unless I am forced to implement them.</li>
+<li>This is a joke. Alpine is certainly not for everyone. There are many more &#8220;fully featured&#8221; distros available and everyone should use what they enjoy! Try not to take my blog posts so seriously&#8230;</li>
+</ol>
+<footer role="contentinfo">
+ <h2>Menu Navigation</h2>
+ <ul id="menu">
+ <li><a href="/">Home</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="/donate">Donate</a></li>
+ <li><a href="/atom.xml">RSS</a></li>
+ <li><a href="#top">&uarr; Top of the page</a></li>
+ </ul>
+ <small>
+ Built with <a href="https://barf.btxx.org">barf</a>. <br>
+ Feeds: <a href="/atom.xml">Atom</a> & <a href="/rss.xml">RSS</a><br>
+ Maintained with ♥ for the web. <br>
+ Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
+ The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
+ </small>
+</footer> \ No newline at end of file