The Autostart functionnality doesn't work with a file name containing a space. I'm trying to automatically run a little sh script to set my keyboard map (I discovered later that I don't need Autostart to do that, simply change the keyboard layout in settings, but it permitted me to discover this little bug, so it's cool). my file name was simply the command itself : "setxkbmap fr". My keyboard map was still "us" after a relogin. I changed my script name to "setxkbmap-fr" and now it works fine. It's not a big bug, but someone might become fool with it, and "setxkbmap fr" wokrs for kde4.
This is fixed by adding "\" before the spaces in the Command field. I.e. "/~/Program files for program/program" does not work but "/~/Program\ files\ for\ program/program" works. However, this should somehow be default.
Arguments are separated by a space. Example: Command: setxkbmap fr In all other cases you have to use quotes or escape the spaces.