VLC with Pulseaudio on Ubuntu 8.04

Saturday, April 26, 2008 | Labels: , | 0 comments |

With the coming of Ubuntu 8.04 (or Hardy Heron), with it comes Pulseaudio. If you have noticed, if you use VLC to play your videos, you will notice that you cannot play more than 1 video at any 1 time. The second video of your playback (while having the first one still running in the background) will not have any sound.

So, what gives?

Well, you need the Pulseaudio plugin for the VLC. To install it...

sudo apt-get install vlc-plugin-pulse


Now that the plugin is installed, you need to set the VLC audio preference to use the new plugin.

Launch VLC Media Player by going to Applications > Sound & Video > VLC Media Player.

Go to Settings > Preferences.


Under Audio, click on the Output Modules submenu, and then click on Advanced Options checkbox at the bottom of the screen.

Now, choose Pulseaudio audio output from the list box for the Audio Output Module. Click on Save.


VLC Media Player should now play nicely with Pulseaudio. This should work for both 32-bit and 64-bit versions of Ubuntu 8.04.

Ubuntu Hardy Heron 8.04 Released!

Thursday, April 24, 2008 | Labels: | 0 comments |

Today is April 24th, 2008, and the second LTS of Ubuntu has been released! I am not that excited though since I have been using it for quite some time now. There's still a few issues (I think) with Pulse Audio, but the developers are hard at work to get it fix; so no worries peeps.

Look what I found on Ubuntu.com...


I guess everyone is upgrading!

The easiest way to upgrade from Gutsy is to open up a terminal, and then (make sure your Gutsy is fully updated first yea)

sudo apt-get update && sudo apt-get upgrade
update-manager -d


... and then you are off. Do it before you go to sleep, the upgrade will surely take a while.

I am now on Skype! (Ubuntu of course)

Sunday, April 20, 2008 | Labels: , | 0 comments |


And to think that my life couldn't get any better, man I was dead wrong.

I have been looking for a way to get webcam to work; and I want it to be as painless as possible. No installation of weird drivers or running any weird scripts, I wanted things to be as smooth and as painless as possible.

I just got a tip from someone that Skype works like a charm. So I went off to Skype's website and download it. I chose the Linux version for Ubuntu 7.04+ (I am currently on Ubuntu Hardy Heron Release Candidate).

I am trying to install it on a 64-bit but the application is 32-bit, so you gotta do a --force-architecture to get it to install flawlessly. So this is exactly how I did it.

1. Browse to where you downloaded the DEB file.
2. If you are on 32-bit Ubuntu, no problem then, just double click the DEB file and Ubuntu will awesomely resolve the dependencies for you and download the necessary packages. You are done, so go have fun.
3. For 64-bit users, we need to put in a little bit of effort, just a little. Its painless. First, install these 2 dependencies.

sudo apt-get install libqt4-core libqt4-gui


4. Once that is done, do this to install.

sudo dpkg -i --force-architecture skype-debian_2.0.0.68-1_i386.deb


... or whatever your DEB filename is.

That's it! Make sure that your webcam is already connected, log in and check out the Options, go to Video Devices, and Click on the Test button, and.... TADA!

Ubuntu, I am loving it. Do add me! Please add an introduction message so that I know who you are. ID is teslarage ;)

Firefox 3.0 Beta 5 Acting Strange

Wednesday, April 16, 2008 | Labels: , , | 0 comments |

I have just finished doing some troubleshooting on my Firefox 3.0 Beta 5 on Ubuntu Hardy Heron Beta (talk about Betas, I really love to be on the bleeding edge (read: love looking for trouble by using unstable software) ). Anyway, that's the fun I get for being a geek, thank you very much.

So, there I was sitting in front of my desktop wondering what the hell is going on with my Firefox.

First thing I realize, my bookmarks are gone. That's not good. I love my bookmarks.

Second, the Google search box ain't working. You input some random words and press Enter and nothing happens. This is terrible, I love Firefox because of that search box.

I went through every single folder in ~/.mozilla and still couldn't find anything wrong. I even did a chmod 777 * and still things remained the same.

Hmm.

Okay, let's go safe mode.

firefox -safe-mode


Still nothing works!!

*&@(#^&@#%^*)&@^#%)&*#@*%@#$

Out of nowhere I simply typed in

df -h


And as expected, Ubuntu would display my current hdd space and guess what...

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 21G 21G 0M 100% /


Doh! I used up everything! I went through some stuffs and deleted some videos I downloaded off the net, did a

killall firefox


and then

firefox


and tada! My Firefox is back with its full glory; bookmarks and search engine all working again.

Now I know that Firefox needs some hdd space to run properly! :D

Lesson of the day: Get that WD 500GB SATA 16MB hard disk. Yes, go get them. Get 2 of them. Then I can join that Terabyte Club. And oh, bragging rights.

Bombardment from Facebook (FB)

Thursday, April 10, 2008 | Labels: , | 3 comments |



Ever since I announced that I won't be signing in to FB, ever, my friends have been trying to coax me into FB. How? By causing FB to send tonnes of emails regarding updates on my applications (read: stupid, brainless applications).



I don't mind, because I have my GMail filter up and all emails from Facebook are sorted out nicely in my Facebook folder. I rarely look it up anyway, but was surprised to see 100 unread emails from FB only.

Friends, you can stop now; don't worry, I am still contactable via GTalk and this blog. Yes, Michelle, this post goes out to you in particular :P

Removing those extra kernels in Ubuntu

Tuesday, April 8, 2008 | Labels: | 2 comments |

There are times when you need to remove extra kernels from your Ubuntu installation. For instance, when you are a beta tester of the upcoming Ubuntu Hardy Heron. Every time there is a kernel update, the previous kernel is kept as a fallback for you should you run into any showstopper bug while using the new kernel. If you are like me, you will end up with these bunch of kernels:

teslarage@PONSB-COE-DEV:~$ ls /boot/
abi-2.6.22-14-generic initrd.img-2.6.24-15-generic
abi-2.6.24-12-generic initrd.img-2.6.24-15-generic.bak
abi-2.6.24-15-generic memtest86+.bin
config-2.6.22-14-generic memtest86+.bin.backup
config-2.6.24-12-generic System.map-2.6.22-14-generic
config-2.6.24-15-generic System.map-2.6.24-12-generic
grub System.map-2.6.24-15-generic
initrd.img-2.6.22-14-generic vmlinuz-2.6.22-14-generic
initrd.img-2.6.22-14-generic.bak vmlinuz-2.6.24-12-generic
initrd.img-2.6.24-12-generic vmlinuz-2.6.24-15-generic
initrd.img-2.6.24-12-generic.bak


That is just too much, isn't it? So how do you delete them? I wouldn't recommend doing an 'rm' command here as that would screw up other things in Ubuntu. What you should do is:

sudo apt-get remove linux-image-2.6.22-14-generic


When you check your /boot again, you will notice that the kernel you want to remove is gone:

teslarage@PONSB-COE-DEV:~$ ls /boot
abi-2.6.24-12-generic initrd.img-2.6.24-15-generic.bak
abi-2.6.24-15-generic memtest86+.bin
config-2.6.24-12-generic memtest86+.bin.backup
config-2.6.24-15-generic System.map-2.6.24-12-generic
grub System.map-2.6.24-15-generic
initrd.img-2.6.24-12-generic vmlinuz-2.6.24-12-generic
initrd.img-2.6.24-12-generic.bak vmlinuz-2.6.24-15-generic
initrd.img-2.6.24-15-generic


So, that's how you do it, just like removing a package in Ubuntu :)

If you need to check what other kernels you have installed, do this:

dpkg --get-selections | grep linux-image-2.6.2


And that is how you manage your kernels in Ubuntu :)

Getting Projectors to Work in Ubuntu

Saturday, April 5, 2008 | Labels: | 0 comments |

Believe it or not, I suck at X configurations. I really do. I don't have the time to study more about X so I took the easy way out.

1. Connect the projector to your laptop.

2. Do this in command line.

sudo dpkg-reconfigure xserver-xorg


3. Just press Enter through every screen.

4. Restart X for the changes to take effect by pressing CTRL + ALT + BACKSPACE.

5. Log in again as you always do.

6. And finally, the projector will automagically display your Ubuntu desktop and you can show off your desktop effects to your co-workers.

Okay, I am off for a quick shower.

What I have done... and next...

Tuesday, April 1, 2008 | Labels: , | 4 comments |

This is just a small update post as to what you can expect from me in the next 1 week.

I have just upgraded my laptop from Gutsy to Hardy. Everything went smooth and everything is working as it was intended to be. Yes, a happy Ubuntu Hardy Heron user here :) Of course, I will update how I did it and what sort of problems I got into. Nothing big, really. I cannot think how simpler a Linux can be.

Next up, is the Avant Windows Manager on Hardy 32-bit. I have not tried it with 64-bit, so maybe I will do that later this week :) Anyhow, yes, you can expect an AWN post within this week hopefully. Windows user, beware! Your eyes might be popping out seeing all these flashy stuffs. I might need to hangout at Starbucks again just so that I can blog properly. Talk about time, lately I just don't have enough that. Thank you to PSP gaming.

That's it! Hopefully more time tomorrow to blog properly...