You are not logged in.
I'm trying to execute a script which runs as ~/.left in the terminal. it runs xrandr commands and works perfectly after fluxbox has started. so i figure it needs to run after fluxbox in the startup script, so i looked at the wiki and found the format for starting an app after fluxbox:
fluxbox &
fbpid=$
sleep 4
{
# Applications you want to run after fluxbox has started
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
# ipager &
# gkrellm2 &
exec ~/.left &
} &
i've tried ~/.left, ~/.left &, exec ~/.left, and the above (also substituted /home/elias/ for ~ just for fun). the number after sleep is the time after fluxbox has started until it runs the commands. i've tried 4 so I would have plenty of time to see if anything happened.
ideas? answers? Thanks in advance
Last edited by pw_f100_220 (2010-01-10 19:52:22)
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
did u make your ~/.left executable?
Offline
I run like this:
exec ck-launch-session fluxbox &
fbpid=$!
sleep 1
{
# Applications you want to run after fluxbox has started
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
# ipager &
# gkrellm2 &
xcompmgr -CcfF -I-.015 -O-.03 -D6 -t-1 -l-3 -r4.2 -o.5 &
} &
wait $fbpid
Offline
FIGURED IT OUT
I stuck "exec xterm &" in .fluxbox/startup, and it didn't run. that should have worked, so I figured the file wasn't even involved in the startup process. so i did some diggin:
I use startx which invokes .xinitrc which ran exec fluxbox which DOES NOT read .fluxbox/startup. now .xinitrc reads "exec startfluxbox"
AKA .fluxbox/startup wasn't being read at all! Now it is! And it's beautiful! I've learned to do more exploring into what runs/is run by what.
Thanks for the responses!
Last edited by pw_f100_220 (2010-01-10 19:54:26)
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline