Enable both: two finger scrolling and edge scrolling permanently

According with this answer, you can enable both two finger scrolling and edge scrolling using the following commands in terminal:

synclient VertEdgeScroll=1
synclient VertTwoFingerScroll=1

The problem is that these commands are not persistent after a system restart. To prevent this, let's put them to run at start up.

First, make a new small bash script called scrolling with the following code inside:

#!/bin/bash

synclient VertEdgeScroll=1
synclient VertTwoFingerScroll=1

Save it in your ~/bin directory, and don't forget to make it executable using the following command in terminal:

chmod +x ~/bin/scrolling

Second, search for Startup Applications in Dash, and open it:

startup applications

Then add the script scrolling to run at startup:

startup applications