I've been having problems with my DOSBox after upgrading to Jaunty. Here's problems and the fix for one of them at least:
1. The arrow keys are not responding. (actually they are mapped to totally different keys)
For Ubuntu Jaunty the 'usescancodes' option for SDL must be disabled. To do this you edit the DOSBox config file (dosbox.conf or .dosboxrc), go to the [sdl] section and edit the line to say:
This should do the trick.
If you haven't got a dosbox.conf or .dosboxrc file in your home directory you can create it by doing the following:
- Open DOSBox
- Type 'config -writeconf dosbox.conf'
- The file dosbox.conf will be created in your home directory
- Rename the file to .dosboxrc if you want it to be hidden
2. The sound is either totally gone or stuttering.
export SDL_AUDIODRIVER=esd instead, you will also need to have the package
libsdl1.2debian-esd installed. See comments, thanks to
Alex for the solution.
I haven't found the solution to this problem yet, noone seems to have (So if you have please tell me). But one can try the following: The problem is apparently caused by the change from ALSA sound server to PulseAudio.
Download the PulseAudio plugin, libsdl1.2debian-pulseaudio using synaptic or by typing:
sudo aptitude install libsdl1.2debian-pulseaudio
You will be asked to uninstall libsdl1.2debian-alsa. alternatively you can install libsdl1.2debian-all if you want to keep the ALSA plugin.
Now you need to tell SDL (which is what DOSBox is built on) to use PulseAudio, type
export SDL_AUDIODRIVER=pulse in a console window, then start dosbox from the same window by typing
You might also be getting errors like
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
then go to the dosbox.conf file, find the MIDI section and change the settings in there to:
Hope some of this is of any help to you.