Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I create a script in UNIX/L 2

Status
Not open for further replies.

gt6350a

Programmer
Feb 10, 2003
68
US
How can I create a script in UNIX/Lunix that will start an application up once the OS starts (KDE, GNOME).

Thanks in advance.
 
There are several ways.

(1) You can create a script and call it from rc.local.

(2) You can create a script that gets ran in the run-levels.

(3) You can create a script that gets called when you login.

(4) You can call a script from the inittab.


Without knowing your exact needs, hard to say which one is better for you.
 
Thank you for your last response it was very helpful.

I wanted to ask you a further question...

I want my script to start up once KDE starts in such a way that the user sees a 'pop up' warning banner and has to read it and click it off/closed. In essence I want to have the same effect as placing a '.exe' file in the windows start up folder. I want this 'pop-up' banner to just open an have the effect of notifying the user before he/she begins to use the computer but after they have logged in.

Thank you very much in advance.
 
Well, I am not a KDE guy, so I can not tell you how to do it in kde. I believe, but could be mistaken, there should be a way to tell kde to launch scripts at startup.

Sorry, I can't be of more help on this.
 
Here's a thread that covers a message popping up when someone logs into CDE...

thread60-443813 this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top