Hello, I wrote a shell script to launch KeePass. It’s very simple:
cd /home/philip/bin/KeePass
mono KeePass.exe
I have two problems though.
When I click on the script on my desktop, it launches a text editor to edit it instead of running the script. Also, whenever it gets opened in a text editor, the executable bit gets unset.
If I run the script from a console, the script doesn’t return me back to the prompt until I close KeePass.
On Fri, 23 Oct 2009 01:46:01 +0000, pjdeets2 wrote:
> Hello, I wrote a shell script to launch KeePass. It’s very simple:
>
> cd /home/philip/bin/KeePass
> mono KeePass.exe
>
> I have two problems though.
>
> 1) When I click on the script on my desktop, it launches a text editor
> to edit it instead of running the script. Also, whenever it gets opened
> in a text editor, the executable bit gets unset. 2) If I run the script
> from a console, the script doesn’t return me back to the prompt until I
> close KeePass.
>
> Can you tell me how to overcome these issues?
>
> Thanks
In addition to Malcom’s suggestions, I would add the line: