Using Yet Another Dialog (YAD)
Using Yet Another Dialog (YAD)
If you are looking for an easy way to access your desktop and internet helpfiles or exit your Desktop, YAD (Yet Another Dialog) might offer the functionality you need. I have written and provided detailed help & images here (btw. YAD runs on ANY Linux distro & Desktop):
http://eirenicon.org/knowledge-base/yad ... er-dialog/
http://eirenicon.org/knowledge-base/yad ... er-dialog/
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Using Yet Another Dialog (YAD)
Here is a small image of a YAD Dialog to launch FreeOffice apps.
Here's the code (for the Yad Bash script):
Here's the code (for the Yad Bash script):
Code: Select all
#!/bin/bash
yad --title "Free Office Links" --form --width=325 --height=200 --text="<b>FreeOffice Application Launcher</b>" --image "calligraplan" --image-on-top \
--field="<b>Textmaker</b>":fbtn "/usr/bin/textmaker18free" \
--field="<b>Presentations</b>":fbtn "/usr/bin/presentations18free" \
--field="<b>Planmaker</b>":fbtn "/usr/bin/planmaker18free" \
--button=gtk-cancel:1
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Using Yet Another Dialog (YAD)
Nice work mate now I have two ways to logout.
The text in geany below right of your logout is the i3 code for my logout..


The text in geany below right of your logout is the i3 code for my logout..


Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . 
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Re: Using Yet Another Dialog (YAD)
Isn't it amazing how many ways we can find to do things? I love the innovation. Never say never. 

Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Using Yet Another Dialog (YAD)
You just can't beat a Good window manager and some code The Fun Starts Now. Thanks
Have a cup on me 


Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . 
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Re: Using Yet Another Dialog (YAD)
@manyroads
Your YAD script has come in so handy with void Linux was over doing sudo reboot halt and the i3-get-window-criteria script was just icing on da cake. Must admit was having trouble getting scripts to run until I realized xwininfo & xprop were not installed all good now.
-----------------------------------
Have you made any progress with a program launcher like jgmenu.
Also you must try void everything is the latest version and all source installed programs with xbps also truly non-systemd (not a fork) Have not had one problem.
Thanks for all your help..
Your YAD script has come in so handy with void Linux was over doing sudo reboot halt and the i3-get-window-criteria script was just icing on da cake. Must admit was having trouble getting scripts to run until I realized xwininfo & xprop were not installed all good now.
Code: Select all
24 files = 164K ~/.scripts >$./i3-get-window-criteria
[class="Yad" id=31457283 instance="yad" title="System Logout"]
Code: Select all
for_window [title="System Logout"] floating enable
bindsym $mod+shift+x exec --no-startup-id ~/.scripts/logout.sh
Also you must try void everything is the latest version and all source installed programs with xbps also truly non-systemd (not a fork) Have not had one problem.
Thanks for all your help..
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . 
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Re: Using Yet Another Dialog (YAD)
I have tried Void. I generally like it. I have some issues with xbps, it doesn't always sync and download for me. I plan to try it again.
I have ad good success with jgmenu, especially with OpenBox.
As for my latest efforts, I am having a good adventure with HLWM on MX. I may produce a setup with both bspwm & HLWM.
I have ad good success with jgmenu, especially with OpenBox.
As for my latest efforts, I am having a good adventure with HLWM on MX. I may produce a setup with both bspwm & HLWM.

Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Using Yet Another Dialog (YAD)
Do you have any tips for converting scripts and Thunar custom actions that are written for zenity to use YAD instead?
Re: Using Yet Another Dialog (YAD)
They really aren't the same sort of tool... Thunar is more for use one files/ directories. Yad & Zenity are more aligned to be OS popup dialogs.jeffreyC wrote: Sun Dec 15, 2019 8:53 pm Do you have any tips for converting scripts and Thunar custom actions that are written for zenity to use YAD instead?
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Using Yet Another Dialog (YAD)
YAD and zenity are often called to pop-up dialogs by Thunar custom actions, such as checking an md5... so how would I successfully convert one written for zenity to work with YAD?manyroads wrote: Sun Dec 15, 2019 9:14 pmThey really aren't the same sort of tool... Thunar is more for use one files/ directories. Yad & Zenity are more aligned to be OS popup dialogs.jeffreyC wrote: Sun Dec 15, 2019 8:53 pm Do you have any tips for converting scripts and Thunar custom actions that are written for zenity to use YAD instead?