I have an old Thinkpad T400 and currently running Elementary OS. Since two finger scrolling does not work out of the box I have to run a command whenever I want it to be enabled. I found the command here.
I thought it would work if I put the few lines into .profile or .bashrc. But it doesn't. So now I run it by adding it to the startup as a custom command.(System Setting -> applications -> Startup) This does work.
When I log out and back in it still works but when the laptop goes into standby and wakes up again, the two finger scrolling does not work anymore.
I want to run these few lines of script every time I log in and at boot. So far It works at boot.
How do I run this script every time I log in?