Output Audio to Airport Express From Unbuntu Lucid Lynx 10.04 (PulseAudio)

July 13th, 2010 Alex Posted in linux, music, ubuntu Comments Off

  1. :~$ sudo apt-get install pulse-audio-module-raop paprefs
    :~$ paprefs
    
  2. check "Make discoverable network sound devices available locally"
    check "Make discoverable Apple Airtunes sound devices available locally"
    
  3. Reboot (or restart pulseaudio)
  4. Go to Sound Preferences – Output (by clicking on the speaker in the taskbar)
  5. Select Base Sation as output
  6. Start your favorite radio station (Pandora?), mp3, etc..
AddThis Social Bookmark Button

Move The Minimize, Maximize And Close Buttons To The Right In Ubuntu 10.04 (Lucid Lynx)

May 6th, 2010 Alex Posted in linux, ubuntu Comments Off

How-to move the minimize, maximize and close buttons to the right of the window in Ubuntu 10.04 (Lucid Lynx).

  1. Press ALT-F2, type: gconf-editor and click Run
  2. Go to: apps > metacity > general and right-click on button_layout and choose “Edit Key….”
  3. Type in menu:minimize,maximize,close and click OK
  4. That’s it.
AddThis Social Bookmark Button

Playing Call Of Duty 4: Modern Warfare Under Ubuntu Linux

December 5th, 2009 Alex Posted in 3D, games, linux, ubuntu Comments Off

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wine1.2
wget http://www.kegel.com/wine/winetricks
sh winetricks vcrun2005
sh winetricks d3dx9
wine regedit
  • under HKEY_CURRENT_USER/Software/Wine, create key Direct3D if it doesn’t already exist
  • inside Direct3D create the following values:
    • string: DirectDrawRenderer value: opengl
    • string: OffscreenRenderingMode value: fbo
    • string: RenderTargetLockMode value: auto
    • string: UseGLSL value: readtex
    • string: VideoMemorySize value: (video card memory size in MB)
AddThis Social Bookmark Button

Sound Problems With Urban Terror, Pulseaudio and Ubuntu Karmic

October 2nd, 2009 Alex Posted in games, ubuntu Comments Off

I fixed it by installing libsdl1.2debian-pulseaudio (which replaces libsdl1.2debian-alsa). So it might be worth a try if you get sound problems with any other programs.

Source: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/372843

AddThis Social Bookmark Button

Ubuntu Doesn’t Save My Sound Settings …

September 24th, 2009 Alex Posted in linux, ubuntu Comments Off

For some reason, Ubuntu Karmic wasn’t saving my sound volume and settings that I set using the Sound Preferences. After attempting to run alsactl store I got:

$ alsactl store
alsactl: save_state:1530: Cannot open /var/lib/alsa/asound.state for writing: Permission denied
$ sudo alsactl store
E: core-util.c: Home directory /home/mycurrentuser not ours.

So I deciced to change “/var/lib/alsa/asound.state” ownership temporarily to the current user and then was able to successfully save my sound settings (then switched back ownership to root). I also added “alsactl restore” to /etc/rc.local to automatically reload my sound settings when I reboot.

AddThis Social Bookmark Button