Sessions manager not remembering settings
28 04 2008I had this amazingly infuriating problem up until a short while ago, whenever I edited the programs to boot at start time, the sessions manager (System -> Preferences -> Sessions) immediately forgot my changes, without an error box or anything. After a tip from the forums, I ran it in the terminal, which pinpointed the problem, the system couldn’t write to a folder called autostart in the folder .config.
Fair enough, so I changed permissions on this folder to be writable by all. Still no luck.
After about a month of being bloody pissed off with this arrangement, but unable to fix it, I happened across a tip that suggests deleting the folder and recreating it. So simple, but it might just work….
And it did! So if you’re having the same problem, heres how to go about fixing it.
1. Open a terminal and run the command “cd .config”
2. Now, check the permissions of the files in this folder, run “ls -l”, this lists the properties of the files within the current folder. We’re interested in the properties of the “autostart” folder.
3. Find the line corresponding to the autostart folder, it will be the top one, or very close to it, now, after the series of letters ( e.g rwrx–r–rw etc.) it should list your username as the owner of the folder. If you see ‘root’ here, this may be your problem, you can remedy it by running the following command,
“sudo chown username autostart” (Replacing ‘username’ with your username obviously).
4. Try the sessions manager again, if it doesn’t fix your problem, we’ll move onto the next step.
5. Once again navigate to the .config folder, this time we’re going to delete the folder and recreate it, so run the following command, it will do both operations at once.
“sudo rm autostart;mkdir autostart”
6. This should fix the problem, so give sessions manager a go again.
Let me know if this works for you, it drove me crazy for a while, hopefully you found this post before it does the same to you!
BTW - I’ve typed this whole post without looking at the keyboard once, my own very blunt way of teaching myself to touch type! Its a pain in the arse, but I’ll let you know if it works!
Categories : General Howtos, Gutsy Gibbon, Open Source, gutsy, hardy, linux, ubuntu, ubuntu 6.10, ubuntu 7.04, ubuntu 7.10, ubuntu 8.04, ubuntuforums



