Quick setup own distcc farm

When I migrated to Gentoo, I have realised how easy can be compiling from the sources. We have faster computers, couple of cores in one processor. Seems to compiling everything from scratch shouldn’t be difficult. But how we can speed up this process. If you poses some unused PCs, laptops and you could use them for the moment, you can create computer farm for the tool called distccd. Ok but you can say there is a Windows or no system. It doesn’t matter. If there is a network adapter and computer is bootable from pendrive/cdrom, that’s everything what you need. The knowledge about clouds, matrix or clustering is unnecessary. I will try to explain how to easy create own distcc-livecd image.

Distcc

As we can read on official website, distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. Distcc should always generate the same results as a local build, is simple to install and use, and is usually faster than a local compile. Configuration is also written well on that website and better in the Gentoo context we may find on Gentoo Distcc Documentation

Calculate Linux

Calculate linux is one of the distributions created on top of Gentoo. We can use portage and the same tools. This distro can be downloaded in few different versions:

Continue reading

Transparent conky background in KDE-4.5

You install new KDE-4.5 and conky’s background seems to be different then you real wallpaper? You lost transparency effect.Everything what you need to know and do is using cmd program feh which should be able to redraw your current wallpaper for conky.

The best idea is write script like this one:

feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --bytes=+11`"

After execute it conky should automatically update background for right one. Unfortunately you need to run is every time when you change wallpaper.

Continue reading