Set clipboard depending of environment.