title: Bash script for opening terminal
body: <p>I have this script in my file.sh</p>
  
  <pre><code>#!/bin/bash
  gnome-terminal -e 'ssh user@server'
  </code></pre>
  
  <p>If i start it using terminal <code>./file.sh</code> it works, but when i start it using File Manager (double click on the icon) nothing happens.</p>
  
  <p>How can I make bash script which run command in terminal and open it?</p>