I'm using ubuntu 15.10(unity), I want some scripts running when a session starts. I tried the following methods:
- Put those scripts in the file ~/.xsession, but it didn't work (It worked when I executed those scripts manually in gnome-terminal).
- Add those scripts to Startup Applicationsin unity, it didn't work, either. I guess it's becauseStartup Applicationsruns those scripts when OS starts, but the scripts that I want to run demands a session.
How to achieve this?
