Showing posts with label compile. Show all posts
Showing posts with label compile. Show all posts

Thursday, December 10, 2009

Gnome Workspace Switcher and managing (moving) windows.

I have a dual-head setup (NVidia TwinView) where the second screen is an overhead projector. I would find it extremely useful if I could just drag windows using the Workspace Switcher between my screens. This would help a lot especially at times when the projector is blanked or switched off and I would like to move some windows to be projected when switched on/unblanked.

Beware... tadaaaaa...Since yesterday windows can be dragged not only to a different workspace (without altering their relative position) but also within the workspace. I made a modification to libwnck (the library which implements the pager and allows to manipulate windows) which implements this feature and submitted it upstream. I wonder if it is going to be committed to the next Gnome release or not... we'll see.

Anyway you you would like o use this functionality in Ubuntu 9.10 Karmic Koala, here is a link to my PPA: https://launchpad.net/~wojnicki/+archive/ppa

And if you want to compile libwnck by yourself you can find the appropriate patch at the feature request: https://bugzilla.gnome.org/show_bug.cgi?id=604207

Monday, November 2, 2009

Compiling Ubuntu 9.10 (Karmic Koala) Kernel

If you want to compile an Ubuntu linux kernel don't:
  • use make-kpg
  • use make menuconfig
To get the kernel source issue:
apt-get source linux-source

It will download a TAR archive into your working directory. Untar the archive and cd into the directory with the kernel source.

Re/Configure the kernel by issuing:

debian.master/scripts/misc/kernelconfig editconfig

It will ask you to reconfigure all kernel flavours in turn. Reconfigure the flavour you want to alter, not changing the others.

In order to build your kernel (the generic flavour) issue:

CONCURRENCY_LEVEL=2 AUTOBUILD=1 NOEXTRAS=1 skipabi=true skipmodule=true debian/rules binary-generic

After a while you should see deb packages in the parent directory.

If you want to come up with your flavour take a look at: http://mmlinux.wordpress.com/2009/07/30/how-to-compile-kernel-in-karmic/