×÷ÕߣºÃ«Ï£Ôö¡¡2005Äê09ÔÂ13ÈÕ 21:55 À´Ô´:ÈüµÏ¼¼ÊõÌìµØ-¿ª·ÅϵͳÊÀ½ç
ÀûÓÃһЩ±ã½ÝµÄСÈí¼þ°Ñ×Ô¼ºµÄÊýÂëÏàƬ×ö³ÉѤÀöà²ÊµÄÆÁ±££¬·ÅÔÚ×Ô¼ºµÄµçÄÔÉϸÃÊǶàôã«ÒâµÄÒ»¼þÊ°¡£¡ËäÈ»LinuxÏÂÖÆ×÷ÆÁÄ»±£»¤µÄÈí¼þ±È½ÏÉÙ£¬µ«ÊÇÎÒÃÇ¿ÉÒÔÀûÓÃLinux±¾ÉíµÄÌص㣬Ç×ÊÖÖÆ×÷Ò»¸öÓÐLinuxÌØÉ«µÄÆÁÄ»±£»¤³ÌÐò¡£
XScreenSaver¸ÅÊö
Ä¿Ç°£¬´ó¶àÊýµÄLinux·¢ÐаæÖУ¬X-WindowµÄÆÁÄ»±£»¤³ÌÐò¶¼ÊÇÓÉXScreenSaverÌṩµÄ¡£XScreenSaverÀàËÆÒ»¸öÈÝÆ÷£¬¿ÉÒÔÈÝÄÉÈκοÉÒÔÔÚ¸ù´°¿Ú»æͼµÄX-Window³ÌÐò£¬×÷Ϊ¾ßÌåµÄÆÁÄ»±£»¤³ÌÐò¡£ÏÖÔÚµÄXScreenSaver¾Û¼¯Á˺ܶàƯÁÁµÄÆÁ±£³ÌÐò£¬±ÈÈçÏñ¸÷ÖÖÇúÏß¡¢3D¶¯»µÈ¡£
ÀûÓÃGLSlideShowÖÆ×÷ÆÁ±£
XScreenSaverÓÐÒ»¸öGLSlideShowµÄÄ£¿é£¬×¨ÃÅÓÃÀ´¶¯Ì¬ä¯ÀÀĿ¼ÏµÄͼƬ£¬ÉèÖÃÒ²ºÜ¼òµ¥£¬Ö»ÊÇËüÐèÒªÓõ½OpenGLͼÐο⡣
GLSlideShowÉèÖÃÈçÏ£º
1.È·ÈÏ°²×°GLSlideShow ´ò¿ªXScreenSaverÅäÖùÜÀíÆ÷£¨´ÓÑ¡µ¥ÖÐÑ¡Ôñ»òÖ±½ÓÔÚ¿ØÖÆ̨ϼüÈë¡°xscreensaver-demo¡±£©£¬È·ÈÏÒÑ°²×°ÁËGLSlideShow¡£
2. ÉèÖÃͼƬËùÔÚĿ¼½øÈë¡°¸ß¼¶¡±Ñ¡ÏîÒ³£¬Ñ¡Ôñ¡°Choose Random Image¡±Ñ¡Ï²¢ÉèÖÃͼƬµÄĿ¼£¬¼ûͼ1Ëùʾ¡£
ͼ1 ÉèÖÃͼƬµÄĿ¼
ÐÂРÓÚ 2005-09-14 15:02:23·¢±í:
ÀûÓÃchbg³ÌÐò¶¯Ì¬ÖÆ×÷ÆÁ±£
XScreenSaverÊÇÒ»¸ö¿ª·ÅµÄ¿ò¼Ü£¬¾ÍÏñÒ»¸ö·þÎñÆ÷£¬ÈκÎÒ»¸ö¿ÉÒÔÔÚ¸ù´°¿ÚÏÔʾͼƬµÄ¿Í»§³ÌÐò¶¼¿ÉÒÔ±»Ëüµ÷ÓÃÒÔÔö¼ÓÆ书ÄÜ¡£chbg¾ÍÊÇÕâÑùµÄ³ÌÐò£¬Ëü¿ÉÒÔ¸ù¾ÝÌØЧËã·¨¶¯Ì¬µØµ÷Õû×ÀÃæ±³¾°Í¼Æ¬¡£
1.chbgÏÂÔؼ°°²×°
chbg¿ÉÒÔ´ÓËüµÄ¹Ù·½ÍøÕ¾http://www.idata.sk/~ondrej/chbg/download.htmlÏÂÔØ£¬ÆäÈí¼þ°üÓÐtgz¡¢rpmºÍdebÈýÖÖÐÎʽ¡£
ÀàRed Hat Linuxϵͳ°²×°£º
rpm -ivh chbg-1.5-pixbuf_2.i386.rpm
ÀàDebian Linuxϵͳ°²×°:
apt-get install chbg
tgzÔ´Âë°ü°²×°£º
tar zxf chbg-1.5.tgz
cd chbg-1.5
./configure;make
make install
2.XScreenSaverÅäÖÃ
ÔÚÓû§Ö÷Ŀ¼ÏÂ.xscreensaverÎļþµÄprogramС½ÚÖУ¬¼ÓÈëÏÂÃæÁ½ÐдúÂ룺
default-n: chbg -xscreensaver
-mode smart -interval
0.05 -effect 1 -R $HOME/lymxz/photo/
\n\
ÆäÖУ¬¡°-interval 0.05¡±Ñ¡Ïî´ú±íͼÏñ±ä»»¼ä¸ôʱ¼äΪ5Ã룻¡°-effect 1¡±Ñ¡Ïî´ú±íͼÏñ±ä»»Ê±Ëæ»úÑ¡ÔñÌØЧ£»¡°-R YOURDIRECTORY¡±´ú±íµÝ¹éµØÔØÈëYOURDIRECTORYĿ¼¼°Æä×ÓĿ¼µÄͼƬ¡£Èç¹û»¹ÐèÒªÆäËüµÄ¹¦ÄÜ£¬Çë²Î¿¼chbgµÄÊÖ²áÒ³¡£
´ò¿ªXScreenSaverÅäÖùÜÀíÆ÷£¬¾Í¿ÉÒÔ¿´µ½chbgµÄÆÁ±£±êÖ¾£¬Ñ¡ÖÐËü¾Í¿ÉÔ¤ÀÀ×Ô¼ºÖÆ×÷µÄÆÁ±£³ÌÐò¡£ÒÔºó¿ÉÒÔËæʱ´¦ÀíÕâ¸öĿ¼ÏµÄͼƬ£¬´¦ÀíµÄЧ¹û¶¼»á×Ô¶¯·´Ó³µ½ÆÁ±£ÖС£Õâ¸öÔÒòºÜ¼òµ¥£¬ÏÔʾÆÁ±£Ê±XScreenSaverÖ»ÊÇÿ´Îµ÷ÓÃchbg£¬¶¯Ì¬µØÏÔʾ¸ÃĿ¼ÏµÄͼƬ¶øÒÑ£¬ÓÈÆäÊÇchbg¿ÉÒÔÑ¡Ôñ×ÓĿ¼ÏµÄͼƬÎļþ¡£
ÀûÓÃÕâЩÓŵ㣬¾Í¿ÉÒÔ°ÑÏà¹ØµÄͼƬ·ÖÃűðÀàµØ´æ·Å£¬ËæÐÄËùÓûµØ´¦Àí¸÷¸öͼƬ£¬ÆäËüµÄ¹¤×÷ÈÃXScreenSaverºÍchbg×Ô¶¯È¥×ö¡£
×ÛºÏÉÏÃæ½éÉܵÄÁ½ÖÖ·½·¨²»ÄÑ·¢ÏÖ£¬´ÓÓ²¼þ×ÊÔ´ÏûºÄºÍÁé»îÐÔÀ´¿´£¬Ê¹ÓÃchbgµÄ·½·¨ÓкܴóµÄÓÅÊÆ¡£ËüΩһµÄȱÏݾÍÊÇ°²×°ÅäÖÃÓÐЩÂé·³£¬²»¹ý»¹ÊÇÖµµÃÒ»ÊԵġ£
ÐÂРÓÚ 2005-09-14 15:01:49·¢±í:
¡ô Time until load a new image ÔØÈëͼÏñÐèÒªµÄʱ¼ä£¬Õâ¸öʱ¼äµÄ³¤¶È»áÑÏÖØÓ°Ïì»Ãæ²¥·ÅµÄËٶȣ¬Èç¹û¼ÆËã»úÓ²¼þ×ÊÔ´ÔÊÐíµÄ»°£¬×îºÃµ÷ÖÁ×îС¡£
¡ô Always show at least this much of image ʼÖÕ±£ÁôÔÚÆÁÄ»ÉϵÄͼÏñ´óСÕâ¸öÑ¡Ïî¶Ô´óÓÚÆÁÄ»µÄͼƬºÜÓÐÓ㬲¥·Åʱ»á¸ù¾Ý¡°Pan/Zoom Duration¡±µÄÉèÖûºÂýµØµ÷ÕûͼÏñµÄ´óС¡£²»¹ý×îºÃÊÇ°ÑÕâ¸öÑ¡ÏîºÍ¡°Pan/Zoom Duration¡±µ÷ÖƵ½×îС£¬ÒÔ¼õÉÙ»ÃæµÄ¶¶¶¯¡£
¡ô Crossfade Duration ÆÁÄ»Ëø¶¨Ê±ÔØÈëµÚÒ»·ùͼƬËùÐèÒªµÄʱ¼ä¡£ËüÓÐÒ»¸ö½¥±äµÄ¹ý³Ì£¬¿ÉÒÔ¸ù¾Ý¸öÈËϲºÃÉèÖá£
5. ¸ß¼¶Ñ¡Ïî
Èç¹ûÉÏÊö²ÎÊýÉèÖû¹²»ÄÜÂú×ãÒªÇó£¬ÄÇô¿ÉÒÔµ¥»÷¡°Advanced¡±°´Å¥£¬½øÈë¸ß¼¶Ñ¡Ïî¶Ô»°¿ò£¬ÊÖ¶¯µ÷ÕûGLSlideShowµÄ²ÎÊý¡£ÀýÈ磬±ÊÕßΪÁ˼ӿìͼÏñÔØÈëËٶȣ¬¾Í°ÑdurationÑ¡Ïî´Ó10¸ÄΪ1£¬¼ûͼ4Ëùʾ¡£ÆäËüÑ¡ÏîµÄº¬Ò壬¶ÁÕß¿ÉÒԲο¼GLSlideShowÊÖ²áÒ³(ÔÚ¿ØÖÆ̨ϼüÈëmanglslideshow¼´¿É)¡£
ͼ4 ÊÖ¶¯µ÷Õû¸ß¼¶Ñ¡Ïî
ÐÂРÓÚ 2005-09-14 15:00:58·¢±í:
3. ÉèÖÃGLSlideShow
½øÈë¡°Display Modes¡±Ñ¡ÏîÒ³£¬´ÓÏÂÀÑ¡µ¥ÖÐÑ¡Ôñ¡°Ö»Ê¹ÓÃÒ»¸öÆÁÄ»±£»¤³ÌÐò¡±,²¢ÇÒ´ÓÏÂÃæ¶àÑ¡¿òÖÐÑ¡ÖÐGLSlideShow£¬¼ûͼ2Ëùʾ¡£
ͼ2 ´Ó¶àÑ¡¿òÖÐÑ¡ÖÐGLSlideShow
4. ²ÎÊý΢µ÷
µ¥»÷ͼ2ÓÒϽǡ°Setting¡±°´Å¥£¬½øÈë²ÎÊýÉèÖô°¿Ú£¬µ÷ÕûÒÔϼ¸¸ö²ÎÊý,¼ûͼ3Ëùʾ¡£
ͼ3 µ÷ÕûdurationÑ¡Ïî