I need everything to be just where it’s supposed to be, when I’m working on my CrunchBang netbook. I use the Openbox version and absolutely love it for it’s light weight and high configurability.

With any given window manager or any given desktop environment I like to have my daily used apps and windows always on the same desktop/workspace. Usually, I’ve got at least four desktops. Right now I use three desktops in Openbox on my netbook.

Continue reading ‘Set default desktops for applications in Openbox’


As you can see from the screenshots I’ve posted so far, I use CrunchBang with the Openbox window manager. The panel that comes with CrunchBang+Openbox is known as tint2, which according to the project’s homepage is “a simple panel/taskbar unintrusive and light (memory / cpu / aestetic)”. I love this combination of CrunchBang+Openbox+tint2. The default setting of tint2 in CB is “always on top”. In this post I’ll show you how to autohide your panel. I personally prefer “always on top”, but maybe some of you like your panel to autohide? Only just yesterday, someone in the Statler group on identica asked if anyone knew how to autohide the panel.

Continue reading ‘How to autohide your tint2 panel’

This latest episode in Canonical’s blatant attempts at discrediting GNOME and pulling away contributors/supporters marks (see what I did there?) yet another low point in Canonical’s role in the FOSS community. And in Canonical’s case, I use the term “FOSS” loosely. Canonical is like that one kid in kindergarten that just does not get along well with the other kids, and often throws a fit and takes his ball and stomps home when they refuse to play by his rules. Shuttleworth in his latest anti-GNOME blog post makes a series of unsupported claims, and I sincerely hope the FOSS community at large is able to see through his smoke and mirrors.

Continue reading ‘The Canonical Smoke and Mirrors Show’

I love Vim. It is my weapon of choice. One of the first things I always do when I install a fresh system is to install Vim and import my vimrc file. In this quick blog post I want to show you remote file comparison with Vim. As a server admin, I sometimes find myself having to compare two configuration files, one on my local system and the other on one of my servers. One option would be to down-/upload one file and vimdiff over here/there with the other file. No need for that. Vim let’s you compare remotely, by a simple combination of the vimdiff and scp commands.

Continue reading ‘Remote file comparison with Vim’

I love Python,  and I’ve been learning it for a while now. Sometime ago I wrote a Python script where I needed to resize a bunch of images and at the same time keep the aspect ratio –  the proportions – intact. So I looked around and found the PIL (Python Imaging Library). You will need to install the PIL for the code to work. To install PIL on a Debian based system run the following command in your terminal as root:

aptitude install python-imaging

And now for the Python code for resizing images while maintaining the aspect ratio:

Continue reading ‘How to resize images with python’

As  you might have noticed from my previous post A shorter prompt I have customized both the font size and font family of my Terminator. A great deal of my activities take place in the terminal and I need my fonts to be comfortably visible and pleasing to my eyes.

One of the first things I always do on a fresh system is install a bunch of fonts. For Terminator I use a monospace font called Inconsolata, my favourite terminal font. On Debian and Debian based distros, installation of Inconsolata is as easy as

Continue reading ‘Changing font size and font family of Terminator’

Linux users who work in the terminal a lot might often find themselves with overly long bash prompts, the deeper into their directory tree they get. I have this problem a lot and after searching around a bit, I managed to keep my bash prompt nice and short. Here is what it looks like now:

shorter prompt

In the image you can see the prompt now shows only timestamp, username, hostname and current working directory. Home, in this case. And right above the prompt is the output of the pwd command, the current working directory: /home/dayo

Continue reading ‘A shorter prompt’