Archive for the ‘gnu linux’ Category

 

the one thing bing.com is useful for : backgrounds

May 14th, 2011

714 wonderful backgrounds! Yes, in my personal opinion, bing.com is only useful in supplying fresh backgrounds, which are breath taking. These breath taking set of wallpapers, when set to change randomly on your desktop, makes the look and feel more exquisite. Download the file(see below). The script and the images are inside the tar file. [...]

Read full article | No Comments »

[howto] grsecurity + NOUVEAU + Compiz + Seg Fault

May 11th, 2011

Assuming that you have a grsec + PaX enabled kernel, you would realise that the nvidia-drivers are a bad choice. Quite a few applications will fail(the ones that use libGLcore.so). Use the nouveau driver for your card, as it’s pretty much stable and works with good 3D acceleration. To get compiz working NOUVEAU under hardened [...]

Read full article | 1 Comment »

creating unique environments – chroot snapshots – using aufs2

May 5th, 2011

What if you decided that you wanted to experiment and test within a chroot(ed) environment? And then something went wrong and you had to start all over again from scratch? Big headache, too much pain, especially with RPM based distributions. Well don’t do that then, here’s an interesting approach. Use aufs2, a stackable filesystem. An [...]

Read full article | 3 Comments »

bootstrap CentOS from Gentoo (or any linux distribution)

May 2nd, 2011

To bootstrap CentOS in Gentoo, I did the following. It basically installs the essential CentOS components into the specified directory, and from there on, chroot into that directory and perform tests, etc. First off, you’ll need to unmask a few packages(replace ~amd64 with ~x86 if your on the x86 architecture), and enable the flag sqlite [...]

Read full article | 5 Comments »

/usr/local/bin/waitpid

April 26th, 2011

A quick script to wait for a certain pid, then once that quits, execute a command. You may ask, why not just do command1 && command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I’ve brewed a quick script for this purpose. File: /usr/local/bin/waitpid #!/bin/sh # [...]

Read full article | 11 Comments »