{"id":20179099,"url":"https://github.com/pratikshinde55/zenity-gui","last_synced_at":"2026-03-05T18:03:03.699Z","repository":{"id":231102048,"uuid":"780913444","full_name":"Pratikshinde55/Zenity-GUI","owner":"Pratikshinde55","description":"Exploring Zenity: A Comprehensive Guide with Output Screenshots,","archived":false,"fork":false,"pushed_at":"2024-12-26T13:15:05.000Z","size":89,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T09:19:49.908Z","etag":null,"topics":["aws-ec2","ubuntu","zenity","zenity-gui","zenity-gui-dialogs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pratikshinde55.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-02T11:59:00.000Z","updated_at":"2025-10-15T12:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"a005fa22-6ce5-4e26-ab8b-295d4401bd66","html_url":"https://github.com/Pratikshinde55/Zenity-GUI","commit_stats":null,"previous_names":["pratikshinde55/zenity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pratikshinde55/Zenity-GUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FZenity-GUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FZenity-GUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FZenity-GUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FZenity-GUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pratikshinde55","download_url":"https://codeload.github.com/Pratikshinde55/Zenity-GUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FZenity-GUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-ec2","ubuntu","zenity","zenity-gui","zenity-gui-dialogs"],"created_at":"2024-11-14T02:25:07.210Z","updated_at":"2026-03-05T18:03:03.672Z","avatar_url":"https://github.com/Pratikshinde55.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zenity\n\n![Configuration of Docker and webser container using Ansible (3)](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/3aa299d6-ed4d-40e2-980c-d03259d06768)\n\n## Zenity: \n**Zenity is a powerful command-line utility that allows users to create graphical user interfaces (GUIs) for shell scripts and terminal commands. In this blog post, we'll delve into the various options \nand functionalities offered by Zenity, accompanied by output screenshots for better understanding.**\n\n**Zenity is a handy tool for enhancing the user experience of shell scripts by providing graphical dialogs such as message boxes, input forms, file selection dialogs, progress bars, and more. \nIt simplifies interaction with users and adds a visual element to terminal-based applications.**\n\n## How to Install and setup of zenity:\n\nHere i use Amazon Cloud ubuntu AMI \u0026 I used putty for ssh connection.(private-key amazon --\u003e\u003e .ppk )\n\n- On putty:\n\n1. In Session --\u003e\u003e Hostname: ubuntu@public_ip_of_instance  --\u003e\u003e select ssh\n\n2. SSH --\u003e\u003e  Auth --\u003e\u003e Credentials --\u003e\u003e private key file for Auth (same key of used for instance)\n \n3. SSH --\u003e\u003e  Auth --\u003e\u003e  X11  --\u003e\u003e Enable X11 forwarding \n\n![Screenshot 2024-04-02 173909](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/823dbedc-d7ee-41cc-917a-6c8b3ddfd375)\n\n- Note: \n\nX11 server need on local window for allow display ,\n\nIf don't have then download  \"Xming\" link for download- [Xming-Download-link](https://sourceforge.net/projects/xming/)  After download install and open onces, it \ncan't open just click on open.\n\n- Note:\n\nAlso check SSH settings of instance , \"/etc/ssh/sshd_config\" in this folder allow \"X11Forwarding yes\". After that just restart sshd by using \"systemctl restart sshd\" command.\n\nInstallation: \n\n1st need to update use follow command:\n\n     sudo apt-get update\n\nInstall command for zenity on ubuntu:\n\n     sudo apt-get install zenity\n\nCheck zenity install or not:\n\n     zenity --version\n\n\n## Magical display commands using Zenity\n\n### Information Dialog:\n    \n     zenity --info --text=\"Hello, World!\"\n\n![zenity-1](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/4ded64e0-54c5-4f63-a368-66b2b1673cf5)\n\n### Warning Dialog:\n     \n     zenity --warning --text=\"This is a warning message.\"\n\n![zenity-2](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/7f56b753-83fa-49d0-9487-c0aa6d7a6daa)\n\n### Error Dialog:\n     \n     zenity --error --text=\"An error occurred.\"\n\n![zenity-3](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/f27f8224-59d4-4cfd-b294-5147aeaac29a)\n\n### Question Dialog (with Yes/No buttons):\n     \n     zenity --question --text=\"Do you want to continue?\"\n\n![zenity-4](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/bf5038d1-67ed-4c48-a92e-32b3a33142a1)\n\n### Input Dialog (for user input):\n     \n     zenity --entry --text=\"Enter your name:\"\n\n![zenity-5](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/a6f2d6a9-eb55-4867-9b4e-4a9a1fd8fd3e)\n\n### Password Dialog (for password input):\n     \n     zenity --password --text=\"Enter your password:\"\n\n![zenity-6](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/bb67c1e4-1835-46ce-8fed-5ea65f425a26)\n\n### File Selection Dialog (for selecting files):\n\n     zenity --file-selection --title=\"Select a file:\"\n\n![zenity-7](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/2bc77b74-9c99-4135-a357-d92c582071d4)\n\n### Calendar Dialog (for selecting a date):\n\n      zenity --calendar --title=\"Select a date:\"\n\n![zenity-8](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/5f43cf21-a788-4600-8dc1-a1bd1a562054)\n\n### Progress Dialog (for displaying progress):\n      \n      zenity --progress --title=\"Progress\" --text=\"Processing...\" --percentage=50\n\n![zenity-9](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/15bb824c-818c-41d9-a015-bc0aebf358f2)\n\n### Color Selection Dialog (for selecting a color):\n     \n     zenity --color-selection --title=\"Select a color:\"\n\n![zenity-10](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/a8bd6f6c-0439-4c89-8b2c-c6540df654e2)\n\n### Question Dialog with Custom Buttons:\n\n     zenity --question --text=\"Do you want to save your changes?\" --ok-label=\"Yes\" --cancel-label=\"No\"\n\n![zenity-11](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/93ccdbf2-025e-4016-90cc-b8d99a31c8e6)\n\n### Progress Dialog with Auto-Close:\n\n      (sleep 20; echo \"100\") | zenity --progress --auto-close --text=\"Processing...\"\n\n![zenity-12](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/4042897e-87ed-4fd9-88d2-a8e46b7a9b0f)\n\n### Command that displays a \"fortune\" (random quote) in a dialog window:\nhere need 1st install fortune-mod on instance. \n\n       sudo apt install fortune-mod\n       \n![zenity-13](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/cf3a755c-5171-4e21-bb84-39131e34a34f)\n\n![zenity-14](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/4d722b86-e1b8-49b7-8321-e81e4801f15a)\n\nEvery time new come up:\n![zenity-15](https://github.com/Pratikshinde55/Zenity-GUI/assets/145910708/84d34e86-c81e-42a0-ae8b-d2d6977289ae)\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikshinde55%2Fzenity-gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikshinde55%2Fzenity-gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikshinde55%2Fzenity-gui/lists"}