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

Animations

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 http://download.virtualbox.org/virtualbox/debian maverick contrib
deb http://download.virtualbox.org/virtualbox/debian lucid contrib
deb http://download.virtualbox.org/virtualbox/debian karmic contrib
deb http://download.virtualbox.org/virtualbox/debian jaunty contrib
deb http://download.virtualbox.org/virtualbox/debian intrepid contrib
deb http://download.virtualbox.org/virtualbox/debian hardy contrib
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib
deb http://download.virtualbox.org/virtualbox/debian lenny contrib
deb http://download.virtualbox.org/virtualbox/debian 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 http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -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.

Download

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: -
indicator-virtualbox
 

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

Download

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 @ sourceforge.net/projects/supertuxkart

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.

https://launchpad.net/~dockbar-main/+archive/ppa

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.
Features
  • 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 http://sourceforge.net/projects/sbackup/
sbackup_general_settings
sbackup_restore
sbackup_status

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:
/etc/fstab
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
UUIDs
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.
mountpt
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).
type
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.
options
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
dump
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”.
pass
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:
1
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 http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu 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: 
radiance

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

sora_extended

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 http://www.sourceslist.eu/repo/ubuntu lucid main  non-free" | sudo tee -a /etc/apt/sources.list
sudo gpg --keyserver hkp://pgp.mit.edu --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.

















Friday, November 26, 2010

Psychocats offers a nice Ubuntu site

The psychocats (who invents such a name for a website) website offers a nice source for interesting Ubuntu information.
(install KDE XCFE and Gnome together)

you'll find it here

some other interesting site are:

The Ubuntu Forums
Ubuntu Manual
Ubuntu Community Site
The Ubuntu Guide

Tuesday, November 23, 2010

Install the new VLC in Ubuntu

VLC 1.1.5 was released yesterday, with some small feature updates and bug fixes. There are small changes like GME and live .webm support and an integrated listing of web-shows directly in the playlist. Many bugfixes, updated translations are also part of this release.

What’s new in 1.1.5

- It has has about 1000 Web-shows listing integrated inside VLC’s playlist, provided by Channels.com
(These can be accessed by going to View > Playlist > Internet)
- Translations were updated, and new translations in Asturian, Armenian and Modern Greek were added
- New Game Music Emu (GME) support
- live .webm streams support along with updated codecs
- Miscellaneous fixes on all interfaces, demuxers and decoders modules.

Installation

To install VLC 1.1.5 in Ubuntu 10.10 Maverick Meerkat (with video acceleration – according to the PPA description), type the following commands in the terminal (ctrl+alt+T)

sudo add-apt-repository ppa:n-muench/vlc
sudo apt-get update
sudo apt-get install vlc mozilla-plugin-vlc

To install in Ubuntu 10.04 Lucid Lynx enter in the terminal:
 
sudo add-apt-repository ppa:n-muench/vlc2
sudo apt-get update
sudo apt-get install vlc mozilla-plugin-vlc

Saturday, November 6, 2010

How to run MAC OS X in virtualbox

On life hacker and Tek411 I read some postings about installing Mac OSX 10.6 in virtualbox. First of all. It's illegal to install max OSX on non apple hardware. But when running windows or linux on a apple machine, you may install maxOSX in virtualbox.

For the sake of keeping the information on the net here is a copy of the text:

Here is what to do:

What you’ll need.

An AMD or Intel system that supports hardware virtualization.

The newest Virtualbox. The OSE version in the standard repositories of Ubuntu will work.
An OSX86 iso. Get it off of torrents if you don’t have one.

After you have the above mentioned files install Virtualbox. Open up Virtualbox and click on New at the top left.

At the Create New Virtual Machine window, click Next.

At this window type OSX as the name and it will automatically change the system and version.

The next window will let you choose your RAM amount.

If you can spare it crank it up as far as you can go but 1024MB should be sufficient.

This is where you’ll make your hard disk. 20GB should be enough so what it comes down to is dynamic or static. Dynamic will expand on use and Static will be a fixed 20GB no matter how much data is actually in it. Dynamic is better for not taking up your hard drive but static should give you better performance. I normally use dynamic, for OSX I used static, for I read somewhere that OSX soesn't like dynamic. Click next unless you want to change it from Dynamic or if you want to increase the disk size or file location.

This is the settings you configured. Finish. Now click settings at the top. At this window click on System at the left and uncheck Enable EFI.

Now click on the Storage button on the left. From there click on Empty under the OSX.vdi

Next click the folder with the green arrow on the right.

At this window click Add (Plus sign on 3 CD’s) at the top. Then find and add the OSX86 iso you downloaded earlier. Then highlight it and click Select at the bottom. Then click OK and start

Now this is where you’ll install your OSX in Vbox!

At this point click inside the window and hit F8. Then at the boot: _ prompt type –v so you can see what exactly went wrong if something does go wrong. All the services will run and eventually you should come to the language screen. Choose your language then click next. If you are unable to move your mouse around then hit Right-Ctrl + I. Click continue, agree the click utilities at the top and click Disk Utility.

At this screen highlight 20GB VBOX HARDDISK. Then click erase at the right and Name it what you want in the name box and then click erase at the bottom right. When the cancel erase box pops up click Erase. It shouldn’t take long. Then click Disk Utility at the top left and then Click Quit Disk Utility. Now your back at the installer. Highlight the drive that is now showing up and click continue.

The next window is important. Click customize at the bottom left.

For AMD Users check,

Any Updates included at the top.
Drop down Kernels and choose Legacy kernel.
AMD option below System support.

For Intel Users,

Any Updates included at the top.
Drop down bootloaders and check the newest chameleon.
Drop down Kernels and choose Legacy kernel.
Then click Next done and Install. To speed up the process you can click Skip when the disc check pops up.

Wait for it to finish installing…

As soon as it says installation finished and starts counting down to restart press the Right-Ctrl and then click on Devices at the top and hit CD/DVD Devices and click Unmount CD/DVD Device. Then click Machine and Reset then click reset at the prompt. Next you’ll see the Chameleon loader and then OSX will begin to boot.

After it boots you will see the setup screens for OSX!

You’re good to go. The only hiccup I’ve found is that it can only be virtualized with one core. It could be the OSX disc I was using or it might not be. And I have yet to find the right kext that will allow audio to work and the resolution is limited also (SEE UPDATE). But other than that you’ll have a fully functioning OSX virtualized!

Resolution: Open Finder and go to the OSX drive on the left. Open the folder called Extras. Right Click on the file com.Apple.Boot.plist and open it with texteditor. Under the first key abd string combination insert these. Be sure to remove the spaces first except the one between Graphics Mode. (these spaces are necessary for publication on blogger.)

< key > Graphics Mode< /key >
< string > 1280×1024x32 < /string >

Select Save AS at the top and save it to the desktop but first uncheck the check under Unicode and then save it as com.apple.boot.plist. After that drag'n'drop it into the extras folder and overwrite and enter your password. Voila

Sound: Go Here Virtualbox Mac Driver or use this direct LINK and install the software. Some additional information about sound issues is found here and here.

System Updates: Dont Install the Updates

If you want updates you'll have to install another iso distribution with the updates on it. If you install the updates directly from apple it messes with the custom kexts and chameleon. Just a forewarning.

And for those of you getting boot issues try choosing a different version of Chameleon or a different kernel. Sometimes that seems to help. And If your getting one of the USB errors then try disabling USB in the VirtualBox settings and see if that helps.

Monday, October 25, 2010

Mount networkshares in FSTAB

I read a tutorial on this site: Ubuntu
It is about mounting networkshares permanently is FSTAB.

For me, on a Ubuntu Lucid Lynx or Maverick Meercat machine it was only necessary to add one line is FSTAB: (make sure it is ONE line). 

//192.168.2.1/fnd  /media/networkdrive  cifs  username=yourname,password=yourpassword,dmask=777,fmask=777  0  0

This line makes the share read/write for all users. Make sure that /media/networkdrive does excist. (gksu nautilus in a terminal and create a new folder in /media with this very name)

All the files needed were already available. It too works on my laptop with a WIFI connection when the WIFI is available for all users.

The tutorial gives extra information about security, but that's only needed when other people have acces to your fstab file, since they can read the password to your share in it. Use the credential file if security might be an issue though!

A manual of rsync can be found here.

Sunday, October 24, 2010

“IBM office suite Lotus Symphony 3 released”


On OMG Ubuntu I read this interesting article:
The latest version of IBM's OpenOffice.org based office suite 'Lotus Symphony' has been released.
Lotus Symphony 3 boasts many new and enhanced features; benefits from the OpenOffice 3 codebase and introduces new sidebars for .
Utilizing the Eclipse framework Lotus Symphony offers a different user experience to that of traditional office suites.

IBM Lotus Symphony in Ubuntu 10.10
Lotus: The LD
IBM Lotus Symphony is a free multi-platform suite of office applications consisting of:
  • IBM Lotus Symphony Documents – a word processor
  • IBM Lotus Symphony Spreadsheets – a spreadsheet program
  • IBM Lotus Symphony Presentations – a presentation program
The suite also has integration with IBM's Lotus Notes product.
Files compatability
Being based on OpenOffice 3 Symphony supports most formats you can chuck at it including OpenDocument, Microsoft Office and OpenOffice and Office Open XML file formats.

Download

Lotus Symponhy is free 'registerware' requiring you to enter your e-mail address and other info before being granted access to the download section.
The 32bit only .DEB installer, whilst named as being for 'Hardy 8.10′, will install on later versions of Ubuntu. I installed it on Ubuntu 10.10 where it works without issue.


Annoyingly IBM don’t provide a native installer for 64bit users so, typically, a bit of hacking is needed to to get it up-and-running without issue.
Thankfully very awesome reader  Dylan has packaged up a 64bit .deb especially for you – no fuss, no hassle. Thanks Dylan!

If you don´t use .deb ´s made by others for security reasons, 64bit users need a bit of hacking to get the suite to run.

Installing Lotus Symphony 3 in Ubuntu 64bit

The following guide is thanks to Mark Greaves over on the Linux.org.uk forums.
1. Download the 32bit .deb installer linked above and save it to your home folder.
2. Open a terminal and issue the following command to install needed dependencies:
sudo apt-get update && sudo apt-get install libstdc++6 ia32-libs ia32-sun-java6-bin
3. Now download the following package, saving it to your home folder: -
http://mirrors.kernel.org/ubuntu/pool/main/libx/libxkbfile/libxkbfile1_1.0.4-1_i386.deb
Now to open the libxkbfile package. We'll use Ubuntu's default archive extracter 'file-roller'.
4. In the terminal issue (as root)
sudo file-roller ./libxkbfile1_1.0.4-1_i386.deb
Open the 'data.tar.gz' file in the window that opens followed by "." folder then "usr", then the "lib" folder.
Select the following two files:
  • libxkbfile.so.1
  • libxkbfile.so. 1.0.2
Click "Extract" choosing the output path as '/usr/lib32′.
5. Now force install the Lotus Symphony 3 package: -
sudo dpkg –force-architecture -i symphony_3.0-1hardy1_i386.deb

Thanx to OMG Ubuntu


Friday, October 15, 2010

Install Skype in Ubuntu 10.10

How to install Skype in Ubuntu

Add repository to Sources.list


$ sudo gedit   /etc/apt/sources.list


Uncomment the following



deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner
 
Save the file and exit gedit. Now in a terminal:
 
$ sudo apt-get update 
 
$ sudo apt-get install skype

Echofon for Firefox

In Ubuntu, Echofon for firefox stopped working a while ago. There is no support anymore. That's a pity, allthough there are some other nice proggies in Ubuntu to use for your tweets.


But, when you really 'd like to tweet from within firefox, use version 1.9.6.3  and install it via one of these links:

echofon 1.9.6.3



All versions

From version 1.9.7.2 Echofon for Firefox works again in Linux! That is very good news! Theere is no need to install any older version anymore!

The Perfect Desktop - Ubuntu 10.10 (Maverick Meerkat)

This tutorial is the textversion of the original found here:  link


This tutorial shows how you can set up an Ubuntu 10.10 (Maverick Meerkat) desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge.
I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

1 Preliminary Note

To fully replace a Windows desktop, I want the Ubuntu desktop to have the following software installed:

Graphics:

  • The GIMP - free software replacement for Adobe Photoshop
  • F-Spot - full-featured personal photo management application for the GNOME desktop
  • Google Picasa - application for organizing and editing digital photos

Internet:

  • Firefox
  • Opera
  • Flash Player 10
  • FileZilla - multithreaded FTP client
  • Thunderbird - email and news client
  • Evolution - combines e-mail, calendar, address book, and task list management functions
  • aMule - P2P file sharing application
  • Transmission BitTorrent Client - Bittorrent client
  • Vuze - Java Bittorrent client
  • Empathy IM Client - multi-platform instant messaging client
  • Skype
  • Google Earth
  • Xchat IRC - IRC client

Office:

  • OpenOffice Writer - replacement for Microsoft Word
  • OpenOffice Calc - replacement for Microsoft Excel
  • Adobe Reader
  • GnuCash - double-entry book-keeping personal finance system, similar to Quicken
  • Scribus - open source desktop publishing (DTP) application

Sound & Video:

  • Amarok - audio player
  • Audacity - free, open source, cross platform digital audio editor
  • Banshee - audio player, can encode/decode various formats and synchronize music with Apple iPods
  • MPlayer - media player (video/audio), supports WMA
  • Rhythmbox Music Player - audio player, similar to Apple's iTunes, with support for iPods
  • gtkPod - software similar to Apple's iTunes, supports iPod, iPod nano, iPod shuffle, iPod photo, and iPod mini
  • XMMS - audio player similar to Winamp
  • dvd::rip - full featured DVD copy program
  • Kino - free digital video editor
  • Sound Juicer CD Extractor - CD ripping tool, supports various audio codecs
  • VLC Media Player - media player (video/audio)
  • RealPlayer - media player (available for i386 systems only)
  • Totem - media player (video/audio)
  • Xine - media player, supports various formats; can play DVDs
  • Brasero - CD/DVD burning program
  • K3B - CD/DVD burning program
  • Multimedia Codecs

Programming:

  • KompoZer - WYSIWYG HTML editor, similar to Macromedia Dreamweaver, but not as feature-rich (yet)
  • Bluefish - text editor, suitable for many programming and markup languages
  • Quanta Plus - web development environment, including a WYSIWYG editor

Other:

  • VirtualBox OSE - lets you run your old Windows desktop as a virtual machine under your Linux desktop, so you don't have to entirely abandon Windows
  • TrueType fonts
  • Java
  • Read-/Write support for NTFS partitions
Lots of our desired applications are available in the Ubuntu repositories, and some of these applications have been contributed by the Ubuntu community.

As you might have noticed, a few applications are redundant, for example there are two CD/DVD burning applications in my list (Brasero, K3B). If you know which one you like best, you obviously don't need to install the other applications, however if you like choice, then of course you can install both. The same goes for music players like Amarok, Banshee, Rhythmbox, XMMS or browsers (Firefox, Opera).
I will use the username falko in this tutorial. Please replace it with your own username.

2 Installing The Base System

The installation of the base system is easy as 1-2-3 because the Ubuntu installer doesn't offer a lot of options to choose from, so you cannot go wrong.
Download the Ubuntu 10.10 desktop edition iso image from http://www.ubuntu.com/desktop/get-ubuntu/download, burn it onto a CD, and boot your computer from it:

Select your language and click on the Install Ubuntu button to start the installation:

On the next screen you see a few requirements for the Ubuntu 10.10 installation (the system should have at least 2.6GB available drive space, should be plugged into a power source (to make sure that the system doesn't shut down during installation because of an empty battery), and should be connected to the Internet). Please check the Download updates while installing and Install this third-party software (this will install the software necessary to process Flash, MP3, and other media files) checkboxes and click on Forward:

Now we come to the partitioning of our hard disk. Usually Erase and use the entire disk is a good choice, unless you need custom partitions and know what you're doing. Erase and use the entire disk will create one big / partition for us:

Select the hard drive that you want to use for the Ubuntu installation:

Then choose your time zone:

Change the keyboard layout, if necessary:

Type in your real name, your desired username along with a password, and click on Forward:

Afterwards, Ubuntu is being installed. This can take a few minutes, so be patient:

After the installation, you will be asked to reboot the system. Click on Restart Now:

Your new Ubuntu system starts. Log into the desktop with the username and password you provided during the installation:


This is how your new desktop looks:


Now the base system is ready to be used.

Now it's time to check for updates and install them. You can start the Update Manager by going to System > Administration > Update Manager:

The Update Manager tells you which updates are available (you can click on the Check button to refresh the list). Click on Install Updates to install them:

Type in your password:

The updates are being downloaded and installed (this can take a few minutes):

When the update is complete, click on Close (if a new kernel was amongst the updates, a system restart is required to make the changes effective. If this is necessary, you will see a Restart Now button. Click on that button to restart the system.).



The system is now up-to-date.

4 Flash Player And Java

If you have checked the Install this third-party software checkbox during installation, the Flash Player and Java should already be installed on the system.
To check this, open Firefox and type about:plugins in the address bar. Firefox will then list all installed plugins, and it should list the Flash Player (version 10.1 r85)...

... and the IcedTea (Java) plugins among them:


5 Inventory Of What We Have So Far

Now let's browse all menus to see which of our needed applications are already installed:

You should find the following situation ([x] marks an application that is already installed, whereas [ ] is an application that is missing):
Graphics:
[ ] The GIMP
[ ] F-Spot
[ ] Picasa

Internet:
[x] Firefox
[ ] Opera
[x] Flash Player
[ ] FileZilla
[ ] Thunderbird
[x] Evolution
[ ] aMule
[x] Transmission BitTorrent Client
[ ] Vuze
[x] Empathy IM Client
[ ] Skype
[ ] Google Earth
[ ] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[ ] Adobe Reader
[ ] GnuCash
[ ] Scribus

Sound & Video:
[ ] Amarok
[ ] Audacity
[ ] Banshee
[ ] MPlayer
[x] Rhythmbox Music Player
[ ] gtkPod
[ ] XMMS
[ ] dvd::rip
[ ] Kino
[ ] Sound Juicer CD Extractor
[ ] VLC Media Player
[ ] RealPlayer
[x] Totem
[ ] Xine
[x] Brasero
[ ] K3B
[ ] Multimedia-Codecs

Programming:
[ ] KompoZer
[ ] Bluefish
[ ] Quanta Plus

Other:
[ ] VirtualBox
[ ] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions

So some applications are already on the system. NTFS read-/write support is enabled by default on Ubuntu 10.10.

6 Configure Additional Repositories

Some packages like the Adobe Reader are not available in the standard Ubuntu repositories. The easiest way to make such packages available to your system is to add the Medibuntu repository.
First we open a terminal (Applications > Accessories > Terminal):

First off, we edit /etc/apt/sources.list...
sudo gedit /etc/apt/sources.list
... and enable the maverick partner and Ubuntu Extras repositories (if they are not already enabled):
[...]
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
[...]
Then save the file.
To enable the Medibuntu repository, please do the following:
Import the repository:
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
Import the gpg-key and update your package-list:
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Then run
sudo update-apt-xapian-index
to make Synaptic display packages from third-party repositories.

7 Install Additional Software

To install additional applications, open the Synaptic Package Manager (System > Administration > Synaptic Package Manager):

Type in your password:

In the Synaptic Package Manager, we can install additional software. You can use the Quick search field to find packages. To select a package for installation, click on the checkbox in front of it and select Mark for Installation from the menu that comes up:


Click here to find out more!
If a package has a dependency that needs to be satisfied, a window will pop up. Accept the dependencies by clicking on Mark:

Select the following packages for installation (* is a wildcard; e.g. gstreamer* means all packages that start with gstreamer):
  • amarok
  • f-spot
  • gimp
  • flashplugin-installer (necessary only if you didn't check the Install this third-party software checkbox during installation)
  • amule
  • audacity
  • vuze
  • banshee
  • bluefish
  • dvdrip
  • filezilla
  • ttf-mscorefonts-installer
  • gnucash
  • gstreamer* (necessary only if you didn't check the Install this third-party software checkbox during installation)
  • gtkpod
  • k3b
  • kino
  • mplayer
  • smplayer
  • quanta
  • kompozer
  • scribus
  • vlc*
  • mozilla-plugin-vlc
  • xchat-gnome
  • xmms2*
  • sound-juicer
  • acroread
  • non-free-codecs
  • ubuntu-restricted-extras
  • libdvdcss2
  • xine-ui
  • xine-plugin
  • thunderbird
  • virtualbox-ose
  • skype
After you've selected the desired packages, click on the Apply button:

Confirm your selection by clicking on Apply:

The packages are now being downloaded from the repositories and installed. This can take a few minutes, so please be patient:


You might have to answer a few questions:

After all packages have been installed, click on Close:


8 TrueType Fonts

To check if the TrueType fonts have been installed correctly, open a word processor like OpenOffice. You should now find your new Windows fonts there:


9 Inventory (II)

Now let's check again what we have so far by browsing the menus again:

Our inventory should now look like this:
Graphics:
[x] The GIMP
[x] F-Spot
[ ] Picasa

Internet:
[x] Firefox
[ ] Opera
[x] Flash Player
[x] FileZilla
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Transmission BitTorrent Client
[x] Vuze
[x] Empathy IM Client
[x] Skype
[ ] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[ ] RealPlayer
[x] Totem
[x] Xine
[x] Brasero
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] KompoZer
[x] Bluefish
[x] Quanta Plus

Other:
[x] VirtualBox
[x] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions


Open a browser and go to http://www.opera.com/browser/download/; select Ubuntu as the distribution and then default package and click on the Download Opera button:

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

A Ubuntu Software Center window comes up. Click on the Install button to install Opera:

Type in your password:

Opera is now being installed. Afterwards, you can close the Ubuntu Software Center window:


11 Google Picasa

Go to http://picasa.google.com/linux/download.html#picasa30 and select the right .deb package for your architecture (i386 or amd64):

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

12 RealPlayer (For i386 Systems Only)

(RealPlayer is available for i386 systems only. If you are on an x86_64 system, please skip this chapter.)
Open Firefox and go to http://www.real.com/realplayer/linux. Click on the Download DEB Installer link:

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

13 Google Earth

At the time of this writing, the was no Google Earth .deb package available from the Ubuntu/Medibuntu repositories as it was the case for previous Ubuntu versions, but we can simply install the Google Earth package for Ubuntu 10.04 LTS (Lucid Lynx) from the Medibuntu repositories - it works on 10.10 as well. Go to http://packages.medibuntu.org/lucid/googleearth.html and select the right package for your architecture (i386 or amd64). A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

14 Inventory (III)

We have now all wanted applications installed:
Graphics:
[x] The GIMP
[x] F-Spot
[x] Picasa

Internet:
[x] Firefox
[x] Opera
[x] Flash Player
[x] FileZilla
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Transmission BitTorrent Client
[x] Vuze
[x] Empathy IM Client
[x] Skype
[x] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[x] RealPlayer
[x] Totem
[x] Xine
[x] Brasero
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] KompoZer
[x] Bluefish
[x] Quanta Plus

Other:
[x] VirtualBox
[x] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions

Easy Blue-ray playback in Ubuntu










Watch Blu-Ray discs in Ubuntu – with next-to-no effort required – thanks to a new script by Scott Duensing.

Other methods for play-back of Blu-Ray discs in Ubuntu do exist – we've even covered some before – but as the Ubuntu wiki page on restricted and DRM-laden formats notes: they can be a little on the 'cumbersome' side.

Scott decided to make his – and thusly your – life easier by creating a small script that 'glues' together one of the less-demanding Linux blu-ray playback technologies with the familiarity of VLC.

"After playing with MakeMKV and VLC for awhile, I put together a little script that glues the two together.

"It's free, I did it for myself, and I thought I'd share it."

The result allows for easy playback of a large number of Blu-Ray movies in Linux.

The script

Scott's 'script', apart from requiring Blu-Ray hardware and media to be useful, requires the pre-installation of two pieces of software:

MakeMKV describes itself as a 'one-click solution' for the playback of patent-encumbered formats. It works by using a decryption key to decode encrypted discs and transcoding the data (video, chapters, extras, etc) to the free MKV format

The application is 'shareware' and costs around £50 but it does comes with a 30 day free trial during which time all features – including Blu-ray decryption and processing – are free and fully functional to use making it worth a perfect punt for finding out if it is the salve to painless playback.

Download

The script, links to download MakeMKV and information on how to run it can be found @ jaegertech.net/software/cross-platform-blu-ray-playback