I have a custom .nvidia-settings-rc and usually load it on boot with nvidia-settings --load-config-only, however XFCE has been fighting me by resetting my gamma settings in certain situations.

The most common of these is when my monitor is put to sleep after 40minutes, and I come back and move mouse etc to bring it back, XFCE power manager will reset NVIDIA gamma settings and ignored my rc file, this is quite annoying as I must open terminal and issue the command manually each time.

Does anyone know a fix for this problem?