compiling a new kernel: 1) the easiest way

How to compile a new kernel, the easiest way:
the easiest way to compile a new kernel consists in the use of KernelCheck python script.
This way you can upgrade your Ubuntu Gutsy 7.10 distribution to stable kernel 2.6.23.1 or even try out release candidates of 2.6.24 kernel with its advanced power saving features.
http://kcheck.sourceforge.net/
http://ubuntuforums.org/showthread.php?t=618563

Read the rest of compiling a new kernel: 1) the easiest way

how to checkout cvs svn hg repositories

to download a sources snapshot from a CVS (concurrent version system) repository:
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
(use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-dvb
where -zN indicates the compression level required; -d indicates the cvs root directory; co is the abbreviation of checkout command (which can also be used); -P prunes empty directories
to download [...]

Read the rest of how to checkout cvs svn hg repositories

how to patch a source tree with a .bz2 patch

from within upper source tree folder:
bzcat patch-nnnn.bz2 | patch -p1
obviously nothing prevents you from unbzipping the patch and patching the tree with the usual cat patch-nnnn.bz2 | patch -p1

Read the rest of how to patch a source tree with a .bz2 patch

set system default paper size

In /etc you can find configuration file papersize which simply shows which paper size is in use system wide.
Wrong paper size (i.e. letter instead of European A4) can lead to misprinted documents, especially with the system PDF printer. In particular if you find text rows at the top and at the bottom of the paper [...]

Read the rest of set system default paper size

how to debug Standby & Suspend issues in linux

https://wiki.ubuntu.com/DebuggingKernelSuspend

Read the rest of how to debug Standby & Suspend issues in linux

updatedb (slocate, locate) privacy settings

updatedb (slocate) is a powerful indexing utility to query whom you can use locate keyword command within a shell, hereafter a note about making it more sensitive to users privacy through editing /etc/updatedb.conf file and PRUNEPATHS= vairable.

Read the rest of updatedb (slocate, locate) privacy settings

mounting a samba share locally

This way you can mount a remote samba share locally.
It is useful to make some applications which do not support smb:// filepath work on remote files thinking they are actually local files.
First make sure you have installed smbfs via the package manager (or sudo apt-get install smbfs ).
Then load smbfs module
sudo modprobe smbfs
if you [...]

Read the rest of mounting a samba share locally

a bit of WINE eye-candy

Wine has notably a very ugly color skin.
Although it does indeed support windows skins, however such support is experimental and considered unstable.
However simply changing interface colors can improve the appearance dramatically, here’s how to:

Read the rest of a bit of WINE eye-candy

WINE latest repositories for x86 and x86_64

Installing latest WINE versions (notably WINE support in Ubuntu is quite lacking)
add this repository:
deb http://wine.budgetdedicated.com/apt gutsy main
Installing WINE layer on linux x86_64
add this repository:
deb http://wine.budgetdedicated.com/apt gutsy main

Read the rest of WINE latest repositories for x86 and x86_64

mounting .iso & .img files

1) make the mount point folder
e.g. sudo mkdir /media/iso
2) issue mount command
sudo mount -t iso9660 -o loop isofile.iso /media/iso
you can mount this way also .img files

Read the rest of mounting .iso & .img files