Saturday, March 12, 2016

Fixing problematic keys in st (suckless terminal)

Some keys were not working in Suckless Terminal (st). In particular Backspace and END keys were not working. Performing the following two steps fixes the problem (courtesy of the st page in the ArchWiki):


  1. Put this line in ~/.inputrc or /etc/inputrc:
    set enable-keypad on
  2. Run this in your terminal (you can put it in ~/.bashrc):
    stty erase '^H'

Monday, March 7, 2016

Container fstab not working in LXC

It seems that from some version of LXC, the deafults have changed such that container fstab simply has stopped working for me. This is how I fixed the problem: add the following line to your container config file:
lxc.mount = /var/lib/lxc/container-name/fstab
Fix the container name in that, and you're ready to go.