Cov txheej txheem:

Pi Slideshow Display: 8 Kauj Ruam (nrog Duab)
Pi Slideshow Display: 8 Kauj Ruam (nrog Duab)

Video: Pi Slideshow Display: 8 Kauj Ruam (nrog Duab)

Video: Pi Slideshow Display: 8 Kauj Ruam (nrog Duab)
Video: Только стакан этого сока ... Обратное забивание артерий и снижение высокого кровяного давления 2024, Hlis ntuj nqeg
Anonim
Pi Slideshow Zaub
Pi Slideshow Zaub

Cov Lus Qhia no qhia yuav ua li cas thiaj tsim cov swb uas yuav rub cov duab los ntawm USB txuas lossis cov ntawv teev npe ntawm Pi

Kauj ruam 1: Kauj Ruam 1: Teeb USB

Kauj ruam 1: Teeb USB
Kauj ruam 1: Teeb USB

Ua ntej txhim kho qhov program ntawm Pi uas yuav ua qhov swb, tsim cov ntawv ntawm USB rau cov duab kom khaws cia rau hauv.

Yog tias koj tsis xav siv USB, koj tuaj yeem tsim phau ntawv teev npe ntawm koj Pi khaws cov duab koj xav kom pom. Cov ntaub ntawv teev npe yuav tsum raug sau tseg rau. Nws yuav xav tau tom qab thaum tsim qhov program.

Kauj Ruam 2: Kauj Ruam 2: Txhim Kho Txoj Haujlwm

Kauj Ruam 2: Txhim Kho Txoj Haujlwm
Kauj Ruam 2: Txhim Kho Txoj Haujlwm

Qhov kev zov me nyuam uas yuav siv los ua qhov kev ua yeeb yam swb hu ua FEH. Txhawm rau nruab nws, ntaus "apt-get install feh" rau hauv lub davhlau ya nyob twg thiab khiav nws ua tus tswj hwm siv "sudo" raws li qhia hauv daim duab saum toj no.

Kauj Ruam 3: Kauj Ruam 3: Tsim Txoj Haujlwm Cov Ntaub Ntawv

Kauj Ruam 3: Tsim Txoj Haujlwm Cov Ntaub Ntawv
Kauj Ruam 3: Tsim Txoj Haujlwm Cov Ntaub Ntawv

Ntawm Pi, tsim ib qhov program siv nano ua tus kho. Muab cov ntawv tso rau hauv ib qho yooj yim mus nrhiav qhov chaw xws li pi/ home/ directory. Nco ntsoov muab ".py" kawg ntawm koj lub npe cov ntaub ntawv.

Kauj Ruam 4: Kauj Ruam 4: Txoj Cai

Kauj ruam 4: Txoj Cai
Kauj ruam 4: Txoj Cai

Tom ntej no mus rau hauv qhov program program file thiab ntxig cov cai hauv qab no qhia hauv daim duab saum toj no.

Hloov "/media/" nrog cov npe rau USB hauv qhov uas koj cov duab nyob. Yog tias koj tsis siv USB koj tuaj yeem siv phau ntawv teev npe ntawm koj Pi uas muaj cov duab koj xav tso tawm. feh -Y -x -q -D 5 -B dub -F -Z -z -r / media / feh thaum pib ntawm kab hu cov lus txib kom ua cov kab lus swb Cov tsiaj ntawv nrog " -" nyob rau pem hauv ntej yog teeb tsa rau swb yeeb yam. Cov npe ntawm cov lus txib no tau nthuav tawm hauv qab no: Z Auto Zoom-x Borderless-F Fullscreen-Y nkaum tus pointer-B duab tom qab-q nyob ntsiag to tsis muaj qhov yuam kev qhia-z Randomise-r Rov tshawb nrhiav txhua daim nplaub tshev hauv nplaub tshev-D swb qeeb hauv vib nas this

Kauj Ruam 5: Kauj Ruam 5: Ua Cov Ntaub Ntawv Ua tiav

Kauj Ruam 5: Ua Cov Ntaub Ntawv Ua tiav
Kauj Ruam 5: Ua Cov Ntaub Ntawv Ua tiav

Txhawm rau ua cov ntaub ntawv tiav, mus rau hauv lub davhlau ya nyob twg thiab ntaus cov cai hauv qab no siv "sudo". Qhov no tseem pom hauv daim duab saum toj no.

sudo chmod +x swbShow.py

Kauj Ruam 6: Kauj Ruam 6: Khiav Cov Ntaub Ntawv

Kauj Ruam 6: Khiav Cov Ntaub Ntawv
Kauj Ruam 6: Khiav Cov Ntaub Ntawv

Txhawm rau ua cov ntaub ntawv yooj yim, tsim txoj hauv kev luv rau txoj haujlwm ntawm koj lub desktop.

Ob npaug nias rau cov ntawv thiab xaiv "Ua Haujlwm" thaum cov ntawv tshwm tuaj.

Kauj Ruam 7: Kauj Ruam 7: Khiav

Kauj ruam 7: Khiav
Kauj ruam 7: Khiav

Tam sim no tus swb yuav tsum tau ua. Txhawm rau kaw qhov swb qhia, nyem ESC ntawm koj cov keyboard kom rov qab mus rau lub desktop.

Pom zoo: