Get rid of all PulseAudio problems – Use OSS

You might think, like I did: Isn’t OSS dead? Didn’t ALSA replace it ages ago?

Open Sound System - Much better!
Open Sound System - Much better!

The answer, as I learnt, was both yes and no. It did die, only to be revived later by 4Front Technologies who developed it under a commercial license for quite sometime. It went GPL only recently, although with a paid premium-support and on certain platforms only. The improvements made in it are simply amazing. I’ll leave the rest of the mystery to be covered by 4Front’s own blog post. It’s a nice read :)

The following guide on how to shift to OSS from PulseAudio/ALSA is for Ubuntu (Jaunty Jackalope, 9.04*) users alone. A proper guide to ArchLinux’s solution might be found here.
Continue reading Get rid of all PulseAudio problems – Use OSS

Fixing MPD to work with PulseAudio

It just won’t work. You know that after messing around for over 2 hours.

Update: You can also get rid of PulseAudio completely and shift to OSSv4, a much better sound system with equivalent features, by following the guide at this link.

This guide (or something like it) is for you if your MPD’s errors.log (/var/log/mpd/errors.log) has these lines, and if you are an Ubuntu user (8.10, the Intrepid Ibex):

Jan 08 16:30 : Cannot connect to server in PulseAudio output "Pulse Device" (attempt 1): Connection refused

Officially, as per the MPD Wiki, the fix is pretty straightforward, to add the ‘mpd’ user to the pulse group. By doing the following:

sudo usermod -a -G pulse mpd
sudo usermod -a -G pulse-access mpd
sudo usermod -a -G pulse-rt mpd

Additionally change the related part of your /etc/mpd.conf to look like:

audio_output {
type "pulse"
name "My Pulse Device"

Also edit /etc/pulse/ and add the following line at its end:

load-module module-native-protocol-tcp auth-anonymous=1

This should usually fix it, but if not there’s another way. Load up paprefs and select the options that say:

Enable network access to local sound devices
Don't require authentication

Still not fixed? Well, its time to give up and get back to ALSA. Yes, the good old ALSA that respects you. To do this, change your Sound configuration (Found at System > Preferences > Sound) to look like this:

Set all to ALSA.
Set all to ALSA.

Once done, reset your /etc/mpd.conf back to reflect the following:

audio_output {
type "alsa"
driver "esd"
name "My ALSA Device"

Restart MPD after each change to /etc/mpd.conf of course.

That _must_ work. But I have no idea what else it might render useless, which I hope does not happen.

Random again – Cheese!

On Windows, when I got to use my Webcam (Once every 3 years?) I got to fish out its disc from the archives, go through the tedious “Next” button processes and then face warning about the device drivers not being signed and that it could wreck my Windows (‘sif it doesn’t auto) and then finally, the best part of Windows Installation processes, RESTART.

Ok, so instead of that I just plugged it in while running Linux and a nice popup saying a camera was detected (DETECTED, not “wanna detect and face the peril”) comes up and asks if I wish to import photos from it. My webcam is one of those Mercury junk (Kobian in some countries). Its a “3 in 1 Pencam”. Can be used as Webcam, a standalone battery sucking camera or video source.

Now to the reason of using it – Cheese. Been hearing about this application for a long time and that it was even included in many of the popular distros running GNOME got my curiosity running high. And when I finally did use it today, it was really worth it! The effects are fabulous, quick and exactly as goofy as one would desire. I loved the Warp effect personally :mrgreen:


Of course, using it is just as easy as using any other Linux application. All you got to do is plug in your cam, start Cheese and you have its amazing effects at your disposal without any hassles.

You can easily install Cheese via your Linux flavor’s repositories. I currently use Ubuntu and for that you might just click this to get it done. Happy posing! 😛

P.s. No comments on my photography unless you are talking about my screen-shot taking abilities. 😀

Tinge theme for gEdit

Announcing a nice-looking dark theme, Tinge color scheme for gEdit (Text Editor for GNOME):

Tinge (v1.0)

Tinge Logo - Curvy ain't it?

Preview (In Python):

Tinge preview - In Python!

Download Instructions:

Installation Instructions:

  1. Its very simple! Simply run your gEdit and go to Edit – Preferences – Font and Colors tab.
  2. Under the Color Scheme list, click the Add… button and select this downloaded Tinge.xml file from wherever you saved/moved it to.
  3. You’re done! Enjoy the colors as you develop! 😉

Named it Tinge just for fun and cause it really just a tinge more than the Darkmate. Also inspired by Monokai’s theme here.