Im trying to make a shortcut to login my ssh server:
ssh x.x.x.x
I made the following file:
ssh_home.sh
Made it executable:
sudo chmod +x ./ssh_home
Checked by right clicking properties to check if it was executable and it was..
But whatever I do, when double clicking it, it will launch gedit. I tried "Open With" but no terminal app is shown there. I searched the net but only found a way to link to the file while not integrating it in one "shortcut file"
#! /usr/bin/shat the beginning of the file (the first line)? – Misery May 23 '13 at 11:50#! /bin/bashat the start...) – Jez W May 23 '13 at 11:59ssh_home.shand/ssh_home, which are not the same files. – l0b0 May 23 '13 at 12:04#! /bin/bash shh x.x.x.x
But still no succes.. I'm using ubuntu 13.04 64bit
I'll try to make the shh_home.desktop but I rather just keep one file because I don't want to have to link to such a small file with so little code..
– michel May 23 '13 at 14:07/bin/sh, not/usr/bin/sh. (/usr/bin/shwill happen to work on systems where/binand/usr/binare the same directory; I don't think that's the case for Ubuntu>) – Keith Thompson Jul 10 '15 at 21:05