images dialog

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

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 -

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 -  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. --
YadBash Code Works:

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
Yad Wrapper for - youtube-dl (downloader)
Google Several Script Wiki & Code
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.
 YAD YouTube Download is a simple yad GUI for youtube-dl
YAD Multi-file Downloader
 yadshot provides a GUI frontend for taking screenshots using maim/slop and uploads files and pastes to
 Simple gui to sync directories with inosync & yad
Youtube flv file converter - Yad Gui
 Example yad scripts on Developers page





Yad Script Examples: