Presentation to Video conversion
What you are looking for is called a Screen Capture program or Screen Cast program.  A quick Google search turned up gtk-recordMyDesktop as an option that should work for your purposes and appears to be built in to Ubuntu.  This was the site I found that explained more detail on how it is used.  I personally have no experience working with Ubuntu, let alone screen capture on it.