This might work, but do you expect users to edit /etc/environment to be able to play? will steam have a easier/automatic solution?
Yeah, that would be nice of steam to make automatic. I realize that people who use linux are more advanced in scripts, but there are some people can not.
Nothing extracted yet.
As I have nVidia optimus card (nVidia gt 555m) I use bumblebee+primusrun to launch games. I tried to get optirun working in hl2.sh but I get a lot errors. That would really cool if steam includes bumblebee or primusrun support into the app.