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: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: invisible mouse & auto start program< Next Oldest | Next Newest >
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: Oct. 26 2007,22:20 QUOTE

you can have cron call a script to start qiv if it is not currently running. in /opt/crontab write something like this:
Code Sample
* * * * * * /home/dsl/autostart.sh > /dev/null &


In the file autostart.sh have something like:
Code Sample
#!/bin/bash
PROCESS=`pgrep qiv`
if [ "$?" -ne "0" ]; then
 qiv -o black -m -s -r -d 2 /path/to/images/* &
fi


The crontab setup will run the script every minute. For more info on cron see the man page or do a search on cron.

Though if you are getting a GDK error then qiv probably won't run. It may require gtk2 if you don't already have it.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 27 2007,01:34 QUOTE

You might consider using a different image viewer if qiv needs some extra libs. The gqview.uci extension doesn't require anything extra, and it has a built-in slideshow feature. The image quality is slightly lower than the more recent Gtk2 versions of gqview, but it is MUCH lighter and faster.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
6 replies since Oct. 26 2007,05:24 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: invisible mouse & auto start program

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