Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Lets say I open vlc or gimp on startup, but those commands don't return until the program closes. Does it just let a bash interpreter run indefinitely until they close or does it run and immediately kill the process unless I nohup or something? What's the appropriate way to startup these applications?

share|improve this question
3  
Append an & to the program call in the shell script, and look into your desktop environment's preferred way to launch applications on login. –  Daniel Beck May 24 '12 at 17:19
add comment

1 Answer

The .profile is read when bash starts. Starting another program from the shell does nothing to the .profile file.

Have a look at this: Difference between .bashrc and .bash_profile

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.