Wednesday, April 9, 2014

Bash Specialities, part 1

This post shows some more or less frequently used features in bash, which might come handy in some situations.

Sunday, April 6, 2014

i3 window manager

Not long ago, I've switched from KDE window manager (kwin), which I've been using for years, to tiling window manager i3. So far I've tried several different WMs but none has suited my needs perfectly, until now.

What do I expect from window manager:
  • it should be highly customizable. It should provide ways to set keyboard and mouse shortcuts. In this way, kwin has been really great and that was the main reason I was using it.
  • it should be lightweight. This was the main issue, which kwin and KDE desktop had. On the other hand, i3wm with Slim is very simple and lightweight.
  • it should be fast. I don't say kwin was slow, but in comparison to i3, well, it is (:
  • eye-candy... yes good looking windows are sign of a modern WM, but for me eye-candy isn't very important.
In this section I'll post how I've replaced Kdm and kwin with Slim and i3 and I'll show my configuration of i3.

Saturday, April 5, 2014

Using caldav 0.2.1 with owncloud DAV services

New version caldav libraries was released recently. It didn't work from the scratch with my owncloud CalDAV. This post shows what I have changed to get it work.

Tuesday, April 1, 2014

ssh chroot jail

This post shows step by step how to create minimalistic ssh chroot jail. I use this for sharing files via scp/WinSCP.

Saturday, March 29, 2014

Disabling HDD Spindown

Recently I've noticed that my HDD stops and starts too frequently. Not only has this affect on performance (access time) but it has negative impact to it's lifetime. So I've turned off Advanced power management (APM) function.

Monday, March 17, 2014

Script for starting services and mouning filesystems

This script handles mounting of defined mountpoints and starts services via systemctl. I use it to start and mount all necessary services for my Raspberry PI.

Wednesday, March 12, 2014

Setting up fail2ban

Fail2ban is a program, that can prevent brute force attempts to your computer. Basically it counts failed login attempts and after given count is reached, it triggers an action, which usually is ban for IP address.