Tag Archives: Ubuntu

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.

Thanks to this bug report https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/176332

Tagged , , , ,

Enable sudo insults

$ sudo visudo

Look for line begins with Defaults, and append insults to the end.

Defaults        env_reset,insults

Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. :)

Source: Enable sudo insults for some laughs

Tagged , , ,

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.

  1. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk
  2. From the menu, System -> Preferences -> IBus Preference
    IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it.
  3. You’ll be asked to edit yoru .bashrc and add the following 3 lines:

    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
  4. Click on “Input Method” tab, if you don’t see “Japanese – Anthy” listed under the Input Method list, select “Japanese -> Anthy” from the “Select an input method” drop down list, then click Add.
  5. You might want to restart X (logout and log back in)
  6. Open a text editor, and hit Ctrl + Space to toggle the Japanese input method

Reference: Japanese Input with Karmic?

Tagged , ,

Enable mp3 playback with Amarok on Ubuntu 9.10

I just installed Ubuntu 9.10 on my desktop. When I tried to play some mp3 files with Amarok 2.2.0, it didn’t make any sound though it played ogg without a problem.

Thanks to this post, mp3 play back can be enabled by installing libxine1-ffmpeg.

$ sudo apt-get install libxine1-ffmpeg

Credit: How to Play mp3 files with amarok in Ubuntu Linux 9.04

Tagged , ,

Stopping hard drive clicking noise on MSI U100

Finally, the OS X has been removed from MSI Wind U100, and completely replaced by Debian (testing).

Whenever the computer is idle, the hdd makes this weird clicking noise. To stop it, we can use hdparm to turn it off.

kenno@tora:~$ sudo hdparm -B 254 /dev/sda

/dev/sda:
setting Advanced Power Management level to 0xfe (254)
APM_level = 254
kenno@tora:~$

Source: MSI Wind – Gentoo Linux Wiki

Tagged , , , ,
Follow

Get every new post delivered to your Inbox.