Posts tagged ‘example’

[example] Compiling a custom kernel in ubuntu

Please read the tag! This is not a guide or tutorial or a howto! This is just an example to give you an idea , this is just my procedure which changes everytime with a new kernel! So do not follow this blindly!

What I did was used my Debain Sid as Host and installed ubuntu Jaunty [9.04] using virtualbox-ose. Now time for fun! 😀

Downloaded the latest 2.6.30.4 kernel from http://kernel.org

Opened a terminal and extracted the kernel .bz2 file:

$ sudo tar -xvjf ~/Desktop/linux-2.6.30.4.tar.bz2 -C /usr/src

$ cd /usr/src/linux-2.6.30.4/

Now that we are in, there’s no getting out! 😉

So I typed in

$ sudo apt-get update && sudo apt-get install build-essential fakeroot libncurses5 makedumpfile gcc && sudo apt-get build-dep linux

Now wait a while lotsa commands in a single line whooo!

Done? Mkay, so let’s continue:

$ sudo make mrproper

$ sudo make menuconfig

Choose whatever you require, I tweak a lot but you probably don’t need to, just go through each options and see what you need or don’t need.

Then for the big one [woooh! This is gonna take a while! Took me an hour or so in virtualbox 😦 ]

$ sudo make

Click to enlarge

Click to enlarge

Read more…

Advertisements

[howto] Write an Openbox Pipe Menu

Those of you are using openbox might wantto utilize your coding skills into creating somethings useful for your desktop. I’m making this guide with selected references from the official one at the OB3 wiki and also I ill share my own created pipemenu here so that it gives you an idea about how to create your own!

Pipe menus are dynamic menus, built on-the-fly from scripts. These are referred to as “Pipe menus” since the script’s output is piped back to Openbox and used for the menu. There are a number of pipe menus written by various people available through the Pipe menus page.

A pipe menu can be created by placing the following into a menu file, such as menu.xml:

<menu id="ID" label="TITLE" execute="COMMAND" />

Thereafter the pipe menu can be referenced just like any other menu.

Read more…