Changes to work with cinnamon-session and cinnamon-settings-daemon