With my VPS I sometimes encounter a situation when I try to open a file with Vim, but it tells me the file has already been opened by someone else. This “someone else” is another myself, logged in via SSH from my laptop, which has been suspended (SSH sessions are not being disconnected when you suspend). An easy way to disconnect myself, logged in from the laptop, is using pkill.

$# pkill -KILL -u <username>

That’s it. SSH session has been disconnected and I can now open the desired file.

As you may have noticed, Qt apps no longer use GTK+ theme in Xubuntu 11.10. For me this became particularly noticeable in Psi+.
The problem is caused by QGtkStyle, which cannot find GTK+ theme since Xfce stores it in an unusual location (not sure why 11.04 could find it though).
More »

To make the Xfce Window Buttons applet (or simply the Taskbar, as all of us are used to call it) multi-row, add the following to ~/.config/xfce4/gtkrc (create the file if it doesn’t exist): More »

I was searching for a way to make some kind of a live memory usage monitoring in Linux when I found watch. I wonder why didn’t I ever knew about it! It’s damn useful! You can monitor literally everything with watch. More »

Doing some testing recently, I needed a way to eat up as much RAM as possible on a Linux machine. As it turned out, there are not as many ways to do that quickly and easily as one could have desired. I’ve found only two actually. More »

There is quite a lot of noise regarding this error in the Internet. It is being triggered by Eclipse’s (and Eclipse-based products’) SWT, whenever it tries to generate a ‘browser’ window (like the one used when you do git commit in Aptana).

More »