There are also several useful articles about OpenGL programming on this site. Most of them deal with the old-style of OpenGL programming with the fixed pipeline. While that is obsolete and outdated now, it is probably the way you should go since it is quite a bit simpler than the modern style of OpenGL programming.
Here is one very interesting sample program :
50 OpenGL Win32 Projects in One[
^] It is for windows but there fifty projects in there and one of them might be close to what you are after. At least you get a lot of code to look at. I would find a windows machine and try to run that program to see what it has if I were you.