Autolauncher for xterm/kconsole in kde?
Waldo Bastian
bastian at kde.org
Sun Oct 12 15:03:29 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 12 October 2003 13:53, liste at hgfelger.de wrote:
> Salut Peter,
> maybe I did not get you right. But why don't you use a simple bash-script
> which you place on the desktop? The line to start Konsole with the right
> title is the following:
> c="ssh root at remote-computer.org"; konsole -T "$c" -e $c
> The easiest solution would be to replace $c with `basename $1` (the first
> argument). So you could create your remote-sessions with the touch
> command, e.g.
> touch "/home/my-user/Desktop/ssh root at remote-computer.org"
> If you make a shift/loop construction, you could also drop more than one
> association on this script. Then you would want also a check, to see, if
> the script was called without parameter. Then it sould ask for the
> ssh-command... So no need to warm up your c++-compiler at all.
You can also use kdialog to prompt for the hostname:
c=$(kdialog --title 'Open SSH terminal' --inputbox 'Enter hostname:')
Cheers,
Waldo
- --
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/iV8xN4pvrENfboIRAibmAJ4tqaB1+iBUXYsenPZN36D+7VlgYACgjkJ7
7D7QQeKJCnxZhU1eJXamHUc=
=zPw1
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list