script-gui
Oprettet lørdag 29 februar 2020
Zenity
https://en.wikipedia.org/wiki/Zenity
https://web.archive.org/web/20111106084405/http://www.freesoftwaremagazine.com/columns/saving_my_sanity_zenity_shell_script_interaction_gui#
https://wiki.gnome.org/action/show/Projects/Zenity
https://www.howtogeek.com/107537/how-to-make-simple-graphical-shell-scripts-with-zenity-on-linux/
https://www.linux.org/threads/zenity-gui-for-shell-scripts.9802/
Progress dialogue
https://help.gnome.org/users/zenity/stable/progress.html.en
https://stackoverflow.com/questions/928019/how-to-make-a-gui-for-bash-scripts
https://www.howtogeek.com/435020/how-to-add-a-gui-to-linux-shell-scripts/
EX
Vis resultat af ls-kommando
zenity --info --text="`ls`"
Double-qoutation er for at hjælpe zenity med at modtage newline, så alle linier kommer med i info-boksen.
zenity --info --text=`ls` giver kun første entry fra ls
Om ZIM.smarken.net
Backlinks: Teknik 1wiki:Linux:Generelt:shellscript