It's possible to do this with gimx-config or gimx-fpsconfig. These tools are further detailed on this page.