Note: as of Ubuntu 13.10, hda-jack-retask is part of alsa-tools. Just install the alsa-tools-gui package from the regular archive and start "hdajackretask". (Note: if you don't have a .pulse directory, try symlinking .pulse to .config/pulse - and remove the symlink again when you have closed hda-jack-retask. Otherwise you'll get an error when clicking "Apply now".)
Note: as of Ubuntu 13.10, hda-jack-retask is part of alsa-tools. Just install the alsa-tools-gui package from the regular archive and start "hdajackretask". (Note: if you don't have a .pulse directory, try symlinking .pulse to .config/pulse - and remove the symlink again when you have closed hda-jack-retask. Otherwise you'll get an error when clicking "Apply now".)