I've written a very simple shell script called script1.sh in whonix:#!/bin/bashecho here is an exampleIt is located in /home/user/test. Afterwards I've opened konsole and typed:cd /home/user/testchmod +x /home/user/script1.shto make sure it is executable. But if I right-mouse-button click it >open with >konsole, it opens the console but does not execute.Whereas if I, in konsole, type:/home/user/test/script1.shit does.What do I have to do/change/add in the shell script to make sure it runs as soon as it is opened?
How to ensure an executable script runs upon double clicking it?
shell;debian