View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Thu Jul 08, 2010 9:27 pm Post subject: running openbox and a program after it is done loading |
|
|
I need to run openbox as a minimal de and after it has done loading, I need it to run a script
I thought of doing the following:
Code: |
#!/bin/bash
/usr/bin/openbox-session
sh foo
|
will that work? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
marens Apprentice
Joined: 05 Aug 2004 Posts: 173
|
Posted: Fri Jul 09, 2010 1:21 am Post subject: |
|
|
just a reminder
Quote: | When you run the openbox command on its own, the autostart scripts will not run. They are run by openbox-session or when you log in graphically with the "Openbox" session type. |
_________________ If English was good enough for Jesus, then it's good enough for you! |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Fri Jul 09, 2010 5:05 am Post subject: |
|
|
Jaglover wrote: | ~/.config/openbox/autostart.sh
That's the place you put your stuff to be run after Openbox is up. Use sleep command to delay your foo if Openbox is not ready yet. |
question is, how much time to put in the sleep
marens wrote: | just a reminder
Quote: | When you run the openbox command on its own, the autostart scripts will not run. They are run by openbox-session or when you log in graphically with the "Openbox" session type. |
|
the content of /etc/X11/Sessions/openbox is /usr/bin/openbox-session _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|