View Single Post
Posts: 12 | Thanked: 1 time | Joined on Sep 2011
#98
Took me an age to work out how to have a desktop icon on my n900 to automatically open a terminal, ssh into another box, and re-connect to a screen session.

Finally cracked it, after all sorts of disappearing terminal windows and "TERM environment variable not set" errors.

I now have a file in /usr/share/applications/hildon as follows:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx 
Exec=/usr/bin/osso-xterm -e "ssh toby@192.168.0.23 -p 443 -t 'screen -dR'"
Icon=     
#X-Window-Icon=timerwidget
X-Window-Icon=     
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
 

The Following User Says Thank You to asktoby For This Useful Post: