Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is the crunchbang openbox autostart script simply a bash script, thus concluding I can put anything bashy in there?? And when is the script executed (e.g. login after rc.local)?

System: Crunchbang Waldorf on Debian Wheezy net install

share|improve this question
If you are talking about this: crunchbanglinux.org/pastebin/1054, then yes. – Ketan Feb 11 '14 at 20:50
duhhh should have read the first line! ## Openbox autostart.sh Thanks @Ketan – mahatmanich Feb 11 '14 at 20:55
up vote 1 down vote accepted

Yes autostart is a shell (not necessarily bash) script that launches after you log into the GUI. You can launch programs or custom scripts or write them right in the autostart file. I would suggest writing the scripts separately and then launching them with autostart.

share|improve this answer
thanks, and yeah not necessarily bash of course, but bash is the most common shell. – mahatmanich Feb 12 '14 at 7:54

Your Answer


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.