How to persistently export an environment variable before starting compiz
Posted
by
Dykam
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Dykam
Published on 2010-12-18T13:54:40Z
Indexed on
2011/01/03
23:58 UTC
Read the original article
Hit count: 165
A few months ago compiz suddenly stopped working. That is, it got to a refreshrate where the redrawing is more than noticeable. It took 5 seconds to redraw a chat window. Ever since I've been using metacity instead, but I've found myself missing some plugins badly.
I found the following solution:
export __GL_YIELD="NOTHING"; compiz --replace
This works fine, everything is fast again with compiz. But how to make sure this variable is always set whenever I run compiz?
I'm using standard nVidia drivers, failed to get the open source ones working.
© Ask Ubuntu or respective owner