YAD(1) User Commands YAD(1) (NAME) yad - GTK+ (SYNOPSIS) yad [OPTIONS] (DESCRIPTION) YAD GTK+ ( ) . . YAD (fork) Zenity . (OPTIONS) (GNU) ('-') . (Dialog options) --about . --app . --calendar . --color . --dnd (drag-and-drop). --entry . --icons . --file . --font (). --form . --html HTML. --list . --notebook (notebook). --notification (notification). --appindicator appindicator. --popup (popup). --print . --progress . --scale (). --text-info ..SS " (General options)" --title=TITLE . --window-icon=ICON . --width=WIDTH . --height=HEIGHT . --posx=NUMBER (X) . NUMBER . --posy=NUMBER (Y) . NUMBER . --geometry=WIDTHxHEIGHT+X+Y X Window . width height posx posy mouse center . --timeout=TIMEOUT . --timeout-indicator=POSITION . : top bottom left right. CSS . --kill-parent=[SIGNAL] SIGNAL . SIGNAL SIGTERM . SIGNAL SIG . signal(7) . --print-xid=[FILENAME] X Window yad stderr. --plug=KEY plug notebook. NOTEBOOK . --tabnum=NUMBER (plugged). NOTEBOOK . --text=STRING . --text-width=NUMBER . --text-align=TYPE . TYPE left right center fill . --image=IMAGE . IMAGE . --icon-theme=THEME GTK . --keep-icon-size . . --expander=[TEXT] (expander). TEXT expander . --button=BUTTON:ID . . ID . BUTTON (stock item) yad ( yad-close yad-ok) LABEL[!ICON[!TOOLTIP]] `!' . STOCK ITEMS . OK Cancel . EXIT STATUS . ID . --no-buttons . --buttons-layout=TYPE . : spread edge start end center. end . --no-markup pango . --no-escape Escape . --escape-ok Escape OK . --always-print-result . Escape . --use-interp=[INTERP] . bash -c "%s" . (quoting) . %s . . --uri-handler=CMD CMD uri. yad open- command . URI %s . --f1-action=CMD F1 . --workdir=PATH PATH. --borders=NUM . --sticky (desktops). --fixed . --center . --mouse (). --on-top . --undecorated ( ). --skip-taskbar (taskbar) (pager). --maximized (maximized). --fullscreen . . --window-type=TYPE . TYPE normal dialog utility dock desktop tooltip notification splash . . EWMH . : (tiling window managers) "dialog" (float) "normal" (tile) . --no-focus . --close-on-unfocus . --selectable-labels . (form) . --image-path=PATH . . --rest=FILENAME . . --response=NUMBER NUMBER 0. --css=STRING CSS GTK+ . STRING . STRING CSS . --gtkrc=FILENAME () CSS GTK+ . . --css . --hscroll-policy=TYPE . TYPE auto always never . auto . --vscroll-policy=TYPE . TYPE auto always never . auto . --enable-spell textview. --spell-lang=LANGUAGE LANGUAGE. (locale) . yad-tools(1) ..TP --bool-fmt=TYPE TYPE. T t Y y O o 1. T t - true/false / . Y y - yes/no / . O o - on/off / . 1 - 1/0. --write-settings yad . SETTINGS . <<>> (Custom about dialog options) --pname=STRING . --image=IMAGE . --pversion=STRING . --copyright=STRING () . --comments=STRING . --license=STRING . (GPL2 GPL3 LGPL2 LGPL3 BSD MIT ARTISTIC) . --authors=STRING . --website=URI . --website-label=LABEL . (Application selection options) --enable-fallback (fallback). --enable-other . --enable-all . --extened . . . mime-type . mime-type text/plain . (Calendar options) --day=NUMBER . --month=NUMBER . --year=NUMBER . --date-format=PATTERN . '%x' . strftime(3) . --show-weeks . --details=FILENAME FILENAME. : date --date-format . description Pango . --select-action=COMMAND . YEAR MONTH DAY ..SS --init-color=COLOR . --gtk-palette . GTK+3 . --picker (). --alpha (opacity) . --palette=[FILENAME] . yad /etc/X11/rgb.txt . --expand-palette (expander) . --mode=MODE . hex rgb . hex . HEX #rrggbbaa RGB rgba(r, g, b, a) . RGBA 0.0 1.0 . (Drag-and-Drop) --tooltip (tooltip) . --command=CMD . %s . stdout . --exit-on-drop=NUMBER NUMBER . 0 . --entry-label=STRING . --entry-text=STRING (combo-box). --hide-text . --completion . --complete=TYPE . TYPE any all regex . --editable . --numeric (spin button) . ( ) . . 0 65535 1 . --float-precision=NUMBER . . --licon=IMAGE . --licon-action=CMD . . --ricon=IMAGE . --ricon-action=CMD . . --num-output (index) . . . ..SS (Iconbox options) --read-dir=PATH .desktop . --monitor . --generic GenericName Name . --sort-by-name Name . --descend . stdin --sort-by-name . --listen stdin. Name Tooltip Icon Command InTerm . InTerm (TRUE FALSE) . FormFeed . --item-width . --icon-size . (compact) . --compact . . --single-click . . --term . `xterm -e %s' %s . stdin . (File selection options) --filename=FILENAME . --multiple . --directory . --save . --separator=STRING . --confirm-overwrite=[TEXT] . . --quoted-output . (Font selection options) --fontname=FONTNAME . FONTNAME "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]" . --preview . --separate-output . --separator=STRING . `|' . --quoted-output ..SS " (Form options)" --field=LABEL[!TOOLTIP][:TYPE] . H RO NUM CHK CB CBE CE FL SFL DIR CDIR FN MFL MDIR DT SCL SW APP ICON CLR BTN FBTN LINK LBL TXT . H - . . RO - . NUM - . VALUE[!RANGE[!STEP![PREC]]] RANGE MIN..MAX . `!' . PREC . CHK - ( ). (TRUE FALSE) . CB - (combo-box). VAL1!VAL2!... . NUM . `^' . CBE - . . CE - (completion). . FL - . SFL - . DIR - . CDIR - . FN - (). . MFL - . item-separator . MDIR - . item-separator . DT - . SCL - (scale). 0..100 . SW - ( ). (TRUE FALSE) . APP - . mime-type . - . ICON - . . yad-con-browser . CLR - . . BTN - . LABEL[!ICON[!TOOLTIP]] `!' . LABEL stock id yad . ICON (stock id ). TOOLTIP (tooltip) . . %N N . @ . sh -c - -c. quit . FBTN - (full relief) . LINK - . LBL - . . TXT - . . . --align=TYPE . left center right. left . --columns=NUMBER . . --separator=STRING . `|' . --focus-field=NUMBER (). --cycle-read stdin. FormFeed . echo -e '\f' . --align-buttons --align. --item-separator=STRING . `!' . --date-format=PATTERN ( ). --float-precision=NUMBER . . --complete=TYPE . TYPE any all regex . --scroll ( ). --homogeneous . --changed-action=CMD CMD CHK CB SW. - . BTN @ . - . --quoted-output (shell-style quotes) . --output-by-row . --num-output (combo-box). . @disabled@ . stdin . N N+1 . stdin ..SS HTML (HTML options) --uri=URI . URI . URI http:// URI . --browser . html Open . --print-uri . xdg- open . --mime=MIME mime MIME . text/html . --encoding=ENCODING ENCODING . UTF-8 . --uri-handler=CMD uri . %s uri . CMD 0 uri 1 uri 2 . . - YAD_HTML_BUTTON YAD_HTML_STATE (modifier keys). --user-agent=STRING (user agent) . YAD- Webkit (@VERSION@) . --user-style=STRING . STRING CSS CSS . --disable-search . --file-op . open . --wk-prop=PROP WebKit . . PROP "setting-name value" . : b i s . . - https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html URI . (List options) --column=STRING[:TYPE] . : TEXT NUM SZ FLT CHK RD BAR IMG HD TIP. TEXT . NUM FLT . TIP (tooltip) . SZ NUM . CHK ( ) RD ( ) . BAR . 0 100 . . HD . . IMG GTK+ . gtk GTK_ICON_SIZE_MENU gtk-icon-sizes . GTK_ICON_SIZE_MENU --force-icon-size . . @fore@ @back@ @font@ . . name!tooltip (Pango markup) name tooltip . --tree . ROW_ID[:PARENT_ID] yad . (EXAMPLES) . --checklist . . . --radiolist --checklist . --separator=STRING . --multiple . --editable . --editable-cols=LIST . LIST . --no-headers . --no-click . --no-rules-hint . gtk . --grid-lines=TYPE TYPE . TYPE hor[izontal] vert[ical] both . --no-selection . --print-all . --print-column=NUMBER . 0 ( ). --hide-column=NUMBER . --expand-column=NUMBER . 0 . --search-column=NUMBER . 0 . . --tooltip-column=NUMBER . --sep-column=NUMBER . . . --sep-value=TEXT TEXT . GTK+ . --limit=NUMBER . NUMBER . stdin . --wrap-width=NUMBER NUMBER . --wrap-cols=LIST . LIST . --ellipsize=TYPE (ellipsize) . TYPE NONE START MIDDLE END . --ellipsize-cols=LIST . LIST . --dclick-action=CMD CMD . CMD . OK --checklist --multiple . Enter Ctrl+Enter OK . CMD '%s' . CMD . CMD @ . --editable . --select-action=CMD CMD . CMD . CMD '%s' . CMD . --multiple . --row-action=CMD CMD . (add edit del). . . --tree-expanded () . --regex-search . --listen (stdin) . --quoted-output . --float-precision=NUMBER . . --add-on-top . --tail | --auto-scroll . --iec-format IEC ( ) . KiB MiB GiB . --simple-tips . --header-tips . --column-align=STRING . STRING l r c . --header-align=STRING . STRING --column-align ..PP FormFeed . echo -e '\f' . Notebook (Notebook options) --key=KEY . --tab=TEXT notebook. TEXT LABEL[!ICON[!TOOLTIP]] <> . stack TEXT . --tab-pos=TYPE . top bottom left right . top . stack top bottom . --tab-borders=NUMBER . --active-tab=NUMBER . --expand . --stack (GtkStack GtkNotebook). notebook NOTEBOOK and PANED . (Notification options) --command=CMD . --listen quit . --listen stdin. NOTIFICATION . --menu=STRING . --separator=STRING . | . --item-separator=STRING . ! . --no-middle . --hidden . --icon-size=SIZE SIZE. . NOTIFICATION . Appindicator (Appindicator options) --listen stdin. NOTIFICATION . --menu=STRING . --separator=STRING . | . --item-separator=STRING . ! . --hidden . Paned (Paned options) --key=KEY . --orient=TYPE . TYPE hor[izontal] vert[ical] . --splitter=POS . --focused=PANE (focus) . PANE . . paned NOTEBOOK and PANED ..SS " (Picture options)" --size=VALUE . fit orig . --inc=NUMBER . --filename=FILENAME . (extra data) . . --file-op . . --image-changed=CMD . . <<%s>> . (popup menu) . (static images) . (Popup options) --transparent=PERCENT . --timeout=TIMEOUT (timeout) . . --keep . TIMEOUT . --align=TYPE . TYPE left center right . (Print options) --type=TYPE . TYPE TEXT IMAGE RAW postscript pdf . --filename=FILENAME . --headers . RAW . --add-preview Preview . RAW . --fontname=FONTNAME . FONTNAME "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]" . TEXT . (Progress options) --progress yad stdin . # # . . --bar=LABEL[:TYPE] . LABEL . TYPE . : NORM RTL PULSE CPULSE . single-bar . --vertical . --align=TYPE . left center right . left . --progress-text=TEXT TEXT . single-bar . --hide-text . --rtl . single-bar . --auto-close . --auto-kill (kill). --pulsate . single-bar . --continuous . single-bar . --scroll . --enable-log[=TEXT] (log) . stdin # . TEXT (expander) . --log-on-top . --log-expanded . --log-height . . stdin N: N . single- bar N: ..SS " (Text info options)" --filename=FILENAME . --editable . --wrap . --formatted Pango. --editable . --justify=TYPE . TYPE left () right () center () fill ( ) . left . --margins=NUMBER NUMBER. --tail | --auto-scroll . stdin . --line=NUMBER . . --show-cursor . --show-uri . xdg-open . --fore=COLOR . --back=COLOR . --uri-color=COLOR . blue . --listen stdin . --in-place stdout. . --file-op . (popup) . . --disable-search . --confirm-save=[TEXT] . --in-place . . yad GtkSourceView . --lang=LANGUAGE LANGUAGE . --theme=THEME THEME. yad- tools(1) . --mime=TYPE MIME . . --line-num . --line-hl . --line-marks . . --mark1-color=COLOR COLOR. lightgreen . --mark2-color=COLOR COLOR. pink . --right-margin=[POS] . POS . 80 . --brackets . --indent . TAB . --smart-he=TYPE HOME END. TYPE newer before after always . --smart-bs BackSpace. BackSpace (tab) . --tab-width (tabulation). --indent-width . --spaces . fontname CSS ( Pango). FormFeed . echo -e '\f' . Ctrl+S ..SS (Scale options) --value=VALUE . --min-value=VALUE . --max-value=VALUE . --step=VALUE . --enforce-step . --page=VALUE (). STEP*10 . --print-partial . --hide-value . --vertical . --invert . --inc-buttons . --mark=[NAME]:VALUE . . NAME . (File filters options) --file-filter=NAME | PATTERN1 PATTERN2 ... . NAME PATTERN ( *.txt). . --mime-filter=NAME | MIME1 MIME2 ... mime. NAME PATTERN mime ( text/plain). . --image-filter=[NAME] gdk-pixbuf . NAME . yad . (File preview options) --add-preview . XDG 0.8.0 (http://standards.freedesktop.org/thumbnail-spec/latest) () yad . --large-preview . yad . yad . : YAD mtime . (Miscellaneous options) -?, --help . --about . --version . GTK+ ..SH " (NOTEBOOK and PANED)" (Notebook) . ( ) ( --plug) . . #! /bin/sh yad --plug=12345 --tabnum=1 --text="first tab with text" &> res1 & yad --plug=12345 --tabnum=2 --text="second tab" --entry &> res2 & yad --notebook --key=12345 --tab="Tab 1" --tab="Tab 2" : ! (Paned) - . (NOTIFICATION) yad command:args . icon tooltip visible action menu quit. icon:ICONNAME ICONNAME. tooltip:STRING (tooltip) . visible:[true|false] . action:COMMAND . - menu quit . menu:STRING . STRING name1[!action1[!icon1]]|name2[!action2[!icon2]]... . . ( `|') --separator . ( `!') --item-separator . quit . quit . (STOCK ITEMS) yad . -------------------------------------------------------------------------- yad-about help-about yad-add list-add yad-apply gtk-apply yad-cancel gtk-cancel yad-clear document-clear yad-close window-close yad-edit gtk-edit yad-execute system-run yad-no gtk-no yad-ok gtk-ok yad-open document-open yad-print document-print yad-quit application-exit yad-refresh view-refresh yad-remove list-remove yad-save document-save yad-search system-search yad-send document-send yad-settings gtk-preferences yad-yes gtk-yes (ENVIRONMENT VARIABLES) YAD_OPTIONS yad . . YAD_SETTINGS_FILE yad. SETTINGS . YAD_PID pid . YAD_XID (X Window ID) . ..SH " (USER DEFINED SIGNALS)" SIGUSR1 0. SIGUSR2 1. (EXIT STATUS) 0 OK 1 Cancel 70 . 252 Esc . . (WIDGETS NAMES) yad gtkrc . yad : -------------------------------------------------------------------------------------------------------------------------------------------------------- yad-dialog-window GtkDialog yad-dialog-image GtkImage yad-dialog-label GtkLabel yad-app-widget GtkAppChooserWidget yad-calendar-widget GtkCalendar yad-color-widget GtkColorChooser yad-color-palette GtkTreeView yad-entry-label GtkLabel yad-entry-widget GtkEntry yad-entry-spin GtkSpinButton yad-entry-combo GtkComboBox yad-entry-edit-combo GtkComboBoxEntry yad-file-widget GtkFileChooser yad-font-widget GtkFontChooser yad-form-flabel GtkLabel yad-form-button GtkButton yad-form-entry GtkEntrfy yad-form-spin GtkSpinButton yad-form-check GtkCheckButton yad-form-combo GtkComboBox yad-form-edit-combo GtkComboBoxEntry yad-form-link GtkLinkButton yad-form-file GtkFileChooserButton yad-form-font GtkFontChooserButton yad-form-app GtkAppChooserButton yad-form-switch GtkSwitch yad-form-color GtkColorChooserButton yad-form-label GtkLabel yad-form-scale GtkScale yad-form-separator GtkSeparator yad-form-text GtkTextView yad-icons-full GtkIconView yad-icons-compact GtkTreeView yad-list-widget GtkTreeView yad-notebook-widget GtkNotebook yad-paned-widget GtkPaned yad-progress-widget GtkProgressBar yad-scale-widget GtkScale yad-stack-widget GtkStack yad-stack-switcher-widget GtkStackSwitcher yad-text-widget GtkTextView yad-timeout-indicator GtkProgreeBar (SETTINGS) YAD . --write-settings . ini . $XDG_CONFIG_HOME/yad/settings.conf YAD_SETTINGS_FILE ..SH " (EXAMPLES)" Select a file to remove. . yad --title="Select a file to remove" --file-selection Select Host Select the host you would like to flood-ping. . yad --title "Select Host" --entry --text "Select the host you would like to flood-ping" Microsoft Windows has been found! Would you like to remove it?. YES 0 ( /true) NO 1 (/false) . yad --image "dialog-question" --title "Alert" --button=gtk- yes:0 --button=gtk-no:1 --text "Microsoft Windows has been found! Would you like to remove it?" Search Results Finding all header files.... find . -name '*.h' | yad --list --title "Search Results" --text "Finding all header files.." --column "Files" yad --notification --image=update.png --text "System update necessary!" --command "xterm -e apt-get upgrade" Apples Oranges yad --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste postscript find $HOME -name '*.ps' | yad --progress --pulsate yad --icons --read-dir=/usr/share/applications yad --list --tree --column "Items" f Fruits 1:f Apple 2:f Lemon v Vegetables 3:v Popato 4:v Onion (DEVELOPMENT) YAD . YAD icon browser GTK+ . : yad-icon-browser [theme] autoconf m4 AM_PATH_YAD yad . : AM_PATH_YAD([MINIMUM-VERSION],\ [ACTION-IF-FOUND],\ [ACTION-IF- NOT-FOUND]) (AUTHORS) Yad Victor Ananjevsky . Yad Bogdan Lisovich . (SEE ALSO) gdialog(1), dialog(1), zenity(1), yad-tools(1) yad June 2024 YAD(1)