Software failure! Press left mouse button to continue.

Posted: 172 days ago | Tags: , , ,

“Recently” I’ve been a huge fan of the Dust GTK theme. It’s one of the few themes that combines both dark and light elements nicely (without it looking too out of place on my wmii desktop).

I’ve been using it for over a year now, and I haven’t really had any issues with it, bug I regardless decided to update it yesterday. Newer is always better right? Well, no.. not always.

I started to restart the GTK based applications I had running and I was greeted with the horrendous theme which is the default one:

Oh boy, first point of update regret earned. Like any sane person my next step was to fire up gtk-demo under a terminal so I could check for potential errors:

Midkemia /home/haste
3252 ~ % gtk-demo
/home/haste/.themes/Dust/gtk-2.0/gtkrc:79: error: unexpected identifier `arrowstyle', expected character `}'

My initial thought upon seeing this was obviously: Syntax error?! In my theme?! So my next step is to take a look at the theme’s gtkrc:

--------------->8---------------
engine "murrine" 
	{
		animation           = TRUE  # FALSE = disabled, TRUE = enabled
		arrowstyle          = 1
		border_shades       = { 1.2, 1.0 } # gradient to draw on border
---------------8<---------------

Well, that does look fine. I do notice that the theme uses the murrine gtk-engine, so it’s time for a version check:

1111 ~ # cave show gtk-engines-murrine
* x11-themes/gtk-engines-murrine
    ::compnerd                0.53.1 0.90.3* {:0}
    ::installed               0.90.3 {:0}
    x11-themes/gtk-engines-murrine-0.90.3:0::installed
        Homepage              http://www.cimitan.com/murrine
        Summary               Murrine GTK Engine

So that’s up to date according to my package manager, but what does the release site say? Arrowstyle is on the development list and the latest version is 0.90.3. The SVN repository linked also shows the same version. Luckily for me I remember that GNOME has migrated from SVN to git, and surprise surprise! A updated version is located over at their git repository.

I clone, compile, install it and BAM!

That was an hour or so well spent… At least I’ve gathered up enough regret points to not update my GTK theme in a while.

one hundred push ups

Posted: 484 days ago | Tags: ,

Like many other people I’m a horrible blogger. This is due to many things, but mainly because I feel that I have nothing exciting to write about, but that shouldn’t really be a show stopper.

So how will I fix this? Well I recently decided that I should start training on a regulare basis. There’s no more “forced” gym through school and I don’t really do much moving about anymore. The most moving I ever do is probably when I walk home from a party, which really isn’t enough. At least if I want to get in a better shape than what I currently am in :).

The problem is the same as with blogging. I don’t really have it as a habit and I will easily delay it for another day. I believe I have found a way to solve this, which hopefully will work for me.

I will start training on Monday, Wednesday and Friday, and it will be the first thing I do after my breakfast. There isn’t really much happening at the morning anyway. The day usually starts with me checking my mail, various forums and checking some news sites.

Another thing which kept me from training was the fact that I had no idea what I should do, and how often I should do it. The easiest solution to this would of course be to sign-up for the gym and do all the workout there, but that costs money and it wouldn’t really help with some other matters I want to solve.

Another solution to this is one hundred push ups, which was posted on IRC by Wobin. All in all its a small compendium about how you can figure out where you are, and how you should train. I did the initial test and ended up at 23 push-ups. It’s not a great number, but it’s better than what I feared.

The workouts start tomorrow, and hopefully does the blogging as well.

Improving the fonts in X11.

Posted: 537 days ago | Tags: , , ,
This is mostly for my own memory. I always forget to enable font hinting and anti-aliasing when I do a re-install. I’m surprised I lasted as long as a week without doing anything about this.
Xft.antialias: 1
Xft.dpi: 96.000000
Xft.hinting: 1
Xft.hintstyle: hintnone
Xft.rgba: rgb

This goes into ~/.Xdefaults on most distributions.

Reuse SSH connections.

Posted: 560 days ago | Tags:

This is really my favorite feature in OpenSSH. It doesn’t seem that too many know about it however. I guess we could blame that on ssh-agent. ;)

   Host *
        ControlMaster auto
        ControlPath /tmp/ssh-%r@%h:%p

Amazingly enough – this is the entire content of my ~/.ssh/config.