X and Fluxbox :: Using .xinitrc to launch programs at startup
Using the exec command will prevent everything after that command from running, so it should not be there unless gqview is the only thing you want to run.
I been testing this in qemu. I have some questions. Will you be using the desktop? Or do you just want the slide show?
cause i can get it loading just the slide show with " gqview -s -f " and the rest of the desk top will stop loading till you close the slide show. also you can resize the window using gqview options> window tab >set to remeber than adlust the main window to the size you want to start.
so try this and let me know if that's what you want->
gqview -f -s
torsmo 2>/dev/null &
xset -s off &>/dev/null &
xset -s blank &>/dev/null &
With this set up you would have to exit gqview completely than the desktop will finish loading.
Thank you mikshaw for making this clear.
Kerry i appreciate your help.
The thing is that i do not want it like that. This is my major problem because i am going to havesome other programs loading in the background when slideshow is active. So i am going to need the desktop (for troubleshooting).
I want to fully load the desktop and after that, call Gqview -s -f .
When the slideshow is active I am planning to use a program (or a script if i manage to understand how it works) to browse the cd at regural time intervals. New fotos are to be added in Gqview's photo path when found.
kerry: The ampersand is not necessary with xset, because it does not continue running after it does its quick business. In fact, running two instances of xset which are setting different values to the same parameter simultaneously may be a bad thing.
The "s blank" and "s off" parameters are incompatible. If you want to turn off screen blanking, you should not have "s blank". Simply using either "s noblank" or "s off" should be sufficient, so the only one xset command is needed.
arkroan: Your very first post should be the closest of any that has been posted. The only thing I think is missing is the ampersand (&) at the end of the gqview command. Without it the next command is not run until after gqview is closed, which is why you didn't get a background.
Also, having multiple asterisks (*) in a case command is useless, since only the first one will apply. If you look at the original, your first asterisk should instead be "jwm", and the last one is a double, which will never get used.
Next Page...
original here.