Questions tagged [yad]

YAD (Yet Another Dialog) is a program which allows you to display GTK+ dialog boxes from the command-line or shell scripts. YAD depends on GTK+ only. It is a fork of Zenity with many improvements, such as custom buttons, additional dialogs, HTML support, pop-up menu in notification icon and more.

YAD (Yet Another Dialog) is a program which allows you to display GTK+ dialog boxes from the command-line or shell scripts. YAD depends on GTK+ only. It is a fork of Zenity with many improvements, such as custom buttons, additional dialogs, HTML support, pop-up menu in notification icon and more.

Homepage: https://sourceforge.net/projects/yad-dialog/

37 questions
0
votes
1 answer

Yad password dialog window cases

I'd like to create a password dialog window, that would execute different scripts according to password value. For example, when user enter 123, then 123.sh will be executed, etc. How can I do that?
Wookie
  • 41
  • 1
  • 4
0
votes
1 answer

a bash script with a yad window and checking internet connection

I'm working on a bash script, opening a yad window and keeping it opened until internet connection is present and then closing it. It looks as follow: #!/bin/bash yad_wind1_id="" yad_wind1_id_txt_str="" NET_STATE=0 function…
ludvick
  • 11
  • 2
0
votes
1 answer

How to run other bash scripts on YAD button click?

The code: #!/bin/bash # YAD GUI to the set of Shell Linux script frmdata=$(yad --title "Input SRA accession number" --form --field "SRA ID") frmaddr=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }') echo $frmaddr > SRAIds.txt…
Mat29
  • 7
  • 1
  • 3
0
votes
1 answer

Udev Rule not launching Zenity or Yad (Ubuntu 16)

I've been trying this for a few days and had no success. I want to launch a script file that uses Zenity (or Yad) on disc detection. I'm using logging to test and the udev rule works and executes the script but fails to launch Zenity. I'm trying to…
0
votes
1 answer

Submitting form values when a button is pressed

I am using Yad for a simple interface. The problem I am having is that the standard output has the value of the User field if I press Enter in the field itself. However, if I press the "save" button, then there is nothing in the standard output.…
Merc
  • 16,277
  • 18
  • 79
  • 122
0
votes
2 answers

Run Shell Script after click on button - YAD

I have three shell scripts and I would like to run each script after click on button in yad - lets say - I have one yad session with three buttons - if I click on one button I will open 1. script - second button open 2. script and so on.. See my…
Paul
  • 311
  • 4
  • 13
-2
votes
1 answer

Yad dialog image to run a script?

How to make the image in yad dialog box clickable to run a bash script? I have tried this line... yad --title="WeatherIcon" --image=forecaNOW.png --dclick-action="bash -c 'weatherBOX.sh'" --no-buttons
RasatPC
  • 33
  • 4
1 2
3