Refactor .xsessionrc.