How Can I Create Popup Windows?

I have a small script run by cronjobs to synchronize a git repository every 2 hours. The git will be pushed to the server with a constant message. How can I have a popup windows which ask the message before the changes will be committed? So I will get a popup windows every 2 hours and I just have to enter a short description that what I have modified on the code.

1

1 Answer

A Zenity command like this might help

zenity --entry --text "Enter short description:" --entry-text=""

Command returns your short description so you need to work that into your cronjob

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest