LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2004, 10:50 PM   #1
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
basic shell script help


hi ppl, I'm asking for some help with a shell script, I've got giftd and giFTcurs up and running and I'm looking for info on how to write a script to make giftd start running as a daemon (giftd -d) and then open up a shell window and run giFTcurs, thats where my problem lies, I can run both those two programs in a script but I need to know how to open up a shell window so the script starts giFTcurs.

Also does anyone know if you can add custom elements eg scripts into the start/main menu? I'm running SusE 9.1 Pro, thanks for any help
 
Old 10-08-2004, 11:12 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What you're saying doesn't make sense?
A shell is a shell, it doesn't have (or know
anything about) "windows".

Do you mean you need a script that opens
up another xterm?

Code:
#!/bin/bash
giftd -d
xterm -title "giFTcurs" -e giFTcurs

Cheers,
Tink
 
Old 10-08-2004, 11:32 PM   #3
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Original Poster
Rep: Reputation: 15
thanks, yea, thats what I needed, umm it doesnt look like it opened it up in a shell window, and the resolutions bigger (making the words smaller) but it's fine to use, cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
Help with basic bourne shell script rnj Programming 6 09-13-2005 08:41 PM
Basic Shell Script Help Vasquez Linux - Newbie 3 02-28-2005 07:14 PM
Basic shell script, please help colly Linux - General 4 10-05-2004 11:24 AM
basic shell script help coyote399 Linux - Newbie 6 04-14-2004 09:22 PM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration