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

Re: [Sheflug] Program starting



On Monday 21 May 2001 15:47, you wrote:
> Hi,
>
> This was my first idea but I've no experience of writing scripts and, no
> matter what I tried, I couldn't get it to work. 

try making a text file (copy paste in kedit if you want) as follows

#!/bin/bash
x2vnc -display brass:0 -east -passwd pawsswd file -resurface tin:0

save the file and then edit the permisions to allow execution by user

you can test it by typing

./filename

you can then use this as the target for a desktop icon. if you want to hide 
the script, put it in your home directory and referance it as

/home/ian/filename  (replace ian with your home directory name)

________________________________________________________

i've just been messing about with app links and found that entering the 
comand line arguments directly into the 'execute' line of the config screen 
does exactly what you want. i tried 'rxvt -bg red' and it worked fine. i 
haven't tried the app your using (don't have it), so if it won't accept it, 
the script route seems like your only option!
-- 
Thanks,
        Ross
               ross.h [at] ntlworld.com
____________________________________________________________________________
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.