STM32L-Discovery programming on Linux with Eclipse
There are a lot of related links in this post: click here

Not all linux specific, but I think it would be very useful reading to set up your software environment as well for understanding what you are doing when doing it.