- Open Terminal, navigate to the directory of file using cd command.
For example: cd ~/Downloads. - run "chmod +x filename.sh" to make the script executable.
- run "./filename.sh" to activate the script.
If you got the following error:
"This program requires DISPLAY environment variable to be set.
Please re-run after assigning an appropriate value to DISPLAY."
Then you need to run the following command:
"export DISPLAY=:0"
No comments:
Post a Comment