~FoxBlog


It has begun… again.

Posted in Gentoo, Ruby Code by grayfox on the October 13th, 2008

Well I’m back at the university continuing my study. I’m particulary looking forward to my Psychology and Operating Systems courses. Let’s see how it goes.

On the other hand I installed kernel 2.6.27 on my machine and along with it the hdaps patch. Unfortunately the hdaps monitoring applet I used before no longer works because of the missing sysfs interface. Not a problem really since I just wrote a very basic script that notifies me of disk freezes using DBus notifications. It depends on ruby (obviously) and ruby-dbus. Edit the file to use your own icon and check interval.

DBus notifications in action

You can of course have the icon I gimped using the gnome-laptop icon from the gnome wise icon theme by perfektska.

I will also right after finishing this blog update my gentoo forum post to represent the current status regarding hdaps and linux.

– EOF

New Project

Posted in Gentoo, Ruby Code by grayfox on the October 1st, 2008

I picked myself up and found something new to code.
Gentoo’s portage elog feature is quite nice so I began to write a little notification icon that shows me the elogs on the fly. at first I used trigger scripts. But after I digged into dbus I thought it is a better way to go. So I wrote a dbus elog plugin and use it to send elog messages to an elog dbus server(note it’s written in ruby for now). Now I can have a client (the notification icon) react on incoming elogs.
Well less talking more screenshots:

Elog Notification & Icon

Elog Notification & Icon

The Elog Viewer

The Elog Viewer

I don’t plan on putting the icon up until I have an idea about features and interface design.

Also maybe it’s possible to make a plugin or something for portato. Best would be if you could make portato intall packages or sync up when you pipe something to it like

portato install x11-libs/pango

or

portato sync

Well let’s see what this turns into (if anything).