Problem was that I have entered the gsettings commands SSHed in from another machine. Now I have tried again on the machine's own screen and the switching works, but now I cannot log in any more. .xsession-errors contains
Script for cjkv started at run_im.
Script for default started at run_im.
init: gnome-settings-daemon main process (2964) terminated with status 1
init: gnome-session main process (2971) terminated with status 1
init: unity-panel-service main process (2973) terminated with status 1
Problem was that I have entered the gsettings commands SSHed in from another machine. Now I have tried again on the machine's own screen and the switching works, but now I cannot log in any more. .xsession-errors contains
Script for cjkv started at run_im. daemon main process (2964) terminated with status 1
Script for default started at run_im.
init: gnome-settings-
init: gnome-session main process (2971) terminated with status 1
init: unity-panel-service main process (2973) terminated with status 1