The following are some ways to make your DOSBox behave nicely in Ubuntu.
The package for DOSBox is dosbox.
You may want to consider using Alsa-OSS for enabling more than one program to output to the speaker. The package for that is alsa-oss.
If you would like to enable more than one program to use the speaker, all of them will need to be loaded with aoss.
Right click on any .COM file and select Open With Other Application. Select Use a custom command and enter
aoss dosbox -exit [a single blank space]
Make sure there is an extra space at the back. This will enable you to double click on any COM files to automatically load it up in DOSBox. When you exit the program, the window will automatically close as well. Now this feels much closer to Windows!
If you want to stop the window from locking your cursor, look up Dosbox.conf for how to set autolock=false. If you have games that you need to move your cursor to the edge of the screen, this can be annoying if autolock is off. You can always toggle it on or off using <CTRL>-<F10>.
To enable General MIDI / Roland MT-32 emulation, you must install & properly configure additional packages: instructions in forum post here