Tag Archives: Scripts

Useful snippets #3: dual wallpapers on Awesome window manager

The main configuration file of Awesome wm is ~/.config/awesome/rc.lua. The default function in rc.lua on multihead systems is to install the same, maximized, theme.lua-defined wallpaper to all screens. That is all well, if a) you really want the same wallpaper … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Securing WordPress with Fail2Ban

On Christmas some bored Latvian (according to whois) ‘script kid’ decided to try-and-break into one of my WordPress installations with brute force login attempts. Not a problem as such, because I had already taken precautions against such attempts, but his … Continue reading

Posted in Linux | Tagged , , | Comments Off on Securing WordPress with Fail2Ban

Useful snippets #1: Backup drive check and GPU/disk temperature

I thought to share here some of the bash scripts I’ve made for maintaining my Gentoo Linux system. 1. Checking for a correct detachable drive before backing up with rsync. In my case, the script checks whether the correct eSATA … Continue reading

Posted in Linux | Tagged , | Comments Off on Useful snippets #1: Backup drive check and GPU/disk temperature