Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Using .xinitrc to launch programs at startup, Handling windows through cli maybe?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 13 2006,04:49 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: June 13 2006,07:25 QUOTE

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.
Back to top
Profile PM 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: June 13 2006,07:33 QUOTE

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.
Back to top
Profile PM 
arkroan Offline





Group: Members
Posts: 10
Joined: June 2006
Posted: June 13 2006,11:51 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 13 2006,13:29 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
23 replies since June 12 2006,15:06 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Using .xinitrc to launch programs at startup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code