Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Create a direct command icon in Gnome



On 2009-09-10 01:30 +0900 (Thu), Dave M G wrote:

> I want to create an icon on my desktop that when clicked, runs the
> following command:
> 
> ssh -X computerB@example.com

Have you tried just cd'ing to your Desktop folder and doing the following?

    cat > "Go There"
    #!/bin/sh -e
    ssh -X computerB@example.com
    ^D
    chmod +x "Go There"

(The "^D" is, of course, holding down the "Ctrl" key and pressing "D".)

cjs
-- 
Curt Sampson       <cjs@example.com>        +81 90 7737 2974
           Functional programming in all senses of the word:
                   http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links