Re: Start programs and Wharf Icon exec's

David Mihm (davemann@the-site.dyn.ml.org)
Wed, 3 Jun 1998 21:39:05 -0500 (CDT)


On Wed, 3 Jun 1998, David L. Vondrasek wrote:

> Ok Dumb question time. *sigh*
> 
> 1.) Under  /usr/home/david/GNUstep/Library/AfterStep/start/Applications/Network
> 
> I have a file called "bx" , In the file contains this:
> rxvt -bg black -fg white -fn vga -sl 500 -e su - dvo264 &
> 
> All it does it open a term window under another username on the box prompting
> me for a password, After entering the password, I'm at prompt and have to
> execute BitchX from there. Question: how do I get all this done in one click. 
> ie.. Have it open the shell,issue the password, start up the irc program with
> out me me having to do anything. (Ok,I'm lazy, and the only person on the box)

hmmm, if you are the only user, then why would you need to su?  Okay, so
you might be using another login name for the Bitch.  I can't hel;p you
here as putting your passwd in a script would be the only way I could see
how.  I don't do this, so I can't advise on it's procedure - a security
risk since you're 'connected' while using the program calling it.

> 2.) How do I do the same off the wharf ? ie. run "slrn" from a icon on the
> wharf under a folder were I have Netscape and XFMail, since they don't require
> having me to open a xterm 1st it's easy...
> David L. Vondrasek                 dlv@watertower.com

Have you looked at how Netscape is handled in the wharf?  Just copy the
line down and put in slrn where Netscape was (keeping it within the
Folder/~Folders tags, i.e.
	*Wharf uniquename path/to/pixmap.xpm Exec "-" slrn &
[assuming slrn is in your path]

HTH
___________________________________________________________________
d a v i d  @  m i h m                          reality.sys corrupt!
davemann-at-ionet-dot-net                     reboot universe(y,n)?
www.the-site.dyn.ml.org/                                ICQ:4251923
-------------------------------------------------------------------
Key fingerprint =  E4 90 15 ED E5 9F 18 8A  B0 CC FF 68 61 36 4A 6F


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html
   FAQ:   http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html

   To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com