1. Yad icons Dialog
Display a box with all of the installed desktop applications
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480
![yad icons](./img/yad-icons.png)
1.1. --read-dir=PATH
Read data from .desktop files in specified directory
1.2. --monitor
Watch for changes in directory and automatically update content of iconbox.
1.3. --generic
Use field GenericName instead of Name for shortcut label.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 --item-width=100 --generic
![yad icons generic](./img/yad-icons-generic.png)
1.4. --sort-by-name
Use field Name instead of filename for sorting items.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 \
--item-width=100 --sort-by-name
![yad icons sort by name](./img/yad-icons-sort-by-name.png)
1.5. --descend
Sort items in descending order.
If data reads from stdin this option is useless without --sort-by-name
.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 \
--item-width=100 --descend
![yad icons descend](./img/yad-icons-descend.png)
1.6. --listen
Read data from stdin.
Data must be in order - Name
, Tooltip
, Icon
, Command
, InTerm
separated by newline.
InTerm is a case insensitive boolean constant (TRUE or FALSE). Sending FormFeed character clears iconbox.
1.7. --item-width
Set the width of dialog items.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 --item-width=100
![yad icons item width 100](./img/yad-icons-item-width-100.png)
1.8. --icon-size=SIZE
Force using specified icon size
As you maby noticed in the earlier screenshoots some icns where very big, this can be fixed with the --icon-size
option.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 \
--item-width=100 --icon-size=48
![yad icons icon size](./img/yad-icons-icon-size.png)
1.9. --compact
Use compact mode.
Icon and name of each item is placed in a single row.
yad --icons \
--read-dir=/usr/share/applications \
--width=600 --height=480 --compact
![yad icons compact](./img/yad-icons-compact.png)
1.10. --single-click
Activate items by single mouse click.
This option may not works properly in case of compact mode.
1.11. --term=PATTERN
Pattern for terminal.
By default use `xterm -e %s' where %s is replaced by the command.