Actually i want to create a script for autorun it on startup, so first i test how to create the script file to execute, and found it can be done and created the demo.sh file below and changed the permission to be executable.
#!/bin/bash
echo hi
i can execute it in the terminal by
bash demo.sh
and it can print the hi in the terminal.
But when i try to execute it by clicking the demo.sh at desktop, the result like the picture. double click white screen
and it is the same when i try below code, it popup the shell window but show white screen only.
qterminal -e echo hi
How can i able to just click the script and execute it, and autorun it when the computer startup, it only have 1 account and will auto login.