I'm trying to modify the screen resolution for my monitor in XFCE by modifying the file ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
Here is the snippet I want to modify:
<property name="VGA-1" type="string" value="ACI 24"">
<property name="Active" type="bool" value="true"/>
<property name="Resolution" type="string" value="1024x768"/>
<property name="RefreshRate" type="double" value="60.003840"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="false"/>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
I want to change the resolution to 1280x1024 with a refresh rate of 75 Hz. I'm inclined to make this change:
<property name="Resolution" type="string" value="1280x1024"/>
<property name="RefreshRate" type="double" value="75.003840"/>
I'm just curious about the new RefreshRate. I'm not sure why the current refresh rate of 60 Hz is specified as 60.003840 instead of just 60.0.
How was the decimal value for 60 Hz computed?
What should the value be for 75 Hz?
Also, is there an easier way to do this rather than modifying this file manually?