I used a command i saw here to make my touch pad in lenovo 330 to scroll with 2 fingers and it worked exactly as i wanted but after each reset to the computer I need to retype the commend. Can you please tell me how i can make this command stay after i close my computer?
Commands can't "stay" after rebooting the computer. When you shut it down and the power gets cut off, or when you reboot and the memory is cleared, things are gone from the memory.
You can, though, either keep the system state, by hibernating and resuming, or, what I expect to be the best solution for you, run the command after each boot.
As your command is probably something for X Windows, it must be executed after starting X Windows. Here I do that by adding the command to
~/.xinitrc, but that's for
startx, I think Ubuntu by default uses a graphical login screen, so you would need to use some other
~/.xsomething file. Perhaps