[Fixed] K3b doesn’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

Can’t locate Net/LDAP.pm

On Debian: # apt-get install libnet-ldap-perl

October 25, 2010 · 1 min · 6 words · kenno

Banshee crashes: The database disk image is malformed

Banshee just crashed on me with the following error message: <br /> [Info 20:44:59.949] Running Banshee 1.6.1: [Ubuntu 10.04 LTS (linux-gnu, x86_64) @ 2010-06-18 18:47:49 UTC]<br /> [Info 20:45:01.043] All services are started 0.949921<br /> Exception has been thrown by the target of an invocation.<br /> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Mono.Data.Sqlite.SqliteException: <strong>The database disk image is malformed</strong><br /> database disk image is malformed<br /> at Mono....

September 28, 2010 · 2 min · 223 words · kenno

Playing .ass subtitles with mplayer

$ mplayer -ass -sub subtitle.ass file.avi

August 29, 2010 · 1 min · 6 words · kenno

Amarok 2.3.0 and PulseAudio Problem

Ever since I upgraded my Ubuntu desktop from 9.04 to 10.4, I have been having problems with Amarok dropping sound randomly. For example, if Amarok is playing the music and another program requires to use sound, Amarok will become silence. One solution to restore sound in Amarok is to kill pulseaudio and restart Amarok. It works, but very annoying. Fortunately, installing libxine1-gnome and configure Amarok to use Esound (ESD) instead of PulseAudio fixed the problem....

May 17, 2010 · 1 min · 81 words · kenno

Change default editor in Debian

` update-alternatives –config editor` There are 7 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /bin/ed 2 /bin/nano 3 /usr/bin/vim.tiny 4 /usr/bin/vim.basic 5 /usr/bin/nedit 6 /usr/bin/emacs21 7 /usr/bin/xemacs21 Press enter to keep the default[*], or type selection number: 6

April 19, 2010 · 1 min · 39 words · kenno

If someone comes and tells you &#8220;I can&#8217;t login to my Linux box&#8221; what would you do?

You can do many things, but one of them has to be: check the bloody log file.

April 16, 2010 · 1 min · 17 words · kenno

Enable sudo insults

Look for line begins with Defaults, and append insults to the end. Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂 Source: Enable sudo insults for some laughs

April 15, 2010 · 1 min · 36 words · kenno

Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk From the menu, System -> Preferences -> IBus Preference IBus Preference should detects that you have run IBus daemon yet, click &#8220;Yes&#8221; to run it. You’ll be asked to edit your ....

March 14, 2010 · 1 min · 150 words · kenno

How to tell which Linux distro you&#8217;re running

Update: Thanks to Jayen, there is a better way: $ lsb_release -a<br /> No LSB modules are available.<br /> Distributor ID: Ubuntu<br /> Description: Ubuntu 9.10<br /> Release: 9.10<br /> Codename: karmic<br /> — $ cat /etc/issue<br /> Debian GNU/Linux squeeze/sid n l<br /> Or <br /> $ cat /proc/version<br /> Linux version 2.6.32-trunk-686 (Debian 2.6.32-5) (ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 06:32:16 UTC 2010<br /> Source: Which Linux Distro are you using?...

February 3, 2010 · 1 min · 79 words · kenno