Session startup problem in Ubuntu

I just want to write a tip about session startup programs problems. You may not believe this but it took me sometime to solve this problem, so I want to point out the solution:

Problem: You go to System->Preferences->Sessions to add a new program to the startup and the program seems to be added, but when you re-open System->Preferences->Sessions the change did not happened, thus the program is not in the session list.

Solution: There is a permission error in the .config file. Execute the following:
sudo chown -R username:usergroup /home/username/.config/

Replace username and usergroup with your username.

That's it.

No comments: