1

How to override the Gnome 3 SSH handler?

view story
linux-howto

http://unix.stackexchange.com – I would like to be able to click on SSH links that look like ssh://user@servername and have a gnome-terminal open that runs SSH inside of it. After reading up on the XDG stuff I did the following: I created a shell script in $HOME/bin/ssh-terminal with the following: #!/bin/sh dest=${1#ssh://} gnome-terminal -e "ssh $dest" & This works from the command line. I created $HOME/.local/share/applications/ssh-terminal.desktop with: [Desktop Entry] Type=Application Name=SSH Terminal Exec=ssh-terminal %u Icon=utilities-terminal StartupNotify=false MimeType=x-scheme-handler/ssh; I ran upda (HowTos)