Getting rid of PulseAudio

November 25, 2008

Found an excellent guide (in Swedish) to remove PulseAudio. Basically do this:

Check that your system uses Pulseaudio (it says clearly by Card and Chip) in the top left corner.

sudo rm /etc/X11/Xsession.d/70pulseaudio
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound

Then run:
And check that it is not using PulseAudio any longer.

I will report after thorough testing if it works fine.


XBMC yes, as long as you get rid of PulseAudio

November 23, 2008

As I wrote in my earlier post about PulseAudio it doesn’t work to well with XBMC Media Center.

I have now been using XBMC quite a lot for a full week and have no problems what so ever, as long as PulseAudio is closed first.

sudo killall pulseaudio

As soon as I have a little more time I will investigate how a uninstall of PulseAudio could affect the system…

Network Manager only allows one vpn connection

November 10, 2008

Darn, today I got around to installning my second vpn which gave me more trouble than I asked for. I have been running my primary connection to my office for a while and it has been working flawlessly, it’s really, really nice to be able to manage stuff like this in the network manager.

The second vpn connection, to a datacenter at work is not working as well though. First I have some kind of routing problem – when this is connected I can’t access anything outside of the vpn-route

The explanation is in routing. But I didn’t succeed in fixing it in the network manager settings. Will try again when I have more time.

default * U 0 0 0 tap0

The other thing that has pussled me is that I cannot activate both my vpn’s at the same time. First I thought it was a configuration misstake (since I have been using these two OpenVPN connections simultaneously on 8.04) but the I found this on Ubuntu Brainstorm. It seems to be a limit set in Network Manager. Bummer.

Should be easy to fix though, since it was working outside NM, hopefully someone with skillz will do that.


November 9, 2008

Is probably one of the easiest fixes to get Ubuntu a lot more useful in one single step. It adds MS Fonts, Flash-plugin, Java RE, DVD Playback and MP3 support. Just get it.

Lovely network manager

November 9, 2008

Last week I was working at a clients site and had to configure my computer to use a static IP, netmask, gateway and special DNS-servers. The client has a very closed network and no DHCP what so ever, so apart from using a static ip-address I could only use their DNS-servers.

I just love the network-manager. Dunno if this is new functionality or if it has been there all the time but it isn’t harder than to right-click on the network manager and add another network. I always use the “Auto eth0” connection, since it works at my office and at home. I was wondering for a while how this setting could conflict with my office settings.

No worries, when I got back to the office, and when I got home, it automagically used the “Auto eth0” again. But more interesting was that when I got back a couple of days later it found the tailored connection again. I’m not sure how this was done, did network manager try it since it couldn’t get and DHCP or did it recognize the network in some other way? Works flawlessly for me anyway.

The network manager is my friend keeping track of my 5 regular wirless connections, my mobile broadband, my office vpn and also my wired connections in one place – it feels so good compared to what I was used to (which involved some rather ugly shell-scripts written by myself).

Getting the Synaptics touchpad to run smoothly

November 5, 2008

is something that requires some hacks in Ubuntu 8.10, and most of the information out there seems to be for earlier versions and will not help in getting gsynaptics up and running on Intrepid. This does work, tested by yours truly.

Start “Add/Remove applications and search after Touchpad. Install it.

Then fire up a command prompt and write:

gksudo gedit /etc/hal/fdi/policy/shmconfig.fdi

and enter the following:


Save, reboot and try out touchpad under System – Preferences – Touchpad

More stuff and conf stolen from here. You really should read that page since it contains a lot more information regarding security and other possible configurations.

usb_modeswitch, network-manager and pccardctl

November 3, 2008

I think I’ve made an interesting discovery. Sometimes when I’m on the train I loose my connection. Getting it running again could prove diffucult, and, like today, even a reboot of the computer doesn’t really solve everything, since network-manager doesn’t find the 3G card even after I’ve executed usb_modeswitch.

The discovery is pccardctl, and not only that program as such, but that it shouldn’t be executed with sudo. If I do pccardctl seems to hang. So, when encountering problems that cannot be solved by “disconnect / connect” in network manager I think this is the way to go:
pccardctl eject

take out the card and insert it again.
pcardctl insert
sudo usb_modeswitch

Then connect through network-manager. I will test this furter as soon as I get a chance with a crashed connection.