Font path fix

This commit is contained in:
2025-11-27 19:15:44 +01:00
parent 65d6a19f44
commit ef0bf1b834
47 changed files with 1147 additions and 1147 deletions

View File

@@ -214,13 +214,13 @@
</div>
</div>
<div id="content" class="content">
<div id="outline-container-org699a73e" class="outline-2">
<h2 id="org699a73e">My Experience with the Framework Laptop</h2>
<div class="outline-text-2" id="text-org699a73e">
<div id="outline-container-org0c13ab8" class="outline-2">
<h2 id="org0c13ab8">My Experience with the Framework Laptop</h2>
<div class="outline-text-2" id="text-org0c13ab8">
</div>
<div id="outline-container-org4a2fa46" class="outline-3">
<h3 id="org4a2fa46">Ordering</h3>
<div class="outline-text-3" id="text-org4a2fa46">
<div id="outline-container-org3b3195b" class="outline-3">
<h3 id="org3b3195b">Ordering</h3>
<div class="outline-text-3" id="text-org3b3195b">
<p>
I&rsquo;d been eyeing the <a href="https:frame.work">Framework laptop</a> since somewhere in October 2021, but the EU release got delayed and they were very hesitant to give time estimates. I only managed to get my hands on it in late February, and I ended up having to have it delivered to France. I understand the difficulty of setting up logistics especially these days, but I broke my previous laptop and being stuck in limbo like this was not fun.
</p>
@@ -231,13 +231,13 @@ I asked their customer service to make a small change to the delivery address, b
</p>
</div>
</div>
<div id="outline-container-org3307a8e" class="outline-3">
<h3 id="org3307a8e">Set-up</h3>
<div class="outline-text-3" id="text-org3307a8e">
<div id="outline-container-orgf66c976" class="outline-3">
<h3 id="orgf66c976">Set-up</h3>
<div class="outline-text-3" id="text-orgf66c976">
</div>
<div id="outline-container-orgf367f04" class="outline-4">
<h4 id="orgf367f04">Hardware</h4>
<div class="outline-text-4" id="text-orgf367f04">
<div id="outline-container-org8c0cf90" class="outline-4">
<h4 id="org8c0cf90">Hardware</h4>
<div class="outline-text-4" id="text-org8c0cf90">
<p>
I got the DIY edition with the (lowest-end) i5-1135G7 CPU, 2x16GB RAM. I brought my own 1TB SSD. The higher spec CPUs didn&rsquo;t seem worth the money to me. The RAM is probably overkill.
</p>
@@ -264,9 +264,9 @@ The more you look at it, the nicer it gets!
</p>
</div>
</div>
<div id="outline-container-orgf275cfa" class="outline-4">
<h4 id="orgf275cfa">Software</h4>
<div class="outline-text-4" id="text-orgf275cfa">
<div id="outline-container-org7394b4a" class="outline-4">
<h4 id="org7394b4a">Software</h4>
<div class="outline-text-4" id="text-org7394b4a">
<p>
I installed Gentoo GNU+Linux on the laptop, just like I have on my desktop. I used an Ubuntu live CD as the install medium together with the Gentoo stage3 tarball, and it worked well. I didn&rsquo;t really have to jump through any laptop-specific hoops, it was a very nice experience. I did use the dist-kernel rather than configuring my own.
</p>
@@ -275,9 +275,9 @@ I installed Gentoo GNU+Linux on the laptop, just like I have on my desktop. I us
The laptop held up well during compiling. It&rsquo;s not as fast as a desktop of course, but compile times are not limiting. I&rsquo;ve put this thing through bootstrapping GCC for a cross-compilation toolchain, which is just about the biggest compile job I&rsquo;ve ran, and it wasn&rsquo;t <i>that</i> painful.
</p>
</div>
<div id="outline-container-orgf41bd52" class="outline-5">
<h5 id="orgf41bd52">Display scaling</h5>
<div class="outline-text-5" id="text-orgf41bd52">
<div id="outline-container-orgf72676d" class="outline-5">
<h5 id="orgf72676d">Display scaling</h5>
<div class="outline-text-5" id="text-orgf72676d">
<p>
Simply setting <code>Xft.dpi: 192</code> in .Xresources was enough for the vast majority of applications to use 2x scaling, which looks very good on this display. This is on X11 obviously; I don&rsquo;t use Wayland.
</p>
@@ -287,33 +287,33 @@ The odd application requires its own scaling setting. Rofi requires setting <cod
</p>
</div>
</div>
<div id="outline-container-orge19136d" class="outline-5">
<h5 id="orge19136d">Display manager</h5>
<div class="outline-text-5" id="text-orge19136d">
<div id="outline-container-org0b89dcd" class="outline-5">
<h5 id="org0b89dcd">Display manager</h5>
<div class="outline-text-5" id="text-org0b89dcd">
<p>
I used SDDM which works very well. I wanted to go for something a bit fancier looking, and this delivers. I don&rsquo;t usually use things in the whole QT ecosystem, so it&rsquo;s refreshing.
</p>
</div>
</div>
<div id="outline-container-orgd8da02c" class="outline-5">
<h5 id="orgd8da02c">Hibernate/suspend-to-disk</h5>
<div class="outline-text-5" id="text-orgd8da02c">
<div id="outline-container-org2419f5e" class="outline-5">
<h5 id="org2419f5e">Hibernate/suspend-to-disk</h5>
<div class="outline-text-5" id="text-org2419f5e">
<p>
This required setting up a swap file and setting a kernel command line parameter to refer to it, but it was easy to do. It works well. I&rsquo;ve observed the laptop auto-hibernating when the battery runs out, but it doesn&rsquo;t do this reliably, so I should probably configure it myself.
</p>
</div>
</div>
<div id="outline-container-org2adb218" class="outline-5">
<h5 id="org2adb218"><a href="http://guake-project.org/">Guake</a>-like transient terminal</h5>
<div class="outline-text-5" id="text-org2adb218">
<div id="outline-container-org5aba590" class="outline-5">
<h5 id="org5aba590"><a href="http://guake-project.org/">Guake</a>-like transient terminal</h5>
<div class="outline-text-5" id="text-org5aba590">
<p>
Using some <code>fish</code> scripts, <code>bspwm</code>, <code>picom</code> and <code>xst</code> I rigged up a transient, transparent terminal to use for quick shell jobs. I used the scripts and config file in <a href="#org02d8686">Appendix A</a> to do this. The implementation is a bit hacky, and it&rsquo;s not impossible to break, but it serves my purposes well (and more important, it was fun to make)!
Using some <code>fish</code> scripts, <code>bspwm</code>, <code>picom</code> and <code>xst</code> I rigged up a transient, transparent terminal to use for quick shell jobs. I used the scripts and config file in <a href="#org5b5a4fc">Appendix A</a> to do this. The implementation is a bit hacky, and it&rsquo;s not impossible to break, but it serves my purposes well (and more important, it was fun to make)!
</p>
</div>
</div>
<div id="outline-container-org26d70e5" class="outline-5">
<h5 id="org26d70e5">Wallpaper-setting script</h5>
<div class="outline-text-5" id="text-org26d70e5">
<div id="outline-container-orga420fca" class="outline-5">
<h5 id="orga420fca">Wallpaper-setting script</h5>
<div class="outline-text-5" id="text-orga420fca">
<p>
I wrote a script to set a random wallpaper.
</p>
@@ -324,11 +324,11 @@ I wrote a script to set a random wallpaper.
</div>
</div>
</div>
<div id="outline-container-orgde3e628" class="outline-5">
<h5 id="orgde3e628">Lockscreen</h5>
<div class="outline-text-5" id="text-orgde3e628">
<div id="outline-container-org1a5c8fc" class="outline-5">
<h5 id="org1a5c8fc">Lockscreen</h5>
<div class="outline-text-5" id="text-org1a5c8fc">
<p>
I hacked together some <a href="#org753b8d0">pretty crappy code</a> to lock the screen using <code>i3lock</code>, with my wallpaper composed with a little lock icon as the background. Very overengineered.
I hacked together some <a href="#orgfb276fa">pretty crappy code</a> to lock the screen using <code>i3lock</code>, with my wallpaper composed with a little lock icon as the background. Very overengineered.
</p>
<p width="60%" class="center">
@@ -341,33 +341,33 @@ Is there a better lockscreen out there that will let me set my own image as the
</p>
</div>
</div>
<div id="outline-container-org7d86712" class="outline-5">
<h5 id="org7d86712"><span class="todo TODO">TODO</span> </h5>
<div class="outline-text-5" id="text-org7d86712">
<div id="outline-container-org4670f45" class="outline-5">
<h5 id="org4670f45"><span class="todo TODO">TODO</span> </h5>
<div class="outline-text-5" id="text-org4670f45">
</div>
<ul class="org-ul">
<li><a id="org408104a"></a>Battery level notifications<br></li>
<li><a id="orge4a7a4f"></a>sleep-then-hibernate<br></li>
<li><a id="org1e86e62"></a>Battery tuning<br></li>
<li><a id="org20ac5c5"></a>Battery level notifications<br></li>
<li><a id="org3b7c4b8"></a>sleep-then-hibernate<br></li>
<li><a id="orge8f2e34"></a>Battery tuning<br></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-org1bd63f2" class="outline-3">
<h3 id="org1bd63f2">Impressions</h3>
<div class="outline-text-3" id="text-org1bd63f2">
<div id="outline-container-org6afe924" class="outline-3">
<h3 id="org6afe924">Impressions</h3>
<div class="outline-text-3" id="text-org6afe924">
</div>
<div id="outline-container-org42433f2" class="outline-5">
<h5 id="org42433f2">Build Quality</h5>
<div class="outline-text-5" id="text-org42433f2">
<div id="outline-container-orga5496e8" class="outline-5">
<h5 id="orga5496e8">Build Quality</h5>
<div class="outline-text-5" id="text-orga5496e8">
<p>
The laptop is made of aluminium and feels solid but light. The screen does seem pretty flimsy, though. I probably wouldn&rsquo;t want to drop this thing. It looks sleek and elegant, but pretty muted.
</p>
</div>
</div>
<div id="outline-container-org120ad5a" class="outline-5">
<h5 id="org120ad5a">Screen</h5>
<div class="outline-text-5" id="text-org120ad5a">
<div id="outline-container-orgf9ddf64" class="outline-5">
<h5 id="orgf9ddf64">Screen</h5>
<div class="outline-text-5" id="text-orgf9ddf64">
<p>
This is my first time ever using a high-DPI screen, and I&rsquo;m very impressed by it. Text looks unbelievably crisp and pleasant to read. I was somewhat worried about the linux high DPI situation, but I am having no issues whatsoever.
</p>
@@ -381,51 +381,51 @@ The brightness goes up quite high, but colours feel somewhat washed out at high
</p>
</div>
</div>
<div id="outline-container-org82c78d2" class="outline-5">
<h5 id="org82c78d2">Keyboard</h5>
<div class="outline-text-5" id="text-org82c78d2">
<div id="outline-container-org5432824" class="outline-5">
<h5 id="org5432824">Keyboard</h5>
<div class="outline-text-5" id="text-org5432824">
<p>
Framework seems to advertise their keyboard as having particularly deep travel, but it mostly just feels like any chiclet keyboard to me. Not a bad chiclet keyboard, but not that great, either. The layout is fine, but it makes me miss the thinkpad.
</p>
</div>
</div>
<div id="outline-container-org1d273c5" class="outline-5">
<h5 id="org1d273c5">Touchpad</h5>
<div class="outline-text-5" id="text-org1d273c5">
<div id="outline-container-org1c1c8f0" class="outline-5">
<h5 id="org1c1c8f0">Touchpad</h5>
<div class="outline-text-5" id="text-org1c1c8f0">
<p>
I&rsquo;ve never had a decent touchpad before, so I was pleasantly surprised. I expected to miss the trackpoint on the thinkpad a lot, but this is fine, though it&rsquo;s still a step down. Pinch to zoom doesn&rsquo;t work very well, but I don&rsquo;t use that functionality a lot. I miss having dedicated mouse buttons; the clicking functionality on this touchpad works fine for me, but it&rsquo;s hard not to mess up left/middle/right click. That&rsquo;s a good incentive for me to practice relying on the mouse less, though. There&rsquo;s plenty of <a href="https://linuxtouchpad.org/">work being done</a> on the Linux touchpad experience software-side, too. It&rsquo;s a nice time to be a linux laptop user!
</p>
</div>
</div>
<div id="outline-container-orgafead68" class="outline-5">
<h5 id="orgafead68">Battery</h5>
<div class="outline-text-5" id="text-orgafead68">
<div id="outline-container-org56bd7c7" class="outline-5">
<h5 id="org56bd7c7">Battery</h5>
<div class="outline-text-5" id="text-org56bd7c7">
<p>
With the disclaimer that I haven&rsquo;t tested very intensely and I haven&rsquo;t tuned power settings very much. <br>
I seem to get about 6.5 hours of real-world use time when using Emacs and doing light web browsing. I don&rsquo;t have a good benchmark for more intensive tasks, but compiling does hit the battery pretty hard. All in all I&rsquo;m very happy with it, getting decent battery life on Linux is hard. It might be worth eventually buying a power bank for it though, for travel~
</p>
</div>
</div>
<div id="outline-container-org4d27167" class="outline-5">
<h5 id="org4d27167">Expansion cards/ports</h5>
<div class="outline-text-5" id="text-org4d27167">
<div id="outline-container-org2edeee8" class="outline-5">
<h5 id="org2edeee8">Expansion cards/ports</h5>
<div class="outline-text-5" id="text-org2edeee8">
<p>
The little expansion cards are one of Framework&rsquo;s big marketing things. I think they&rsquo;re pretty neat, though I don&rsquo;t always quite understand the way people talk about them, as &ldquo;dongle killers&rdquo;. I would find hotswapping these about equally obnoxious as carrying dongles. The idea of aftermarket expansion cards is interesting, though - these are low level, high bandwidth ports, with I think similar capabilities to the ExpressCard ports on old business laptops, but more modern with a USB-C port. I&rsquo;m looking forward to the USB4 era!
</p>
</div>
</div>
<div id="outline-container-org6da83ef" class="outline-5">
<h5 id="org6da83ef">Performance</h5>
<div class="outline-text-5" id="text-org6da83ef">
<div id="outline-container-org21f2f0f" class="outline-5">
<h5 id="org21f2f0f">Performance</h5>
<div class="outline-text-5" id="text-org21f2f0f">
<p>
So far I haven&rsquo;t felt limited by performance at all, the experience has been really snappy. I haven&rsquo;t thrown particularly difficult things at it, though, but that&rsquo;s fine - most of what I do on a laptop is reading, web browsing, and text editing. I played some Factorio on it and that seemed fine, but using the touchpad felt limiting so I didn&rsquo;t play very much.
</p>
</div>
</div>
</div>
<div id="outline-container-org0eaab36" class="outline-3">
<h3 id="org0eaab36">Closing words</h3>
<div class="outline-text-3" id="text-org0eaab36">
<div id="outline-container-org33ccab2" class="outline-3">
<h3 id="org33ccab2">Closing words</h3>
<div class="outline-text-3" id="text-org33ccab2">
<p>
Getting this laptop set up has been really fun! It&rsquo;s a good opportunity to take stock of where we&rsquo;re at. On the hardware side, I am very impressed that it&rsquo;s now possible to make a laptop that&rsquo;s this user-servicable, this well-specced and still not <i>that</i> expensive. It&rsquo;s a reminder of how much better things could be.
</p>
@@ -440,9 +440,9 @@ Personally, I&rsquo;m getting a rare chance to critically examine all the little
</div>
</div>
</div>
<div id="outline-container-org02d8686" class="outline-2">
<h2 id="org02d8686">Appendix A: Transient Terminal Sources</h2>
<div class="outline-text-2" id="text-org02d8686">
<div id="outline-container-org5b5a4fc" class="outline-2">
<h2 id="org5b5a4fc">Appendix A: Transient Terminal Sources</h2>
<div class="outline-text-2" id="text-org5b5a4fc">
<p>
<code>togglescratch</code>
</p>
@@ -511,9 +511,9 @@ opacity-rule=["90:name = 'scratchterminal'"];
</div>
</div>
</div>
<div id="outline-container-org753b8d0" class="outline-2">
<h2 id="org753b8d0">Appendix B: lock.py</h2>
<div class="outline-text-2" id="text-org753b8d0">
<div id="outline-container-orgfb276fa" class="outline-2">
<h2 id="orgfb276fa">Appendix B: lock.py</h2>
<div class="outline-text-2" id="text-orgfb276fa">
<div class="org-src-container">
<pre class="src src-fish"><span class="org-comment-delimiter">#</span><span class="org-comment">!/usr/bin/python3</span>
<span class="org-builtin">import</span> os