images dialog

Category: Yad GUI
Published: 15 November 2017
Written by Super User Hits: 1618

yad --images as a slide show. 

 This script allows you to create a full screen slideshow. Like below is to a video. I have since added 1 second sleep (pause) as it seem nicer than quick flash between images.


Youtube Video - YadBash Slideshow


You will also need a images.txt file in same path as set for the file variable for imageDir="..."

export sets file path global in both yad main program and child yad that displays image.

The parent yad window provides a blue background window to hide desktop.


# This is file: slideshow
# Its a Yadbash program by Bobby Cooper - http://YadBash.com

export imageDir="$HOME/yadbash/slideshow"


yad --image="$imageDir/yad-slide-bkgrnd-canvas.jpg" \
--on-top \
--undecorated \
--width=1366 \
--height=768 \
--no-buttons &

bash -c show_images
export -f show_canvas


for file in $(<$imageDir/images.txt)


yad --image="$imageDir/${file}" \
--undecorated \
--on-top \
--timeout=3 \
--width=1366 \
--height=768 \

sleep 1


killall yad
export -f show_images

bash -c show_canvas

Welcome to YadBash.com -  Here you find links to everything Yad Gui; code description; example scripts and much more.
Those of you who like writing bash scripts and use Zenity for a GUI should give YAD a try. YAD(Yet Another Dialog) is a fork of Zenity with many improvements, such as custom buttons, additional dialogs, pop-up menu in notification icon and more. -- http://webud8.org
YadBash Code Works: https://github.com/yadbash

Yad Links

Category: Yad GUI
Published: 31 October 2017
Written by Super User Hits: 2802


Yad Source -   
SouceForge: Yad Project Page



Yad Documentation & Wiki -  
Yad Tips & Tutorials -   
 Smokey01 - Yad Introduction Page http://smokey01.com/yad/
Yad Wrapper for - youtube-dl (downloader) https://forums.bunsenlabs.org/viewtopic.php?id=2075
Google Several Script Wiki & Code https://code.google.com/archive/p/yad/wikis
Example Scripts -   
 A simple script that launches a yad GUI for opening files or urls in mpv. Also has some useful arguments added that can be easily customized.  https://github.com/simoniz0r/yad-mpv
 YAD YouTube Download is a simple yad GUI for youtube-dl https://github.com/ruzzyca/YAD-ytd
YAD Multi-file Downloader https://raw.githubusercontent.com/Mermouy/yadapps/master/yad/yaget
 yadshot provides a GUI frontend for taking screenshots using maim/slop and uploads files and pastes to teknik.io https://github.com/simoniz0r/yadshot
 Simple gui to sync directories with inosync & yad https://github.com/Mermouy/inosync-gui/blob/master/inosync-gui
Youtube flv file converter - Yad Gui https://github.com/marduk191/ytconv
 Example yad scripts on Developers page https://sourceforge.net/p/yad-dialog/wiki/browse_pages/





Yad Script Examples: