The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google unix.com



OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
run script through terminal sadiquep Linux 5 09-24-2008 08:44 AM
Running a script without a terminal session jjinno Shell Programming and Scripting 3 10-03-2007 02:50 AM
Script to launch terminal window? omerta SUN Solaris 5 06-30-2005 06:48 PM
Run the start script from the terminal? Newbie Time! waking_bear UNIX for Dummies Questions & Answers 4 03-04-2004 07:09 PM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-11-2009
tlarkin tlarkin is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 42
Look into launchd and making a launchd item that runs when your user account logs in, all you have to do is place the script where launchd looks in that user's home folder and it will execute all scripts upon log in.

I am not sure how to have it close the window from the shell, but an apple script maybe able to do that.
  #2 (permalink)  
Old 01-23-2009
davf davf is offline
Registered User
  
 

Join Date: Jul 2003
Location: Sydney, Australia
Posts: 6
black-eyed-dog,

One way to get the same effect without using a script is to add Terminal to your account's login items, as Ravelnze said, but specify that you want Terminal to run hidden.

Next time you log in, Terminal will start running, but no Terminal window will be visible. You even get the Terminal icon bouncing in the dock that you mentioned. When you click on the icon a window will appear.


If you are using Leopard, these are the steps -

- Log in as the user you want to change.

- Go to System Preferences. In the "System" section, select "Accounts".

- At the top of the right-hand side of the window, select "Login Items".

- Click the "+" sign near the bottom of the window to add an application.

- In the window that appears, navigate to Applications>Utilities and click on Terminal.app.

- Click the Add button.

- Terminal will appear in the list of applications. Click the check box in the "Hide" column.

Regards,
Davf
Closed Thread

Bookmarks

Tags
linux, linux commands, shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0