Gnome xterm launcher

From Noah.org
Jump to: navigation, search


Use the banner script to create an XPM pixmap for the host:

banner -x -g 32x32 my host > ~/.pixmaps/myhost.xpm

Create this file, ~/.gnome2/panel2.d/default/launchers/myhost.desktop with the following:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=myhost
Name[en_US]=myhost
Exec=xterm -e ssh -Y username@myhost.example.com
Comment[en_US]=noah.org
Name=noah.org
Comment=Connect to myhost.example.com
Icon=~/.pixmaps/myhost.xpm

Reload/refresh Gnome Panel and Nautilus:

killall gnome-panel nautilus