Articles

Blogging using Emacs Org Roam and Hugo

Situation There are not many software preferences in my list that I can not easily replace with alternatives due to how intuitive they feel. Org and Hugo are definitely among the top items of that list. Well, their integration, even though it has existed for a long time, is not the best out of the box. Also with the advancements of cross-article linking, I really wanted to have it in my new blog, which I’m going to use for daily blogging, and also publishing my long form notes and thoughts.

Fixing high resolution font aliasing for Wayland on NixOS

Problem With the progress on Wayland architecture and the usability of its software ecosystem, I’m adapting it more and more. This is quite easy to achieve these days, specially with NixOS friendliness of Hyprland. However, I had a weird issue with my Framework 13th’s high resolution monitor. The font’s on Chrome based applications were looking pixelated, and specially in high res, it wasn’t just the look of it which wasn’t appealing, but I was losing the readability.

Download Sharepoint and Teams videos

Problem I recently needed to download a Teams meeting’s recording from Sharepoint within my organization, and it wasn’t possible due to my access level. I knew from a while back, that there was an all in one solution called Sharedown which uses Puppeteer to trigger a browser in order to download the media from a Microsoft Team account. However, the related package on Nixpkgs for some reason couldn’t be installed on my system, and I didn’t have time to dig into it.

Fixing high resolution font aliasing for Wayland on NixOS

Planted February 25, 2025
Categories: Quick Tips
Tags: wayland , xwayland , nixos

Problem

With the progress on Wayland architecture and the usability of its software ecosystem, I’m adapting it more and more. This is quite easy to achieve these days, specially with NixOS friendliness of Hyprland. However, I had a weird issue with my Framework 13th’s high resolution monitor.

The font’s on Chrome based applications were looking pixelated, and specially in high res, it wasn’t just the look of it which wasn’t appealing, but I was losing the readability.

Solution

The main reason for it seems to be related to XWayland. An X Server, designed to run under Wayland, helping applicaitons, which don’t have Wayland support out of the box.

And apparently, Chrome related stuff, by default prefer to run on X. To address this, we can either set the following environment variable globally in NixOS:

# somewhere in your NixOS configuration
environment.sessionVariables.NIXOS_OZONE_WL = "1";

Or you can use chrome://flags and set the following per application:

This is of course not available for applications like Slack, which makes the environment variable setting a more promissing option.

Sources

  1. NixOS wiki: Slack
  2. nixpkgs#207984

Feedback