How to input accented characters to an OS running in a VM?
You can simply change the keyboard layout in Ubuntu without any changes to OS X:



Then you can type like you would do on your Latin American keyboard.