=== modified file 'SSH/src/SSHAction.cs' --- SSH/src/SSHAction.cs 2009-06-22 04:05:16 +0000 +++ SSH/src/SSHAction.cs 2010-08-10 20:21:26 +0000 @@ -66,11 +66,14 @@ GConf.Client client = new GConf.Client (); string exec; + string exec_arg; try { exec = client.Get ("/desktop/gnome/applications/terminal/exec") as string; + exec_arg = client.Get ("/desktop/gnome/applications/terminal/exec_arg") as string; } catch { exec = "gnome-terminal"; + exec_arg = "-e"; } string hostname; @@ -86,7 +89,7 @@ Process term = new Process (); term.StartInfo.FileName = exec; - term.StartInfo.Arguments = "-e 'ssh " + hostname + "'"; + term.StartInfo.Arguments = exec_arg + " ssh " + hostname; term.Start (); yield break; }