Search the web with Google

Android install

Android installation weblog

Enter your email address:

Jeroen´s weblog

Ubuntu install

Ubuntu installation weblog

Wednesday, December 29, 2010

Compiz settings

Select compiz


magic lamp

Open and minimize animation: 300 ms

type=Normal | Dialog | ModalDialog | Utility | Unknown)

Close animation: 300 ms

((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver)

Monday, December 27, 2010

Off topic Win7 issue

Windows 7 trial verlengen naar 120 dagen
Bij het installeren van Windows 7 kan een licentie code ingevoerd worden, als
dit niet gedaan wordt en de installatie wordt voort gezet dan zal de 30 dagen
trial ingaan. Om te kunnen zien hoeveel dagen je nog over hebt van de trial
kan als volgt gezien worden; Klik op het Windows logo links onder in het
scherm (ook wel start genoemd) vervolgens klik je met de rechtermuisknop
op Computer en selecteer je Eigenschappen. Onder in het venster beneden
Windows Activatie zie je de aantal dagen dat de trial versie van Windows 7 nog
mee gaat.
Wanneer de trial versie van Windows 7 dicht bij de nul dagen komt dan kan je
de methode toepassen die gebruikt kan worden om de trial te verlengen naar
120 dagen dit doe je door de volgende stappen te volgen:
Stap 1.
Klik op het Windows logo links onder in het scherm, klik op Alle
programma`s, klik daarna op Bureau-accessoires en start vervolgens
Opdrachtprompt als Administrator en voer je Administrator wachtwoord in.
Stap 2.
Typ het volgende commando in en klik vervolgens op Enter: slmgr -rearm
Vergeet niet de spatie in het commando.
Stap 3.
Start Windows 7 opnieuw op.
Nu Windows 7 opnieuw opgestart is zal het gereset worden en is het weer
mogelijk om Windows 7 30 dagen te gebruiken, dit kan je weer nachecken door
naar de Eigenschappen te gaan.
Je kan deze truc maximaal 3 keer toepassen. Als je dit elke keer doet nadat de
30 dagen trial bijna zijn verlopen kan je in totaal 120 dagen gebruik maken
van de trial versie van Windows 7 zonder een licentie code in te hoeven voeren.
Na deze 120 dagen kan je dan alsnog een licentie aanschaffen van Windows 7.
Deze methode is 100% legaal en mag dus gewoon uitgevoerd worden.

In het artikel bij Windows Secrets wordt ook uitgelegd hoe een willekeurige versie van Windows 7 is te installeren door een bestandje met de naam 'ei.cfg' te verwijderen. Het eenvoudigst gaat dit door een gedownload .iso-bestand van Windows 7 te ontdoen van dit configuratiebestandje en de resulterende image te branden op een dvd. Het ei.cfg-bestand mag ook hernoemd worden. Bij installatie van Windows 7 wordt dan de keuze voor meerdere Windows 7-versies geboden.

Friday, December 24, 2010

Virtual Box version 4 released

Virtualbox version 4 's been released:

Note: VirtualBox has been moved from non-free to contrib with 4.0, so please adjust your repository settings.
Add one of the following lines according to your distribution to your /etc/apt/sources.list:
deb maverick contrib
deb lucid contrib
deb karmic contrib
deb jaunty contrib
deb intrepid contrib
deb hardy contrib
deb squeeze contrib
deb lenny contrib
deb etch contrib

The Oracle public key for apt-secure can be downloaded here. You can add this key with
sudo apt-key add oracle_vbox.asc

or combine downloading and registering: 
sudo wget -q -O- | sudo apt-key add -

The key fingerprint is
7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
Oracle Corporation (VirtualBox archive signing key) 

(As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded here.)

To install VirtualBox, do
sudo apt-get update
sudo apt-get install virtualbox-4.0
Replace virtualbox-4.0 by
  • virtualbox-3.2 to install VirtualBox 3.2.12
  • virtualbox-3.1 to install VirtualBox 3.1.8
  • virtualbox-3.0 to install VirtualBox 3.0.14
  • virtualbox-2.2 to install VirtualBox 2.2.4
  • virtualbox-2.1 to install VirtualBox 2.1.4
  • virtualbox-2.0 to install VirtualBox 2.0.12
  • virtualbox to install VirtualBox 1.6.6
Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:
sudo apt-get install dkms
What to do when experiencing The following signatures were invalid: BADSIG ... when refreshing the packages from the repository?
# sudo -s -H
# apt-get clean
# rm /var/lib/apt/lists/*
# rm /var/lib/apt/lists/partial/*
# apt-get clean
# apt-get update
Indicator-Virtualbox offers a quick way to launch virtual machines via the desktop panel.

Indicator virtualbox for Ubuntu
The applet, created by astrapi, sits in your panel and, on opening, lists all the virtual machines configured in Virtualbox. Selecting an entry launches the machine without the need to call the main virtualbox window.


The Indicator can be installed from astrapi‘s PPA
sudo add-apt-repository ppa:michael-astrapi/ppa
sudo apt-get update && sudo apt-get install indicator-virtualbox
To launch press ALT + F2 (or use Synapse) and type: -

Wednesday, December 22, 2010

Supertux kart version 0.7

It’s here, racing fans – a brand new version of iconic Linux game ‘SuperTuxKart’ is now available for download.

SuperTuxKart 0.7, which has been in development for over a year, sees some great new features and improvements added to the game, including: -
  • New graphics engine
  • New GUI
  • New Kart and track animations
  • New and improved tracks, karts, and items
  • Shortcut/alternative way support for tracks
  • Asian font support
  • Bugfixes


Dying to get your racing helmet on? You can nab the latest release by adding the following PPA to your software sources.
To do this using a Terminal enter: -
sudo add-apt-repository ppa:stk/dev
sudo apt-get update && sudo apt-get install supertuxkart
Launch Via Applications > Games > SuperTuxKart

Alternatively you grab the source @

Saturday, December 18, 2010

Scheduled File system checks in Ubuntu

On how to geek I found this tip:

If you’re using Ubuntu, you will notice that Ubuntu runs an FSCK session when you boot your system from time to time. If you find this scheduled check annoying, you can re-schedule the scan using the ‘tune2fs’ command. Here’s how it typically looks like:

The mount count parameter tells us that Ubuntu scans our hard disk after 33 disk mounts.

We can configure the mount count using the ‘-c’ option:
sudo tune2fs -c 35 /dev/sda1
This command will re-configure Ubuntu to scan our hard disk after 35 hard disk mounts when the system boots.
Note: change ‘/dev/sda1/’ with your own partition

Thursday, December 16, 2010

A win7 like dockbar in gnome

Instead of large buttons on your Gnome taskbar, Dockbar offers the possibility of making the program windows active with Taskbar buttons.

To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA. Important: The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.

Adding the PPA to Ubuntu 9.10 (Karmic) and later

sudo add-apt-repository ppa:dockbar-main/ppa

Your system will now fetch the PPA's key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built.
Now type:

sudo apt-get update
Now you're ready to start installing software from the PPA!

sudo apt-get-install dockbarx

Now the dockbar is installed and you could right click on your Gnome taskbar to add to your panel the Dockbarx applet.

Wednesday, December 15, 2010

Simple backup Suite in Ubuntu

 On Reviewhubs I read an article about Simple backups in Ubuntu

The Simple Backup suite, short just SBackup, is a simple backup solution for Gnome desktop. All configuration is accessable via Gnome interface. File and paths can be included and excluded directly or by regex, local and remote backups supported.
  • creates compressed and uncompressed backups
  • can split uncompressed backups into several chunks
  • support of multiple backup profiles
  • logging, email notification and status icon presenting progress and notifications
  • scheduled backups and manual backups
  • supports local destinations (e.g. harddisk) and remote destinations (e.g. NAS over FTP)
Install in Ubuntu
sudo apt-get install sbackup
you can find it at System → Administration → Simple Backup Config
To Download source and for more info visit

FSTAB explained on howto geek

The how to Geek explains what the FSTAB does in Linux:

read all about it here


What is Fstab?

Fstab is your operating system’s file system table.  If you want a review of file systems, be sure to check out our other article, HTG Explains: Which Linux File System Should You Choose? In the old days, it was the primary way that the system mounted files automatically.  Nowadays, you can plug in a USB drive of any kind and it’ll just pop up in Nautilus like it does in Windows and Mac OS, but once upon a time, you had to manually mount those disks to a specific folder using the “mount” command.  This held true for DVDs, CDs, and even floppies (remember those?).
Back then, your only alternative was the tell the computer that anytime a specific device was plugged in, it should be automatically mounted in a specific place.  This is where fstab came in, and it was awesome.  Suppose you swapped hard disks on your IDE or SCSI controller.  The computer could load the file systems in a different order, potentially messing things up.  Fstab is configured to look for specific file systems and mount them automatically in a desired way each and every time, preventing a myriad of disasters from occurring.

Your Fstab File

The fstab file is located at:
Let’s take a look at my fstab file, shall we?
fstab file
You’ll definitely see differences, but if you want to follow along with your own fstab just pop this command into a terminal:
command without sudo
You can also use gedit if you’re not comfortable with nano.
The Obvious Options
You’ll notice all of the entries begin with UUIDs.  You may remember seeing this in one of our previous articles, How to Choose a Partition Scheme for Your Linux PC, but we’ll explain it again anyway.  Each file system, during formatting, gets assigned a Universally Unique Identifier, which it takes to the grave.  Since it cannot be changed, this is the ideal way to select file systems for mounting, especially for important ones.  Let’s say your /home partition is on a second hard drive and you end up moving it to an external hard drive; fstab will still find that partition and mount it correctly, avoiding a failed boot.  If you switch to (or are stuck using) the old method of using device identifiers to select partitions (i.e. /dev/sda1), this advantage disappears because hard drives and partitions are counted by their controllers, and can thus change.
Edit: Using UUIDs in your fstab file, while convenient for most home users, does have a few big caveats.  This doesn’t work when using things like “assembled” or “network-based” devices.  If you’re more of an advanced user, or plan on using things like software RAID in the future, you’re better off not using UUIDs.
The next section of fstab, like all subsequent ones, is separated by either a space or a tab, or a combination of them.  Here, you’ll find the mount point.  As you can see, I have a root (/) mount point, a swap, and two that I manually added in for my shared network storage drives.  If you’re adding an entry to fstab, then you’ll have to manually create the mount point before you restart your computer (and the changes take effect).
Next is the section which identifies the type of file system on the partition.  Many, such as ext2/3/4, ReiserFS, jFS, etc. are natively read by Linux.  Your particular system may still need to have particular packages installed to be able to read and write to them.  The perfect examples are my NTFS partitions; you can see that I’m using the ntfs-3g driver to access them.
The Scarier Stuff
The next few sections are what usually scare away newcomers, but they’re really not so complicated.  There’s a large set of options available, but there’s a handful or so of very common ones.  Let’s take a look at them. (The default option is first, followed by alternatives, but as Linux distros can be very different, your mileage may vary.)
  • auto/noauto:  Specify whether the partition should be automatically mounted on boot.  You can block specific partitions from mounting at boot-up by using “noauto”.
  • exec/noexec:  Specifies whether the partition can execute binaries.  If you have a scratch partition that you compile on, then this would be useful, or maybe if you have /home on a separate file system.  If you’re concerned about security, change this to “noexec”.
  • ro/rw:  “ro” is read-only, and “rw” is read-write.  If you want to be able to write to a file-system as the user and not as root, you’ll need to have “rw” specified.
  • sync/async:  This one is interesting.  “sync” forces writing to occur immediately on execution of the command, which is ideal for floppies (how much of a geek are you?) and USB drives, but isn’t entirely necessary for internal hard disks.  What “async” does is allow the command to execute over an elapsed time period, perhaps when user activity dies down and the like.  Ever get a message asking to your “wait while changes are being written to the drive?”  This is usually why.
  • nouser/user:  This allows the user to have mounting and unmounting privileges.  An important note is that “user” automatically implies “noexec” so if you need to execute binaries and still mount as a user, be sure to explicitly use “exec” as an option.
These options are separated by a comma and no spaces, and can be put in any order.  If you’re not sure about the defaults, it’s okay to explicitly state your options.  Things that are mounted from temporary places (like USB) won’t follow this basic pattern unless you created entries for them (by UUID) in fstab.  It’s convenient when you want an external hard drive to always mount in a particular way, because normal thumb-drives and the like won’t be affected.
You can see that my two storage drives have user mounting privileges enabled, read-write access enabled, and auto-mounting is turned on.  I don’t compile much software, but when I do, I add the “exec” option at the end of the list.
Dumping and Fscking
The next option is a binary value (“0” for false and “1” for true) for “dumping.”  This is a pretty much out-dated method of backup for cases when the system went down.  You should leave this as “0”.
The last option is a numeric value for “passing.”  This tells the system the order in which to fsck (pronounce that however you like), or perform a file system check.  If a disk has an option of “0” it will be skipped, like my NTFS-formatted storage drives.  The root file system should always be “1” and other file systems can go afterward.  This works best for journaling file systems like ext3/4 and ReiserFS.  Older file systems like FAT16/32 and ext2 can take a while, so it’s better to turn their fscking off and do it periodically yourself.

Saturday, December 11, 2010

Managing groups in Linux

On Howtogeek I found an interesting article about managing users and groups in Ubuntu. Its found here.

for readers convenience its mirrored here:

Ubuntu Linux uses groups to help you manage users, set permissions on those users, and even monitor how much time they are spending in front of the PC. Here’s a beginner’s guide to how it all works.

Users and Groups

Ubuntu is set up for a single person to use when you installed it in your system, but if more than one person will use the computer, it is best for each person to have their own user account. This way each person can have separate settings and documents, and files can be protected from being viewed by the other users on the same PC.
Normally Linux computers have two user accounts—your own user account, and the root account, which is the super user that can access everything on the PC, make system changes, and administer other users. Ubuntu works a little differently, though—you can’t login directly as root by default, and you use the sudo command to switch to root-level access when you need to make a change.
Linux stores a list of all users in the ‘/etc/groups’ file. You can run this command in the Terminal to to view and edit the groups and users in your system:
sudo vigr /etc/groups

Creating User Accounts

To create a new user, you can head to System –> Administration -> User and Groups, and click the “Add” button to add a new user.

Give the appropriate name that identifies the other user and tick the “encrypt” checkbox to secure their home folder.

Click the “Advanced Settings” button to configure the user’s privileges.

The user management module lists Anna’s privileges under the “User Privileges” tab.

We recommend that you remove the “Administer System” privilege from other user accounts. This is to make sure that other users cannot easily change critical system settings that may jeopardize your Linux box.

Linux File and Folder Permissions

Each file in Linux has a set of user and group permissions, and you can use the ls -l command to show the full set of permissions and attributes from the terminal.
Reading from left to right, each item in the list means:
For instance, in the example showing a file named anki, the permissions are rwxr-xr-x, the file is owned by the root user and belongs to the root group, and it’s 159 bytes.
The permission flag has four components, the first character being the flag, usually used to indicate whether it’s a directory or a file—a directory would show a “d” and a regular file will show a “-“. The next 9 characters are broken up into sets of 3 characters, which indicate user, group, and everyone permissions.

In this particular example, we’ve got rwxr-xr-x, which can be broken up like this:

The permissions correspond to the following values:
  • r = read permission
  • w = write permission
  • x = execute permission
This means that for the file in question, everybody has read and execute permissions, but only root has access to write to the file.

Changing Group Ownership of Files and Directories

Anna is a 7th grader and her brother Peter just enrolled in a programming course in a university. Anna will be more interested to use the educational software for her mathematics or geography homework, compared to Peter who is more interested to use software development tools.
We can configure Anna’s and Peter’s access to these applications by assigning them to the appropriate groups from the “Manage Groups” module.

Let’s create two user groups, a K-12 student group, a University student group, and assign the appropriate user accounts to each group.

We should give the K-12 students the privileges to run the educational software.

Linux stores most of the executables under /usr/bin, for example, Linux stores Anki under /usr/bin/anki. If you’re not sure where a file is located, the which command is a convenient way to find out the location from the terminal:
which anki
Let’s assign Anki and Kig to the k12 group using the chown command, which uses the following format:
sudo chown :[group name] [files list]

You can also revoke the read and execute access from other user groups using the chmod command.
sudo chown :[group name] [files list]

This command gives the member of K12 group access to Anki and Kig. We should restrict the access rights of the university group from Anki and Kig by removing the read and execute permission from the “Other” groups. The format of the command is:
chmod [ugoa][+-=][rwxXst] fileORdirectoryName

The first command that we executed in the command line removes the read (r) and execute (x) privilege from the “Other” group. The “O” option indicates that we are modifying the access right of the Other group. The ‘-’ option means that we want to remove certain file permissions specified in the parameters that follow the ‘-’ option. The man page of chmod gives a detailed explanation of these options.
man chmod

Monitoring Computer Usage

Timekpr allows us to set give each user a limited amount of computing time, and you’ll need to add the following PPA to your software sources so that you can install Timekpr from the Ubuntu Software Center.
deb lucid main
deb-src lucid main

Ubuntu Software Center is the easiest way to install Timekpr—just use the search box and it should come right up.

Timekpr allows us to limit the computer usage time by a certain time frame on each day of the month. For example, we can specify the computer time usage for 300 minutes on Sunday and 60 minutes on Monday.

Timekpr will appear on the user’s task bar and lock the desktop when the computing time of the user is up.

User and Groups is quite a big concept to cover within one article. Did we miss something important ? Feel free to share some knowledge with the other readers in the comments.

Monday, December 6, 2010

Iphone 4.2 in Ubuntu

iPhone is natively supported in Ubuntu 10.04 (lucid). All you have to do is just plug in your iphone to your ubuntu.  
Some people have reported problems after updating the iPhone to the new 4.2.

The automount doesn't work. You'll receive an error like this:
Unable to mount iPhone_ org.freedesktop.DBus.Error.NoReply DBus error: MESSAGE DID NOT RECEIVE A REPLY (TIMEOUT MESSAGE BY BUS)

This is how to fix it:
Open your terminal and copy/paste the following:

sudo add-apt-repository ppa:pmcenery/ppa
sudo apt-get update
sudo apt-get dist-upgrade
restart your system and mount your Iphone without problems.

Friday, December 3, 2010

Burg an alternative to Grub

Burg is a boot loader based on GRUB. 
It is compatible with Linux/Windows/OSX/Solaris/FreeBSD, etc. It also has a highly configurable menu system which works in both text and graphic mode.
If you use dual boot Linux, OSX Windows, that is, if you use more than one system on your machine, maybe you should try "burg" although it can bearchieved with a dedicated Grub partition too.
Burg is a new boot loader, much more stylish than the simple text-based GRUB.
Here is a screenshot: 

Install BURG in Ubuntu 10.04 or greater
sudo add-apt-repository ppa:bean123ch/burg
sudo apt-get update && sudo apt-get install burg
During the installation, it should ask you to write the new boot loader to MBR. If you skip that step, you can later use the following command to update MBR of hd0:
sudo burg-install "(hd0)"
Alternatively you can use Burg manager


Burg-manager is an intuitive interface that simplify installation and configuration of burg bootloader. Burg-manager allows to install Burg and many beautiful themes from a big gallery.

Before to install Burg manager, you need to have first buc installed or will not work for you.
Download Buc package from this link

When Buc is installed then you can download and install Burg-manager.

For Ubuntu 10.04 Lucid lynx, you can also install Burg manager by following these steps (Just copy/Past these 3 lines to your terminal):

echo "deb lucid main  non-free" | sudo tee -a /etc/apt/sources.list
sudo gpg --keyserver hkp:// --recv-keys FA088BA5  && sudo gpg --armor --export FA088BA5 | sudo apt-key add
sudo apt-get update && sudo apt-get install  burg-manager

Install the theme by clicking twice on the theme

Grub2 GUI settings

Grub Customizer is a graphical interface to configure the grub2 settings. Its focussed on the individual list order. The dynamical behavior of grub is maintained.
The goal of this project is to create a complete and intuitive graphical grub2 configuration interface. The main feature is the boot entry list configuration – to keep the dynamical configuration, this application will only edit the script order and generate proxies (script output filter), if required.

Install Grub Customizer in ubuntu
Open the terminal and run the following command
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
Once you install you can open from Applications -> System Toiols -> Grub Customize

Thursday, December 2, 2010

Transform your Ubuntu look and feel into Mac OSX, Windows 7 or the good old windows XP

These screenshots are made within Ubuntu 10.10 by using these themes. All themes are installed using a script and can be uninstalled.
When used in one system in different accounts, I noticed that these themes sometimes interfere with each other.