Commit 0fbd635f authored by Winston Weinert's avatar Winston Weinert 💬
Browse files

new blog post about nixos

parent 0b9ec45c
Pipeline #558973533 passed with stages
in 56 seconds
This diff is collapsed.
......@@ -22,7 +22,7 @@ your CI/CD minutes are numbered.
## BTW - Here's an Ansible playbook {#btw-here-s-an-ansible-playbook}
{{< figure src="/ox-hugo/gitlab-runner-ansible.png" caption="Figure 1: screenshot demonstrating success using the playbook" >}}
{{< figure src="/ox-hugo/gitlab-runner-ansible.png" caption="<span class=\"figure-number\">Figure 1: </span>screenshot demonstrating success using the playbook" >}}
I wrote a short playbook based off of the steps outlined below. You can check
it out here: <https://gitlab.com/winny/gitlab-runner-playbook/-/tree/master>
......@@ -66,7 +66,7 @@ Register the GitLab Runner. You'll need to specify a default docker image. I
usually do `alpine:latest`, but it shouldn't matter because the `image` should
be specified in your `.gitlab-ci.yml` for maximum clarity. You will also need
the registration token from your GitLab project's CI/CD page. You can find it
by clicking on Settings -> CI/CD -> expand "Runners". This is also where your
by clicking on Settings -&gt; CI/CD -&gt; expand "Runners". This is also where your
runners will be listed.
```sh
......@@ -142,8 +142,8 @@ guest. You also do not need to expose your guest to the internet or even the
local LAN - it only needs to dial out via a NAT.
Another cool thing learned when working on this is one can use the
[`community.libvirt.libvirt_qemu` connection plugin](https://docs.ansible.com/ansible/latest/collections/community/libvirt/libvirt%5Fqemu%5Fconnection.html) to manage guests without even
needing SSH access or credentials. This uses the [qemu guest agent](https://wiki.libvirt.org/page/Qemu%5Fguest%5Fagent), bypassing the
[`community.libvirt.libvirt_qemu` connection plugin](https://docs.ansible.com/ansible/latest/collections/community/libvirt/libvirt_qemu_connection.html) to manage guests without even
needing SSH access or credentials. This uses the [qemu guest agent](https://wiki.libvirt.org/page/Qemu_guest_agent), bypassing the
need for suitable networking to manage guests.
Stay tuned for more infrastructure posts.
Stay tuned for more infrastructure posts.
\ No newline at end of file
......@@ -166,10 +166,10 @@ as
- upgrading the driver breaks currently running Xorg sessions'
3d acceleration, and requires a reboot;
- Out of tree kernel drivers are usually a bad idea, though I
appreciate [how easy Gentoo makes it to deal with them](https://wiki.gentoo.org/wiki/Kernel/Upgrade#Reinstalling%5Fexternal%5Fkernel%5Fmodules) — simply run
appreciate [how easy Gentoo makes it to deal with them](https://wiki.gentoo.org/wiki/Kernel/Upgrade#Reinstalling_external_kernel_modules) — simply run
`emerge @module-rebuild`, this still a mild annoyance because it
adds extra steps when upgrading kernels or rebuilding kernels
- No [native resolution modesetting is available on Nvidia](https://wiki.archlinux.org/index.php/Kernel%5Fmode%5Fsetting), so your
- No [native resolution modesetting is available on Nvidia](https://wiki.archlinux.org/index.php/Kernel_mode_setting), so your
linux consoles (tt1-tty6 on most installs) are stuck at a very low
resolution, and look very chunky;
- ~~you have to either use Nvidia libGL or use Mesa, not both~~
......@@ -182,7 +182,7 @@ as
capture correctly with the binary drivers;
- Nvidia's composition pipeline feature for reducing video tearing
is pretty awful. [It simply makes most animations look
choppy/stuttery](https://www.reddit.com/r/linux%5Fgaming/comments/5tym3e/nvidia%5Flinux%5Ftearing%5Fand%5Fforcecompositionpipeline/), and ruins the experience of most video playback;
choppy/stuttery](https://www.reddit.com/r/linux_gaming/comments/5tym3e/nvidia_linux_tearing_and_forcecompositionpipeline/), and ruins the experience of most video playback;
- Nvidia is liable to drop support for my card in another year or
so, forcing me to upgrade anyways, [this is planned obsolescence at
the driver level](https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/). With AMD on the other hand the driver probably
......@@ -198,7 +198,7 @@ as
With AMD on the other hand I don't foresee most of these
issues. Presently I found s3 suspend-resume cycles take up to a
minute, so I need to address that. Video tearing on the other hand
is very minimal; I have been able to watch this YouTube [tearing test](https://www.youtube.com/watch?v=MfL%5FJkcEFbE)
is very minimal; I have been able to watch this YouTube [tearing test](https://www.youtube.com/watch?v=MfL_JkcEFbE)
and experience no video tearing. I did notice tearing in certain
parts of Firewatch though. That is likely because Firewatch is not
particularly well optimized.
......@@ -212,7 +212,7 @@ run an `emerge -uDU --changed-deps -av @word` after an `emerge
in the Xorg logs it couldn't open the `radeonsi` driver. I thought
I could simply add `amdgpu` to `VIDEO_CARDS`, but as the logs
suggest, I need `radeonsi` and `amdgpu`. [The Gentoo Wiki also
suggests this](https://wiki.gentoo.org/wiki/AMDGPU#Feature%5Fsupport). Because I was both trying to update and reconfigure
suggests this](https://wiki.gentoo.org/wiki/AMDGPU#Feature_support). Because I was both trying to update and reconfigure
my installation, this yielded to problems with blockers. It seemed
nvidia was the problem, as it was masking Xorg versions I needed. I
nuked `nvidia` from my `VIDEO_CARDS` and was successful in updating
......@@ -275,4 +275,4 @@ debugging a GTK bug, and some other topics, but the amount of
material to cover kept growing, much like this post keeps
growing. Stay tuned to read about seccomp madness.
[^fn:1]: See my overlay [on GitHub](https://github.com/winny-/winny-overlay).
[^fn:1]: See my overlay [on GitHub](https://github.com/winny-/winny-overlay).
\ No newline at end of file
......@@ -19,18 +19,18 @@ It took six months to a year to manage my symptoms well enough to start
participating in open source again. Shortly after, I landed a long-term
freelance gig as a system administrator. The increased computer work led to a
resurgence of RSI symptoms. I managed for awhile with simply taking breaks,
maintaining okay desk ergonomics, doing tendon & nerve glides, and hot/cold
maintaining okay desk ergonomics, doing tendon &amp; nerve glides, and hot/cold
therapy. At some point my symptoms were not improving, so I looked into using
better input devices.
## Strategic switch to Dvorak {#strategic-switch-to-dvorak}
{{< figure src="/ox-hugo/900px-KB_United_States.svg.png" caption="Figure 1: The standard QWERTY layout, [courtesy Wikipedia](https://commons.wikimedia.org/wiki/File:KB%5FUnited%5FStates.svg)." >}}
{{< figure src="/ox-hugo/900px-KB_United_States.svg.png" caption="<span class=\"figure-number\">Figure 1: </span>The standard QWERTY layout, [courtesy Wikipedia](https://commons.wikimedia.org/wiki/File:KB_United_States.svg)." >}}
{{< figure src="/ox-hugo/900px-KB_United_States_Dvorak.svg.png" caption="Figure 2: The standard Dvorak layout, [courtesy Wikipedia](https://commons.wikimedia.org/wiki/File:KB%5FUnited%5FStates%5FDvorak.svg)." >}}
{{< figure src="/ox-hugo/900px-KB_United_States_Dvorak.svg.png" caption="<span class=\"figure-number\">Figure 2: </span>The standard Dvorak layout, [courtesy Wikipedia](https://commons.wikimedia.org/wiki/File:KB_United_States_Dvorak.svg)." >}}
Enter Dvorak. I chose to switch to the [Dvorak keyboard layout](https://en.wikipedia.org/wiki/Dvorak%5Fkeyboard%5Flayout) because it
Enter Dvorak. I chose to switch to the [Dvorak keyboard layout](https://en.wikipedia.org/wiki/Dvorak_keyboard_layout) because it
requires less stretching to type the same English text. Dvorak also is
designed such that each other key is likely typed by the other hand. As such
each hand gets opportunity to rest between keystrokes, and position itself
......@@ -54,9 +54,9 @@ keyboards. Nothing really seemed very comfortable.
## Kinesis Advantage: The best board {#kinesis-advantage-the-best-board}
{{< figure src="/ox-hugo/kb600-angled-l-2007x1024-1400x1049.jpg" caption="Figure 3: Kinesis Advantage 2 top view, [Kinesis Corp](https://kinesis-ergo.com/shop/advantage2/)." >}}
{{< figure src="/ox-hugo/kb600-angled-l-2007x1024-1400x1049.jpg" caption="<span class=\"figure-number\">Figure 3: </span>Kinesis Advantage 2 top view, [Kinesis Corp](https://kinesis-ergo.com/shop/advantage2/)." >}}
{{< figure src="/ox-hugo/kb600-ls3a-1400x1049.jpg" caption="Figure 4: Kinesis Adavantage 2 demonstration, [Kinesis Corp](https://kinesis-ergo.com/shop/advantage2/)." >}}
{{< figure src="/ox-hugo/kb600-ls3a-1400x1049.jpg" caption="<span class=\"figure-number\">Figure 4: </span>Kinesis Adavantage 2 demonstration, [Kinesis Corp](https://kinesis-ergo.com/shop/advantage2/)." >}}
Enter the [Kinesis Advantage](https://kinesis-ergo.com/shop/advantage2/). It felt outside of my budget, with a price tag
ranging of around 275-350 USD. I immediately recognized the potential this
......@@ -110,7 +110,7 @@ best!
## What about keyboard shortcuts? {#what-about-keyboard-shortcuts}
I use vi keys with no adjustment. On Dvorak `jk` are on the bottom row of the
left middle & ring fingers. `hl` are on the right hand just to the left of
left middle &amp; ring fingers. `hl` are on the right hand just to the left of
home row, and on the upper row of the pinky. This might seem awkward, but if
you're jk hl and it's causing you RSI problems, regardless where it's located,
you probably should not be using a keyboard. Sure it might be easier to reach
......@@ -179,7 +179,7 @@ Dvorak, but are comfortable in vim and Emacs. I even lived with a Dvorak
user. We could share each others' computers without dealing with trivial
things like keyboard layouts. Nowadays I don't think anybody knows I type
Dvorak until they wonder why I type slow at their desk. I'm not self conscious
about it --- because I'm a practiced typist, hunting & pecking for me looks
about it --- because I'm a practiced typist, hunting &amp; pecking for me looks
like a mildly slow touch typist using a new keyboard. You might wonder why I
don't try to touch type qwerty, and no, I don't want to confuse myself.
Learning a new keyboard layout takes dedication, and I can only truly touch
......@@ -191,4 +191,4 @@ importance in my lifestyle. Drop me a line, I'd love to hear from you.
Interested in learning Dvorak? Stop. Give it a deep think. Maybe you don't
need to learn a new keyboard layout. If you're not discouraged, load up
[keybr.com](https://www.keybr.com/) and practice. Go cold turkey, it worked for me, and can work for
you.
you.
\ No newline at end of file
......@@ -149,4 +149,4 @@ tail -f ~/ripper.log
- [How to detect whether there is a CD-ROM in the drive?](https://superuser.com/questions/630588/how-to-detect-whether-there-is-a-cd-rom-in-the-drive/1367091#1367091)
- [Start ripping when CD is inserted](https://somewideopenspace.wordpress.com/yet-another-headless-cd-ripper-and-mpd-on-raspberry-pi-installation-guide-yahcdramorpig/start-ripping-when-cd-is-inserted/)
- [abcde - A Better CD Encoder](https://abcde.einval.com/wiki/)
- [abcde - A Better CD Encoder](https://abcde.einval.com/wiki/)
\ No newline at end of file
......@@ -81,13 +81,13 @@ found via the `help` command, the README on GitHub[^fn:7], and fiddling
with the UI.
1. Run the `config` command.
1. Default User -> set to your preferred username on most of your servers
2. Add a new font via: Appearance -> Add a new font. Open the
1. Default User -&gt; set to your preferred username on most of your servers
2. Add a new font via: Appearance -&gt; Add a new font. Open the
gallery and grab the raw CSS file (you can get a raw URL after
switching to GitHub desktop), then paste it into the URL
Address Field. I prefer Droid Sans Mono for its readability at
all sizes.
3. Keys -> + -> Create New
3. Keys -&gt; + -&gt; Create New
Please use ssh keypair authentication. Password authentication
requires you to memorize a password to log in which can be
......@@ -105,7 +105,7 @@ with the UI.
- Type: RSA
- Bits: 4096 (why not?)
- Name: `id_rsa`
4. Hosts -> +
4. Hosts -&gt; +
- Host: the name you gave your host when running `ssh host` or
`mosh host`. This is not related to the server's hostname,
though it can be the same. I prefer simple names, usually
......@@ -115,7 +115,7 @@ with the UI.
- Key: select a key to use.
2. Now you need to install the SSH public key:
1. Run `config` again
2. Keys -> `id_rsa` -> Copy Public Key
2. Keys -&gt; `id_rsa` -&gt; Copy Public Key
3. Install it some way.
I usually prefer to visit
......@@ -140,4 +140,4 @@ with the UI.
[^fn:5]: [Blink on GitHub](https://github.com/blinksh/blink)
[^fn:6]: [Ask Different: Is it possible to have GPL software in the Mac App Store?](https://apple.stackexchange.com/a/59495/140932)
[^fn:7]: [README § Using Blink](https://github.com/blinksh/blink#using-blink)
[^fn:8]: [Getting Mosh](https://mosh.org/#getting)
[^fn:8]: [Getting Mosh](https://mosh.org/#getting)
\ No newline at end of file
......@@ -11,7 +11,7 @@ and Comicbook archive. In particular it supports using mupdf for the
backend, so it's rather fast (unlike poppler, used by evince and
friends). Here is a screenshot of Zathura:
{{< figure src="/ox-hugo/zathura.png" caption="Figure 1: screenshot of zathura" >}}
{{< figure src="/ox-hugo/zathura.png" caption="<span class=\"figure-number\">Figure 1: </span>screenshot of zathura" >}}
Now that I've introduced Zathura. I want to talk about a problem I had
recently. I wanted to print a document a couple weeks ago, but found
......@@ -51,7 +51,7 @@ Cannot find user-level thread for LWP 18744: generic error
```
The error message `Cannot find user-level thread for LWP 18744:
generic error` is [mentioned on the Sourceware Wiki](https://sourceware.org/gdb/wiki/FAQ#GDB%5Freports%5F.22Cannot%5Ffind%5Fuser-level%5Fthread%5Ffor%5FLWP%5F23957:%5Fgeneric%5Ferror.22.2C%5Fhow%5Fdo%5FI%5Ffix%5Fthis.3F). The Wiki FAQ
generic error` is [mentioned on the Sourceware Wiki](https://sourceware.org/gdb/wiki/FAQ#GDB_reports_.22Cannot_find_user-level_thread_for_LWP_23957:_generic_error.22.2C_how_do_I_fix_this.3F). The Wiki FAQ
suggests I may have a mismatch between `libthread_db.so.1` and
`libpthread.so.0` or am using a 64-bit debugger with a 32-bit
program. Both zathura and gdb are amd64 programs on my box. And I only
......@@ -267,7 +267,7 @@ winston@snowcrash .../work/zathura-0.4.5 $ tree -L 2 -F \
#### Where Seccomp is used in the code {#where-seccomp-is-used-in-the-code}
Indeed if we look in `seccomp-filters.c` it has a couple lines that suggest
zathura prevents dumping core & using `ptrace()`:
zathura prevents dumping core &amp; using `ptrace()`:
```C
#define ADD_RULE(str_action, action, call, ...) \
......@@ -603,7 +603,7 @@ will be installed under `/usr/lib/debug`.
#### A better backtrace {#a-better-backtrace}
After getting the debug symbols & sources installed, I now get the
After getting the debug symbols &amp; sources installed, I now get the
following backtrace:
```text
......@@ -729,7 +729,7 @@ $4 = (gchar *) 0x61 <error: Cannot access memory at address 0x61>
```
Indeed, we cannot access memory of address `0x61`. And looking at the
source and documentation for g\_strjoinv, the `str_array` argument
source and documentation for g_strjoinv, the `str_array` argument
should be a NUL terminated array of strings.
Let's look at the third frame.
......@@ -803,14 +803,13 @@ it. Let me preface the found commit with a brief explaination.
MF632C/634C"` becomes `"Canon-MF632C-634C"`
2. `g_strsplit_set()` splits `printer_name` on `"-"`, giving the
following array:
```text
(gdb) print *printer_name_strv@g_strv_length(printer_name_strv)+1
$12 = {0x555555eff250 "Canon", 0x555555ece120 "MF632C", 0x555555f397e0 "634C", 0x0}
```
3. `g_new0()` initializes a zero-filled array of pointers of length 3,
the number of splitted elements returned by `g_strsplit_set()`
4. The for loop copies over the contents of printer\_name\_strv, but
4. The for loop copies over the contents of printer_name_strv, but
skips empty elements - e.g. in the case that the above string had
two adjacent hypens.
5. The `g_strjoinv()` joins each string in the
......@@ -854,7 +853,7 @@ Would you like to merge these packages? [Yes/No]
And viola. I am able to print!
{{< figure src="/ox-hugo/print-success.png" caption="Figure 2: gtk print dialogue success!" >}}
{{< figure src="/ox-hugo/print-success.png" caption="<span class=\"figure-number\">Figure 2: </span>gtk print dialogue success!" >}}
## Conclusion {#conclusion}
......@@ -890,4 +889,4 @@ documentation.
If you made it this far, you have a lot of patience for ramblings
and hobbyist computing. You're terrific! Next time you run into a
segfault, put what you've learned to good use!
segfault, put what you've learned to good use!
\ No newline at end of file
......@@ -51,14 +51,14 @@ sure to read through [the RouterOS Wiki documentation](https://wiki.mikrotik.com
replacement wiki](https://help.mikrotik.com/docs/display/ROS/RouterOS) when things are not clear.
In particular check out the guides for [scripting](https://wiki.mikrotik.com/wiki/Manual:Scripting), [using the console](https://wiki.mikrotik.com/wiki/Manual:Console),
[first-time setup](https://wiki.mikrotik.com/wiki/Manual:First%5Ftime%5Fstartup), and [troubleshooting tools](https://wiki.mikrotik.com/wiki/Manual:Troubleshooting%5Ftools).
[first-time setup](https://wiki.mikrotik.com/wiki/Manual:First_time_startup), and [troubleshooting tools](https://wiki.mikrotik.com/wiki/Manual:Troubleshooting_tools).
The steps are this:
### 1) Make a backup of your current RouterOS configuration {#1-make-a-backup-of-your-current-routeros-configuration}
[About the `/export` and `/import` paths](https://wiki.mikrotik.com/wiki/Manual:Configuration%5FManagement). Also worth reading about
[About the `/export` and `/import` paths](https://wiki.mikrotik.com/wiki/Manual:Configuration_Management). Also worth reading about
[`/system backup`](https://wiki.mikrotik.com/wiki/Manual:System/Backup).
```text
......@@ -460,4 +460,4 @@ Indeed they seem to know how inappropriately they service the
community the channel is for. As always you can write me about this
at the following email: hello AT winny DOT tech. I recommend
seeking out another communication medium for questions related to
Mikrotik.
Mikrotik.
\ No newline at end of file
......@@ -100,7 +100,7 @@ channels, unlike the above victims:
## Some social media coverage {#some-social-media-coverage}
- <https://twitter.com/andy%5Fkelley/status/1397388932367601665>
- <https://twitter.com/andy_kelley/status/1397388932367601665>
- <https://twitter.com/kmett/status/1397387923993944064>
- [Freenode ops take control of 700 channels](https://news.ycombinator.com/item?id=27286628) ([direct link to post](https://mastodon.sdf.org/@kline/106299403921451814))
......@@ -127,4 +127,4 @@ going to put up with this misconduct.
Given that even the existent channels are all pretty quiet, I think it's safe
to say Freenode is dead, except for niche communities that have managed to
survive this unfortunate turn of events.
survive this unfortunate turn of events.
\ No newline at end of file
......@@ -111,4 +111,4 @@ money. Demos are hard, deployments should be automated or otherwise
streamlined. Finally, teamwork is vital. Keep the team small, and
make sure everybody has things to do.
See you next year GDG.
See you next year GDG.
\ No newline at end of file
......@@ -11,4 +11,4 @@ for C!&nbsp;[^fn:1]
{{< figure src="/ox-hugo/gnu-comic.png" >}}
[^fn:1]: [Indentation Style on Wikipedia](https://en.wikipedia.org/wiki/Indentation%5Fstyle)
[^fn:1]: [Indentation Style on Wikipedia](https://en.wikipedia.org/wiki/Indentation_style)
\ No newline at end of file
+++
title = "How to fix early framebuffer problems, or \"Can I type my disk password yet??\""
title = """
How to fix early framebuffer problems, or "Can I type my disk password yet??"
"""
author = ["Winston (winny) Weinert"]
date = 2019-12-25T03:37:00-05:00
tags = ["computing", "gentoo", "linux"]
draft = false
+++
Most of my workstations & laptops require a passphrase typed in to
Most of my workstations &amp; laptops require a passphrase typed in to
open the encrypted root filesystem. So my steps to booting are as
follows:
......@@ -141,7 +143,7 @@ the kernel image (it would be `m` if it's a module):
CONFIG_DRM_I915=y
```
After compiling & installing the kernel (and generating a dracut
After compiling &amp; installing the kernel (and generating a dracut
initrd for cryptsetup/lvm), I was able to reboot and get an early
pre-mounted-root framebuffer on this device.
......@@ -151,7 +153,7 @@ pre-mounted-root framebuffer on this device.
I discovered the Gentoo devs [have begun shipping an ebuild that
builds and installs a kernel with a portable, livecd friendly
config](https://blogs.gentoo.org/mgorny/2019/12/19/a-distribution-kernel-for-gentoo/). In addition this package will optionally generates an initrd
with dracut as a pkg\_postinst step, making it very suitable as a
with dracut as a pkg_postinst step, making it very suitable as a
replacement for users who just want a working kernel, and don't mind
a excessive compatibility (at a cost to size and build time).
......@@ -193,5 +195,9 @@ working system with a couple small non-free components, than a
non-working system. Which is more valuable, your freedom, or reduced
capacity of your tools?
[^fn:1]: GRML is my favorite live media. It is simple, to the point, has lots of little scripts to streamline tasks such as setting up a wireless AP, a iPXE netboot environment, a router, installing debian, and so on. And Remastering is relatively straight forward. It also has a sane gui sutable for any machine (fluxbox).
[^fn:2]: Thanks to [this post](https://askubuntu.com/questions/727577/how-to-check-if-framebuffer-is-enabled) on Ask Ubuntu
[^fn:1]: GRML is my favorite live media. It is simple, to the point, has
lots of little scripts to streamline tasks such as setting up a
wireless AP, a iPXE netboot environment, a router, installing debian,
and so on. And Remastering is relatively straight forward. It also has
a sane gui sutable for any machine (fluxbox).
[^fn:2]: Thanks to [this post](https://askubuntu.com/questions/727577/how-to-check-if-framebuffer-is-enabled) on Ask Ubuntu
\ No newline at end of file
......@@ -245,7 +245,7 @@ streamlined in that it does all the work for you — no more manually
configuring and remembering which make invocations are necessary to
update the kernel. It's not hard to get right, but it's not
particularly interesting in my use-case. Additionally, using
`sys-kernel/vanilla-kernel`, the kernel & its modules are now
`sys-kernel/vanilla-kernel`, the kernel &amp; its modules are now
packaged, and can be distributed to my other machine as a binpkg. This
streamlines deployment significantly.
......@@ -305,4 +305,4 @@ side by side. then pick 'n choose which kernel to use de jure.
I am very interested to hear of you, the reader's, suggestions for
kernel maintenance and version selection strategies. You can find my
contact details at <https://winny.tech/> . Thank you for reading.
contact details at <https://winny.tech/> . Thank you for reading.
\ No newline at end of file
......@@ -140,4 +140,4 @@ when migrating.
As always I should shout out a live media to use for this post --- [GRML linux](https://grml.org/)
is great for this.
[^fn:1]: Thanks smokey991 for suggesting this.
[^fn:1]: Thanks smokey991 for suggesting this.
\ No newline at end of file
......@@ -6,7 +6,7 @@ tags = ["computing", "emacs", "gentoo"]
draft = false
+++
{{< figure src="/ox-hugo/emacs27.png" caption="Figure 1: Behold! Emacs 27!" >}}
{{< figure src="/ox-hugo/emacs27.png" caption="<span class=\"figure-number\">Figure 1: </span>Behold! Emacs 27!" >}}
When upgrading to Emacs 27 there were quite a few weird things I had to
address.
......@@ -47,7 +47,7 @@ due to cairo building with pango now.
It turns out setting a catchall Xresources setting to configure font for all
old-style applications can cause problems with Emacs which uses [`Emacs.font`
resource](https://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Table-of-Resources.html) to configure a font. Insofar the other X applications appear to use
resource](https://www.gnu.org/software/emacs/manual/html_node/emacs/Table-of-Resources.html) to configure a font. Insofar the other X applications appear to use
`*font*` only for old-style bitmap fonts.
In order to keep the `*font` setting, override `Emacs.font`:
......@@ -92,7 +92,7 @@ emacsclient: No socket or alternate editor. Please use:
After a quick search on the Gentoo bug tracker, this bug looked appropriate:
[#794649: app-emacs/emacs-daemon fails to set the socket location emacsclient 27
expects by default](https://bugs.gentoo.org/show%5Fbug.cgi?id=794649).
expects by default](https://bugs.gentoo.org/show_bug.cgi?id=794649).
This bug references upstream Emacs bugreport: [#33847: 27.0.50; emacsclient does
not find server socket](https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33847).
......@@ -154,4 +154,4 @@ emacs` works without special user intervention. One downside of my
[`configuration.org` setup](https://harryrschwartz.com/2016/02/15/switching-to-a-literate-emacs-configuration) with `use-package` is the slow initialization. It
takes at least a couple minutes to install all the packages during first
startup. Maybe one day my Emacs startup be fast and instantaneous from `git
clone`...
clone`...
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment