I wanted to make a script which ran automatically on login so I put it into the file ~/bash.profile, but it didn't run. When I put it in bashrc, it ran on opening a terminal.
What I was doing in the script was accessing a file in the pictures folder.
I just added ./script.sh in ~/.bash_profile. How to make it run on login?
I'm using Unity on Ubuntu 11.10.

