Linux User Group of Mauritius Promoting open source software in our beautiful island

8Dec/130

Download & build Chromium OS

Posted by Ish

As it’s a tradition now on weekends I get on with some sporadic project. Since last evening I plugged my laptop for some Chromium OS adventure. I started by going through the documentation on the Chromium.org website.

I installed the required tools on my openSUSE machine to get Chromium OS source & start building.

sudo zypper in git subversion curl

Before you proceed further you will need a package of scripts called depot_tools.

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$PATH":`pwd`/depot_tools

Create a folder in which you will download the source & build it, say something like Chromium_OS.

cd Chromium_OS
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git
repo sync

Syncing could take hours. In my case it took a little more that 4 hours ( : Once synchronization is complete you can build Chromium OS for your desired architecture. Set your architecture with the --board option. Currently supported architectures are x86-generic, amd64-generic and arm-generic. For example if we shall build for the 64bit architecture, we shall do as follows :

cd Chromium_OS
cros_sdk -- ./build_packages --board=amd64-generic
cros_sdk -- ./build_image --board=amd64-generic

Now, insert a USB drive (2Gb minimum) & copy the image as follows (note: this will wipe up the drive) :

cros_sdk -- ./image_to_usb.sh --board=amd64-generic

On my end, once done, I restarted my notebook & was greeted with an initial setup dialog. It detected the wireless network card. I connected to my home wifi & configured my Google account. I was then welcomed to a sleek desktop.

Chromium-OS-desktop

I fired up Chromium browser and opened Gmail, Facebook, my blog & Chrome Web Store. Everything loaded perfectly. Fonts are smooth & speed is fine. I added an SSH extension, not bad I must say.

Chromium-OS-ssh

SSH extension by Chromium team

To get to the local console press Ctrl + Alt + F2. Log in as user chronos. Use sudo su to elevate as root and use chromeos-setdevpassd to set a user account password.

8Dec/130

Download & build Chromium OS

Posted by Ish

As it’s a tradition now on weekends I get on with some sporadic project. Since last evening I plugged my laptop for a Chromium OS adventure. I started by going through the documentation on the Chromium.org website.

I installed the required tools on my openSUSE machine to get Chromium OS source & start building.

sudo zypper in git subversion curl

Before you proceed further you will need a package of scripts called depot_tools.

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$PATH":`pwd`/depot_tools

Create a folder in which you will download the source & build it, say something like Chromium_OS.

cd Chromium_OS
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git
repo sync

Syncing could take hours. In my case it took a little more that 4 hours ( : Once synchronization is complete you can build Chromium OS for your desired architecture. Set your architecture with the --board option. Currently supported architectures are x86-generic, amd64-generic and arm-generic. For example if we shall build for the 64bit architecture, we shall do as follows :

cd Chromium_OS
cros_sdk -- ./build_packages --board=amd64-generic
cros_sdk -- ./build_image --board=amd64-generic

Now, insert a USB drive (2Gb minimum) & copy the image as follows (note: this will wipe up the drive) :

cros_sdk -- ./image_to_usb.sh --board=amd64-generic

On my end, once done, I restarted my notebook & was greeted with an initial setup dialog. It detected the wireless network card. I connected to my home wifi & configured my Google account. I was then welcomed to a sleek desktop.

Chromium-OS-desktop

I fired up Chromium browser and opened Gmail, Facebook, my blog & Chrome Web Store. Everything loaded perfectly. Fonts are smooth & speed is fine. I added an SSH extension, not bad I must say.

Chromium-OS-ssh

SSH extension by Chromium team

To get to the local console press Ctrl + Alt + F2. Log in as user chronos. Use sudo su to elevate as root and use chromeos-setdevpassd to set a user account password.

1Dec/130

Skype “no sound” fix

Posted by Ish

I installed Skype v4.2 on openSUSE 13.1 KDE 64bit. Although having PulseAudio configured, there was no sound in Skype. I checked around and found this announcement:

PulseAudio 4.0 and Skype

By Arun | Published: August 2, 2013

This is a public service announcement for packagers and users of Skype and PulseAudio 4.0.

In PulseAudio 4.0, we added some code to allow us to deal with automatic latency adjustment more gracefully, particularly for latency requests under ~80 ms. This exposed a bug in Skype that breaks audio in interesting ways (no sound, choppy sound, playback happens faster than it should).

We’ve spoken to the Skype developers about this problem and they have been investigating the problem. In the mean time, we suggest that users and packagers work around this problem in the mean time.

If you are packaging Skype for your distribution, you need to change the Exec line in your Skype .desktop file as follows:

Exec=env PULSE_LATENCY_MSEC=60 skype %U

If you are a user, and your distribution doesn’t already carry this fix (as of about a week ago, Ubuntu does, and as of ~1 hour from now, Gentoo will), you need to launch Skype from the command line as follows:

$ PULSE_LATENCY_MSEC=60 skype

If you’re not sure if you’re hit but this bug, you’re probably not. :-)

Now, instead of launching Skype from command line as instructed, it can be fixed by adding the latency value in the Skype launch file.

sudo vi /usr/share/applications/skype.desktop

Replace Exec=skype %U by Exec=env PULSE_LATENCY_MSEC=60 skype %U. Start Skype and audio should now be fixed. Make a test call to verify ( :

skype-4.2-pulseaudio-bug