Hopefully fix non-rendering icons on mobile

This commit is contained in:
2025-11-27 17:02:15 +01:00
parent 0e4910137d
commit 17d6399458
56 changed files with 1532 additions and 1168 deletions

View File

@@ -190,6 +190,9 @@
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { }
</style>
<!-- Fix flashes of unstyled content -->
<style>html{visibility: hidden;opacity:0;}</style>
<link rel="stylesheet" href="/static/fonts.css" type="text/css"/>
<link rel="stylesheet" href="/static/style.css" type="text/css"/>
<link rel="icon" type="image/png" href="/static/favicon_96.png" sizes="96x96" />
@@ -211,13 +214,13 @@
</div>
</div>
<div id="content" class="content">
<div id="outline-container-org2f04bf1" class="outline-2">
<h2 id="org2f04bf1">My Experience with the Framework Laptop</h2>
<div class="outline-text-2" id="text-org2f04bf1">
<div id="outline-container-orgc36ff37" class="outline-2">
<h2 id="orgc36ff37">My Experience with the Framework Laptop</h2>
<div class="outline-text-2" id="text-orgc36ff37">
</div>
<div id="outline-container-org77dc787" class="outline-3">
<h3 id="org77dc787">Ordering</h3>
<div class="outline-text-3" id="text-org77dc787">
<div id="outline-container-orgd5677fa" class="outline-3">
<h3 id="orgd5677fa">Ordering</h3>
<div class="outline-text-3" id="text-orgd5677fa">
<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>
@@ -228,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-orgf7759f1" class="outline-3">
<h3 id="orgf7759f1">Set-up</h3>
<div class="outline-text-3" id="text-orgf7759f1">
<div id="outline-container-org698d0f6" class="outline-3">
<h3 id="org698d0f6">Set-up</h3>
<div class="outline-text-3" id="text-org698d0f6">
</div>
<div id="outline-container-org8c12d87" class="outline-4">
<h4 id="org8c12d87">Hardware</h4>
<div class="outline-text-4" id="text-org8c12d87">
<div id="outline-container-orgea913e0" class="outline-4">
<h4 id="orgea913e0">Hardware</h4>
<div class="outline-text-4" id="text-orgea913e0">
<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>
@@ -261,9 +264,9 @@ The more you look at it, the nicer it gets!
</p>
</div>
</div>
<div id="outline-container-org75470f1" class="outline-4">
<h4 id="org75470f1">Software</h4>
<div class="outline-text-4" id="text-org75470f1">
<div id="outline-container-orga2ebda9" class="outline-4">
<h4 id="orga2ebda9">Software</h4>
<div class="outline-text-4" id="text-orga2ebda9">
<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>
@@ -272,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-org5eff6b2" class="outline-5">
<h5 id="org5eff6b2">Display scaling</h5>
<div class="outline-text-5" id="text-org5eff6b2">
<div id="outline-container-org4e1ea65" class="outline-5">
<h5 id="org4e1ea65">Display scaling</h5>
<div class="outline-text-5" id="text-org4e1ea65">
<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>
@@ -284,33 +287,33 @@ The odd application requires its own scaling setting. Rofi requires setting <cod
</p>
</div>
</div>
<div id="outline-container-orgfc3a0a2" class="outline-5">
<h5 id="orgfc3a0a2">Display manager</h5>
<div class="outline-text-5" id="text-orgfc3a0a2">
<div id="outline-container-org3e11b27" class="outline-5">
<h5 id="org3e11b27">Display manager</h5>
<div class="outline-text-5" id="text-org3e11b27">
<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-org0aa91ec" class="outline-5">
<h5 id="org0aa91ec">Hibernate/suspend-to-disk</h5>
<div class="outline-text-5" id="text-org0aa91ec">
<div id="outline-container-orgeb93d53" class="outline-5">
<h5 id="orgeb93d53">Hibernate/suspend-to-disk</h5>
<div class="outline-text-5" id="text-orgeb93d53">
<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-orgc7c510f" class="outline-5">
<h5 id="orgc7c510f"><a href="http://guake-project.org/">Guake</a>-like transient terminal</h5>
<div class="outline-text-5" id="text-orgc7c510f">
<div id="outline-container-org9739e83" class="outline-5">
<h5 id="org9739e83"><a href="http://guake-project.org/">Guake</a>-like transient terminal</h5>
<div class="outline-text-5" id="text-org9739e83">
<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="#org66a21ad">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="#orgef33222">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-org1114e22" class="outline-5">
<h5 id="org1114e22">Wallpaper-setting script</h5>
<div class="outline-text-5" id="text-org1114e22">
<div id="outline-container-org059a862" class="outline-5">
<h5 id="org059a862">Wallpaper-setting script</h5>
<div class="outline-text-5" id="text-org059a862">
<p>
I wrote a script to set a random wallpaper.
</p>
@@ -321,11 +324,11 @@ I wrote a script to set a random wallpaper.
</div>
</div>
</div>
<div id="outline-container-orge5d9908" class="outline-5">
<h5 id="orge5d9908">Lockscreen</h5>
<div class="outline-text-5" id="text-orge5d9908">
<div id="outline-container-orgf1accbd" class="outline-5">
<h5 id="orgf1accbd">Lockscreen</h5>
<div class="outline-text-5" id="text-orgf1accbd">
<p>
I hacked together some <a href="#org113075f">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="#org5dfaaa0">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">
@@ -338,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-orge46e882" class="outline-5">
<h5 id="orge46e882"><span class="todo TODO">TODO</span> </h5>
<div class="outline-text-5" id="text-orge46e882">
<div id="outline-container-orgdb78c60" class="outline-5">
<h5 id="orgdb78c60"><span class="todo TODO">TODO</span> </h5>
<div class="outline-text-5" id="text-orgdb78c60">
</div>
<ul class="org-ul">
<li><a id="orgbab8729"></a>Battery level notifications<br></li>
<li><a id="org531a895"></a>sleep-then-hibernate<br></li>
<li><a id="orgfce3dba"></a>Battery tuning<br></li>
<li><a id="orgc4f6eb2"></a>Battery level notifications<br></li>
<li><a id="orgc7d9352"></a>sleep-then-hibernate<br></li>
<li><a id="orgf206a4f"></a>Battery tuning<br></li>
</ul>
</div>
</div>
</div>
<div id="outline-container-org8053869" class="outline-3">
<h3 id="org8053869">Impressions</h3>
<div class="outline-text-3" id="text-org8053869">
<div id="outline-container-org81c348c" class="outline-3">
<h3 id="org81c348c">Impressions</h3>
<div class="outline-text-3" id="text-org81c348c">
</div>
<div id="outline-container-orgbac41c3" class="outline-5">
<h5 id="orgbac41c3">Build Quality</h5>
<div class="outline-text-5" id="text-orgbac41c3">
<div id="outline-container-org4d1c031" class="outline-5">
<h5 id="org4d1c031">Build Quality</h5>
<div class="outline-text-5" id="text-org4d1c031">
<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-org445ebfb" class="outline-5">
<h5 id="org445ebfb">Screen</h5>
<div class="outline-text-5" id="text-org445ebfb">
<div id="outline-container-org9b2693a" class="outline-5">
<h5 id="org9b2693a">Screen</h5>
<div class="outline-text-5" id="text-org9b2693a">
<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>
@@ -378,51 +381,51 @@ The brightness goes up quite high, but colours feel somewhat washed out at high
</p>
</div>
</div>
<div id="outline-container-org863941e" class="outline-5">
<h5 id="org863941e">Keyboard</h5>
<div class="outline-text-5" id="text-org863941e">
<div id="outline-container-org0c1c419" class="outline-5">
<h5 id="org0c1c419">Keyboard</h5>
<div class="outline-text-5" id="text-org0c1c419">
<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-orgde2a0f7" class="outline-5">
<h5 id="orgde2a0f7">Touchpad</h5>
<div class="outline-text-5" id="text-orgde2a0f7">
<div id="outline-container-orgc25df9a" class="outline-5">
<h5 id="orgc25df9a">Touchpad</h5>
<div class="outline-text-5" id="text-orgc25df9a">
<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-org2d57fde" class="outline-5">
<h5 id="org2d57fde">Battery</h5>
<div class="outline-text-5" id="text-org2d57fde">
<div id="outline-container-org4406a5e" class="outline-5">
<h5 id="org4406a5e">Battery</h5>
<div class="outline-text-5" id="text-org4406a5e">
<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-orgc882e05" class="outline-5">
<h5 id="orgc882e05">Expansion cards/ports</h5>
<div class="outline-text-5" id="text-orgc882e05">
<div id="outline-container-orgd528a4a" class="outline-5">
<h5 id="orgd528a4a">Expansion cards/ports</h5>
<div class="outline-text-5" id="text-orgd528a4a">
<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-org6bd6273" class="outline-5">
<h5 id="org6bd6273">Performance</h5>
<div class="outline-text-5" id="text-org6bd6273">
<div id="outline-container-org41f7f7e" class="outline-5">
<h5 id="org41f7f7e">Performance</h5>
<div class="outline-text-5" id="text-org41f7f7e">
<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-org84e44b6" class="outline-3">
<h3 id="org84e44b6">Closing words</h3>
<div class="outline-text-3" id="text-org84e44b6">
<div id="outline-container-orgc8737f0" class="outline-3">
<h3 id="orgc8737f0">Closing words</h3>
<div class="outline-text-3" id="text-orgc8737f0">
<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>
@@ -437,9 +440,9 @@ Personally, I&rsquo;m getting a rare chance to critically examine all the little
</div>
</div>
</div>
<div id="outline-container-org66a21ad" class="outline-2">
<h2 id="org66a21ad">Appendix A: Transient Terminal Sources</h2>
<div class="outline-text-2" id="text-org66a21ad">
<div id="outline-container-orgef33222" class="outline-2">
<h2 id="orgef33222">Appendix A: Transient Terminal Sources</h2>
<div class="outline-text-2" id="text-orgef33222">
<p>
<code>togglescratch</code>
</p>
@@ -508,9 +511,9 @@ opacity-rule=["90:name = 'scratchterminal'"];
</div>
</div>
</div>
<div id="outline-container-org113075f" class="outline-2">
<h2 id="org113075f">Appendix B: lock.py</h2>
<div class="outline-text-2" id="text-org113075f">
<div id="outline-container-org5dfaaa0" class="outline-2">
<h2 id="org5dfaaa0">Appendix B: lock.py</h2>
<div class="outline-text-2" id="text-org5dfaaa0">
<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