Key names for i3 configuration

Sometimes I need to add a new shortcut in my i3 configuration file, for example to open a workspace when I hit Meta+;. But adding a character (;) in bindsym may result in an error, like below: So… How can key ; be declared in the configuration? Well, in the i3 documentation we may find the following: i3 allows you to bind either on keycodes or on keysyms (you can also mix your bindings, though i3 will not protect you from overlapping ones). ~ i3 User’s Guide - 4.4. Keyboard bindings ...

February 3, 2024

Xbox Wireless Adapter on NixOS

Here’s a quick how-to on using Xbox Wireless Adapter with NixOS Driver To play games with Xbox controller, you have to install a driver first. On Linux we can use xone which is an open-source one for Xbox One and Xbox Series accessories. Installation on NixOS is pretty straightforward, just add enable the driver by adding the following option to your /etc/nixos/configuration.nix: hardware.xone.enable = true; Then update your system state with: sudo nixos-rebuild switch The driver should be installed, but it’s worth rebooting the system at this point ...

November 19, 2023

Installing Linux on Lenovo Thinkpad 11e Chromebook

Ufff, I haven’t been writing here for a while. But I’m back! Few weeks ago I bought a Lenovo Thinkpad 11e Chromebook (at auction). Why? I found out that you can install Linux on these devices, which are called Chromebooks. Also, I needed a more portable (and cheaper) device than my main “machine” (Lenovo Legion Y520), which could serve as a device for opening browser (Firefox) and terminal. When it got delivered to me, I did installed a SeaBIOS (more later) and EndeavourOS on it for testing. And actually I was happy that Linux can work on it. ...

February 28, 2021