setup mac and linux graphics configs