Updates

Updates are crucial parts of applications. They offer new feature, bug fixes and new beutiful errors. Auto updates are nice, but they can break your entire linux setup. One simple change can tear down your beloved arch linux installation. I’ve had problems with broken kernels and missing bootloaders, but something as simple as a software update is something that has never broken my setup. Sxhkd is an important part of my archlinux desktop. Without it, I am unable to do anything. I use it in combination with bspwm. It allows me to create simple keyboard shortcuts to launch applications, change window sizes and control windows. Controlling these windows is very important, as if I cannot do this, I cannot resize them or close them. The software update wasn’t in Sxhkd, it was in bspwm, my window manager. The change the broke my setup was a very simple command change. Previously, to close the active window, one would type bcspc window -c. The most recent update changed this command to bcspc node -c. It was a very simple change, they changed window to node. As you might have guessed, all my key combinations were still using the old syntax. This made it impossible to close or manipulate windows. It took me more time to realize what was going on then I’d like to admit, but the fix for this problem is very easy. I simply had to replace “window” with “node” in my sxhkd config file. If you encounter this problem yourself, here is a very simple command to do this. sed -i -e ‘s/window/node/g’ ~/.config/sxhkd/sxhkdrc If you’re running any linux distro, before update, you should always lookout for any changes that have occurred. Even if you’re about to update over 100 applications. It saves you from countless hours of debugging.
Writen by on 19th Mar, 2016