Fix: (K)ubuntu doesn’t play Audio CD

On Kubuntu 11.10, we have KsCD program installed to play audio CD. The problem I’m having is that some machines could play audio cd and some couldn’t. All machines run Kubuntu 11.10. To fix this issue, check that /dev/cdrom is a sym link to /dev/sr0 (credit [1]). In my case, machines which couldn’t play audio CD don’t have ‘/dev/cdrom’: # ls -l /dev/cd* ls: cannot access /dev/cd*: No such file or directory Let’s create one:...

July 11, 2012 · 1 min · 103 words · kenno

svc: failed to register lockdv1 RPC service (errno 97).

It started with… when I tried to start nfs-kernel-server, it just failed. # /etc/init.d/nfs-kernel-server start Exporting directories for NFS kernel daemon.... Starting NFS kernel daemon: nfsd svcgssd failed! syslogs: Nov 11 23:32:04 nasbox kernel: [ 8106.165582] nfsd: last server has exited, flushing export cache Nov 11 23:32:05 nasbox kernel: [ 8107.240419] svc: failed to register lockdv1 RPC service (errno 97). Nov 11 23:32:05 nasbox kernel: [ 8107.245528] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Nov 11 23:32:05 nasbox kernel: [ 8107....

November 11, 2011 · 2 min · 222 words · kenno

How to decompress .tar.Z

One way to extract a .tar.Z file: $ zcat file.tar.Z | tar xvf -

October 6, 2011 · 1 min · 14 words · kenno

Beautify gitk font on Debian/Ubuntu

Install tk8.5, if not yet installed: # apt-get install tk8.5 # update-alternatives --config wish Selection Alternative ----------------------------------------------- 1 /usr/bin/wish8.4 *+ 2 /usr/bin/wish-default 3 /usr/bin/wish8.5</pre> There are 3 alternatives which provide wish. Type in the number that corresponds to tk8.5 (in my case was 3) then hit enter. Change fonts in ~/.gitk to DejaVu Sans Mono. set mainfont {{DejaVu Sans Mono} 9} set textfont {{DejaVu Sans Mono} 9} set uifont {{DejaVu Sans Mono} 9 bold}

September 4, 2011 · 1 min · 74 words · kenno

How to replace default fonts in MIUI rom

MIUI (1.7.22) uses Arial as the default font. If you hate it as I do, here is how to change it. I assume you have adb working. We are going to replace only 2 fonts - Arial.ttf and Arial-Bold.ttf. First, let’s back up the old fonts just in case thing didn’t go well as we want to. (I learned this the hard way, and keen to avoid it at all cost)...

July 24, 2011 · 1 min · 142 words · kenno

PHP extension "mcrypt" must be loaded.

On Ubuntu or Debian: $ sudo apt-cache search php|egrep ^php5- $ sudo apt-get install php5-mcrypt Ref: Install php extensions on ubuntu

May 22, 2011 · 1 min · 21 words · kenno

[FIXED] bind9 is running bind9 status reports failed!

bind9 runs in a chroot environment on lenny. The service can be started as usual: # /etc/init.d/bind9 start Starting domain name service...: bind9. Let’s check bind9 status: ` /etc/init.d/bind9 status bind9 is not running failed! ` Well, the first thing I did was to check the log file, in which I found no error related to named. So I tried another way to check the status: # rndc status version: 9....

December 19, 2010 · 1 min · 195 words · kenno

What the heck: three.net.au redirecting to www.policywording.com.au

3 is my mobile carrier. It offers an online service which allows its customers to check the current usage from their phones by accessing this URL: three.net.au/my3/gethome.do. Usually it works quite well, but not today (and probably some more days to come), it gave me a HTTP ERROR 404. I thought I should just visit http://three.net.au and find out w-t-h is wrong. Unexpectedly it took me to another site — “callenden group policy wording”....

December 9, 2010 · 4 min · 644 words · kenno

Banshee freezes when opened

This is a self-note. $ banshee --disable-dbus

November 28, 2010 · 1 min · 7 words · kenno

[Fixed] K3b doesn&#8217;t burn mp3 to CD

On Ubuntu 10.10, if you get an error message as the following when trying to create audio CD from mp3: “Unable to handle the following files due to an unsupported format: You may manually convert these audio files to wave using another application supporting the audio format and then add the wave files to the K3b project.” Check if you have libk3b6-extracodecs installed, if not just; $ sudo apt-get install libk3b6-extracodecs...

November 6, 2010 · 1 min · 83 words · kenno