If you really want to use custrom refresh rates and things like that you need to look into modeline generation. At X startup X already chooses the most optimal builtin modeline for your monitor. If you want to use a different modeline you need to create one yourself using a modeline calculation tool. Look on google for more info about this.
A good modeline calculater made by nvidia is: