When I try executing a *.sh file, I can run it from terminal, but not when double-clicking it form the file manager. The commands chmod +x Test.sh and
chmod -x Test.sh dont seem to work. Every time I double-click the file, it opens on my Text Editor. Here is the text in my file:
#!/bin/bash
xdg-open https://www.google.com
cd home/<username>/Desktop
mkdir Test
cd Test
touch test.txt
The distro that I use is Ubuntu 20.04.