Skip to main content

2 posts tagged with "Ubuntu"

View All Tags

How I use keyd to remap my keyboard in Ubuntu 22.04 with Wayland

· 13 min read

Think about how you use your keyboard. Imagine how good it would be if your CapsLock can be used as Ctrl, how much better it would be for your left pinky? That is the power of remapping the keyboard. It means you can customize the functionality of each key on your keyboard.

This is a walkthrough of my setup in Ubuntu using keyd. A guide I wish it existed when I first try to find out how to remap my keyboard in Ubuntu.

Dual Boot Windows and Ubuntu with Secure Boot and Full Disk Encryption

· 12 min read

A few months ago, I finally took the time to set up dual boot on my laptop. I would love to try Ubuntu as my daily driver again, while keeping the Windows OS just in case. I treated this as a learning opportunity and configured dual boot with secure boot still enabled and have full disk encryption configured for both operating systems.

I wrote this blog because I could not find a single guide explains all steps for secure boot and full disk encryption sequentially, and these steps interleave each other. So, I made some notes before the installation to ensure I am doing the right thing at the right time. For example, I won't accidentally skip a step about configuring secure boot when I am focused on following another guide about full disk encryption. This guide is a cleaned up version of the notes that I compiled for my dual boot set up.

I organized the whole flow into 6 general steps:

  1. Preparing in Windows: set boot mode, partition disk, etc.
  2. Configure BIOS: boot mode and other BIOS settings
  3. Configure Ubuntu Partition: boot and data partition
  4. Install Ubuntu: configure dual boot and mounting volumes correctly
  5. Set up crypttab for full disk encryption
  6. Reboot and fix some other issues