Offline Mode on Spotify Linux

Unlike other desktop version, Spotify Linux version doesn’t have Menu to toggle to offline mode (at least until this post written).

But if you use 1.0.47 or later, you should be able to toggle offline mode by pressing CTRL+SHIFT+O.
Make sure you already download all of the songs on your playlist.


fixing monitor problem on zoneminder

After installing Zoneminder, some people (including me) reported that they had a problem with monitor. A black screen, or even no picture / video at all. From logs, it’s usually said: “Can’t get shared memory id…” or “Shared memory invalid…”, something like that. Especially when we’re using a webcam.
After googling, i found some solutions for this. First, increase the shared memory, and second, edit file.

1. Increase shared memory maximum

Open the file “/etc/sysctl.conf”, and paste this 2 line at the bottom of the file.

# Increase the maximum shared memory
kernel.shmmax = 167772160

save, and restart your machine.
If still no luck, continue to the next step:

2. Edit

We need to edit zoneminder source to point the video driver.
Open file ” /usr/bin/” (the location on some machine, might be different)
and add this code, right before the “my @daemons =….” (about line 64).

$ENV{LD_PRELOAD} = ‘/usr/lib/libv4l/’;


*UPDATE!* added by ldp

Also work:
$ENV{LD_PRELOAD} = ‘/usr/lib/libv4l/’;

check your /usr/lib/libv4l or /usr/lib64/libv4l directory for other files to preload

save, and restart your zoneminder.

it works like charm…


Create ISO Images from CD/DVD and Folder Files

With Ubuntu, you can create ISO disk Images directly from CD/DVD and folder files. Then create MD5 Checksum files.
Assumed that the CD/DVD device is located at /dev/cdrom/

Turn a CD/DVD into an .iso
$ sudo umount /dev/cdrom
$ dd if=/dev/cdrom of=file.iso bs=1024

Turn a folder into an .iso
$ mkisofs -r -o file.iso /location_of_folder/

Generate an MD5 checksum file

$ md5sum file.iso > file.iso.md5

Check MD5 checksum of file
$ md5sum -c file.iso.md5


Finally The Hardy Heron has arrived!

Yay, its arrived..! Linux Ubuntu 8.04 (Hardy Heron) free CDs. Requested it from
Kinda late, because i already downloaded and installed it since the first time released. And like always, i have to go to the Post Office, and pay Rp.7000 for the tax.

The Package:

Ubuntu Package

And the package content:

Paket Ubuntu

There’s some difference from edubuntu cd. its called “Education Edition Add-on CD”. Ubuntu Education Edition is an additional selection of free and open source software for education to be used with Ubuntu. This CD is does not offer LTSP installation directly. To get the same out-of-the-box-set-up as before, start from the Ubuntu alternate install CD, and select “Install an LTSP server” from the Modes menu.

The Ubuntu Promise

  • Ubuntu will always be free of charge, including enterprise releases and security updates
  • Ubuntu comes with full commercial support from Canonical and hundreds of companies around the world
  • Ubuntu includes the very best translations and accessibility infrastructure that the free software community has to offer
  • Ubuntu CDs contain only free software applications; we encourage you to use free and open source software, improve it and pass it on