i3wm – i3status unable to detect battery fix

If you install i3wm and i3status fail to detect your battery, here’s one solution: Open /etc/i3status.conf and look for “battery 0 {“. Add the following line inside the battery config: path = “/sys/class/power_supply/BAT1/uevent” The location might differ, so navigate to power_supply and find the BATX appropriate for you. I’ve seen someone use BAT%d in their […]

How to set up Syslog-ng server on Debian

Syslog is a great standard for handling logs, especially over a network. So how do you set it up on Debian? Sending logs over a network isn’t rocket science. Step 1 – install syslog-ng First, run “sudo apt-get update” and “sudo apt-get upgrade” in order to update your packages. Then install syslog-ng with “sudo apt-get […]