Updating PulseAudio to Nightly Build

Warning — This did not work, and I ended up going to Fedora instead!  So, don’t try this at home!

I just tried to record a tape by hooking the headphone jack of my stereo to the microphone jack on my laptop. I used Audacity to try to record the tape, and it would have worked if it wasn’t for a bug with Ubuntu/PulseAudio. My laptop would only record from the built-in microphone. It acted as if the external mic jack wasn’t even there. I tried to adjust settings in the audio settings and the alsa mixer. Nothing seemed to fix it.

So, I decided to try to update Pulse. This is risky, but hey, it wouldn’t work anyway. Why not make things worse!

First, I checked my current version.

skp@pecan:~$ pulseaudio --version
pulseaudio 0.9.22-24-g67d18

Then, I tried to install the “PulseAudio daily builds” PPA. Here’s the command:

skp@pecan:~$ sudo add-repository ppa:ubuntu-audio-dev/pulse-testing
[sudo] password for skp:
sudo: add-repository: command not found
skp@pecan:~$ sudo add-apt-repository ppa:ubuntu-audio-dev/pulse-testing
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 4E9F485BF943EF0EABA10B5BD225991A72B194E5
gpg: requesting key 72B194E5 from hkp server keyserver.ubuntu.com
gpg: key 72B194E5: public key "Launchpad Ubuntu Audio Dev team PPA" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Next, I opened update manager:

skp@pecan:~$ sudo update-manager
[sudo] password for skp:

Now, I realized too late, that I hadn’t done an update yet, but I found I had a few pending updates that I didn’t know about. So, I installed those first before worrying about the pulse updates.

Then, I clicked the “Check” button and I saw all of the pulseaudio updates. So, I installed once again.

Now, the pulseaudio version is very weird!

skp@pecan:~$ pulseaudio --version
pulseaudio 0.98-201107121852

Update: I just tried my mic out in Fedora 15. Audacity records correctly from the external mic when it is plugged in and the built-in mic when the external is not. Many other things in Fedora don’t work, but sound works well!

NetFlix on Chromebooks — Almost here?

Netflix has caught my interest here recently. We were on vacation, and a relative wanted to use my laptop with his Netflix account. I was forced to reboot into Windows to make it work.

Here recently, I have heard some buzz about how that may change. Netflix appears to be pushing to move from Silverlight to HTML5. The big deal is that Silverlight will never work on Linux at least with respect to the DRM required by NetFlix. HTML5 is already built into Chrome already on Linux.

The latest update I have heard is that a plugin exists right now on some of the Chromebooks, but it doesn’t seem active, yet. So, it’s not here yet, but it seems close.

You can read my sources here:

The cool part about Google’s technology is that even if you don’t use it, it sends ripples through the industry. I think that is the case here. I don’t think Chromebooks will meet my needs as a developer any time soon, but the technology they are bringing to my laptop is very nice.

Software to Try: Cloudsn

I had an issue earlier this week where I become engrossed in my task at hand and did not check my email for about 45 minutes.  Well, someone promised me in a meeting in 15 minutes, and I didn’t see the email until 30 minutes after the meeting.

So, I began searching for a notification tool that would pop up my emails.  For some reason, the HTML 5 pop ups that GMail offers aren’t consistent enough.  Here comes Cloudsn to the rescue.

Here’s my story implementing Cloudsn:

Read More

NetFlix on Linux? Thank you Chrome?

Okay, it hasn’t happened yet, but this article sounds promising.  I think the Chrome OS has put its first mark of influence on the world.  From what I read, there is a push to get Netflix working ChromeOS.  As a by product, it should allow it to work on Ubuntu or any Linux running the Chrome browser.

OMG!Ubuntu! Netflix Chrome plugin will bring on-demand video to Linux

The Chrome Source: Netflix Plug-in for Chrome and Chrome OS is on the Way

From Netflix:

HTML5 and Video Streaming

Update: I see people asking, but still nothing to report: Google Groups: Chrome OS Netflix Plugin release date

DriConf, Can you fix me?

This post is an attempt to fix at least the second of the issues on my previous post:

Ubuntu Screen Woes

I noticed that one of the comments suggested using DriConf to fix the problem.  Here is the comment:

I have tried installing driconf and turned synchronization with vertical refresh off completely. I havn’t seen this issue since.

Does anyone have similar experiences?

And, here is what I tried:

Read More

Ubuntu Screen Woes

I have been noticing several problems with my graphics driver or screen in Ubuntu 11.04 Natty Narwhal.  Here’s to hoping someone can add some comments that help.

Dual Screen Problems

At work, I have a second monitor for my laptop.  If I plug the monitor in before I turn on the computer, everything works fine.  I can even unplug the monitor, run to lunch, and plug it back in.  Now, Ubuntu recognizes the monitor plugging and automatically switches between single screen and dual screen.

The problem is when I plug the monitor in after I have booted, it doesn’t work.  The second screen displays like normal.  The bar displays on the top, but the desktop area of the screen is black.  I can drag a window to the other screen, but I can’t see the window.  I can see the mouse though.  It’s not life threatening but very annoying and weird.

Lock Up Issues

I have turned my power settings to not put my computer to sleep when I close the lid.  I just have it blank the screen.  That way I can close it to move to another desk or room without having to wait for it to suspend.

A couple of times, I noticed that the screen quits responding.  I can move the mouse, and the computer seems fine, but nothing responds.  I can’t click on any of the windows, nothings seems to respond to the keyboard, and the indicators by the clock don’t work.

I have finally noticed that it seems to be when I leave the lid closed for a period of time.  Reading the bug post, I think it is after 10 minutes.  So, I can close it to move between rooms but not to drive to work.

Again, just annoying.

Here are two bug reports that seem related:

Bug #728101:  [gm45] Closing laptop lid causes screen to freeze

Bug #762918: Natty Screensaver freezes system after some period of inactivity

Great Link: Desktop Interface Vote

If you haven’t already, go vote on your Desktop Interface —

Pourquoi pas !!: Unity or not Unity ?

At the time of this writing, Unity was winning by a narrow margin.  Here are the results so far, but go vote, and check out the changes:

Desktop Interface Survey

In my opinion, I like the ideas behind Unity.  I am young, and I like new ideas and new features.  As has been said many times, Unity is a bold move on Canonical’s part.  Probably without that risk, that survey wouldn’t have %48 for Unity users, and we wouldn’t have all the feedback from those users who have tried to make it work.  The big thing to watch is whether or not Ubuntu can iron out all of the issues in the next version or two.