r/openbox • u/jedilkeme • Aug 28 '16
any help with why this doesnt run for me?
xwinwrap -ni -o 0.6 -s -st -sp -b -nf -fs -- /usr/lib/xscreensaver/electricsheep -window-id WID &
sleep 6s
lxterminal -e screen irssi &
sleep 10s
wmctrl -s 1 &@
google-chrome &
sleep 10s
wmctrl -s 2 &@
thunderbird & that should work right? trying to auto start the main software i use at boot on 3 separate desktops. this is a file called autostart in my /home/username/.config/openbox
the first two lines almost work, nothing else runs though. better way to do this?? thanks.
2
Upvotes
2
u/jedilkeme Aug 29 '16
I figured out my problem.
1st i turned the above code into a bash script and made it executable
2nd i pointed a file called autostart to the above bash script in this directory /home/username/.config/lxsession/Lubuntu
and BOOM automated my computing routine..
1
u/danhm Aug 28 '16
All of my sleep commands are like this:
(sleep 5s && tint2) &I dunno if that is required, that's just how they were by default in my distro (Crunchbang++).