xsettings: rewrite inface