{"id":7686,"date":"2020-10-12T20:40:00","date_gmt":"2020-10-12T18:40:00","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=7686"},"modified":"2020-10-12T08:47:40","modified_gmt":"2020-10-12T06:47:40","slug":"modernize-your-scripts-by-adding-gui","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/10\/12\/modernize-your-scripts-by-adding-gui\/","title":{"rendered":"Modernize Your Scripts By Adding GUI"},"content":{"rendered":"<p>Shalitha Suranga wrote <em><a href=\"https:\/\/medium.com\/swlh\/how-to-modernize-your-bash-scripts-by-adding-gui-cba613a34cb7\">How to Modernize Your Bash Scripts By Adding GUI :<\/a><\/em><\/p>\n<blockquote><p>Tired of displaying raw text on Console? Try Zenity &amp; notify-send<\/p><\/blockquote>\n<p>I do use zenity and notify-send myself but zenity fails miserably when it cannot access a graphical interface. It would be better if it fallback to the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ncurses\">good, old NCurses library<\/a>.<\/p>\n<p>You can always use the <a href=\"https:\/\/linuxconfig.org\/how-to-use-ncurses-widgets-in-shell-scripts-on-linux\">dialog command<\/a>, but it hasn&#8217;t the same options<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Shalitha Suranga wrote How to Modernize Your Bash Scripts By Adding GUI : Tired of displaying raw text on Console? Try Zenity &amp; notify-send I do use zenity and notify-send myself but zenity fails miserably when it cannot access a graphical interface. It would be better if it fallback to the good, old NCurses library.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/10\/12\/modernize-your-scripts-by-adding-gui\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72,278],"tags":[],"class_list":["post-7686","post","type-post","status-publish","format-standard","hentry","category-documentations","category-tricks"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1ZY","jetpack-related-posts":[{"id":14510,"url":"https:\/\/monodes.com\/predaelli\/2025\/12\/24\/gotomeeting-is-disgusting\/","url_meta":{"origin":7686,"position":0},"title":"Gotomeeting is disgusting","author":"Paolo Redaelli","date":"2025-12-24","format":false,"excerpt":"My Order of Engineers - the Italian organisation you must join after passing an exam if you want to practise as an engineer in Italy - organize online courses. Engineers in Italy must attend at least 20 hours a year on average to maintain membership. And they foolishly chose to\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5920,"url":"https:\/\/monodes.com\/predaelli\/2019\/09\/05\/apple-to-deprecate-scripting-languages-in-future-versions-of-macos-tidbits\/","url_meta":{"origin":7686,"position":1},"title":"Apple to Deprecate Scripting Languages in Future Versions of macOS &#8211; TidBITS","author":"Paolo Redaelli","date":"2019-09-05","format":false,"excerpt":"Apple says future versions of macOS won\u2019t include a number of open-source scripting languages. The impact of this change will vary depending on the audience, but it will affect more people than you might think. Source: Apple to Deprecate Scripting Languages in Future Versions of macOS - TidBITS This is\u2026","rel":"","context":"In &quot;Ethics&quot;","block_context":{"text":"Ethics","link":"https:\/\/monodes.com\/predaelli\/category\/ethics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8625,"url":"https:\/\/monodes.com\/predaelli\/2021\/08\/11\/how-to-get-the-most-out-of-your-terminal\/","url_meta":{"origin":7686,"position":2},"title":"How to get the most out of your Terminal","author":"Paolo Redaelli","date":"2021-08-11","format":false,"excerpt":"How to get the most out of your Terminal | by Reagan McFarland | Medium the recipe is basically three steps: a \"modern\" terminal. He suggest Alacritty becuase is fast. Like really fast. This is because it uses OpenGL to offload some of the processing to your GPU, a feature\u2026","rel":"","context":"In &quot;Tricks&quot;","block_context":{"text":"Tricks","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/tricks\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2209,"url":"https:\/\/monodes.com\/predaelli\/2017\/02\/28\/how-to-backup-sql-server-to-sql-file-stack-overflow\/","url_meta":{"origin":7686,"position":3},"title":"How to backup Sql Server to sql file? &#8211; Stack Overflow","author":"Paolo Redaelli","date":"2017-02-28","format":"link","excerpt":"In \"Back UP\" I only get a bak file, but I would like to create .sql file Sorgente: How to backup Sql Server to sql file? - Stack Overflow I may need it pretty soon up vote 25 down vote Use SQL Server's Generate Scripts commend right click on the\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"apple-touch-icon@2","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/02\/apple-touch-icon%402-150x150-1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4786,"url":"https:\/\/monodes.com\/predaelli\/2018\/10\/28\/no-script\/","url_meta":{"origin":7686,"position":4},"title":"no-script","author":"Paolo Redaelli","date":"2018-10-28","format":false,"excerpt":"L'anno scorso ho regalato a mia figlia un Kano, che di fatto \u00e8 un Raspberry 3 con tastiera, case e distribuzione specifica per bambini. Pensato per imparare e dal costo limitato il Kano \u00e8 davvero bello visto con gli occhi del pap\u00e0 ma... Gi\u00e0 perch\u00e9 c'\u00e8 sempre un \"ma\": avevo\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8844,"url":"https:\/\/monodes.com\/predaelli\/2021\/10\/18\/how-to-run-shell-script-as-systemd-service-in-linux\/","url_meta":{"origin":7686,"position":5},"title":"How to Run Shell Script as Systemd Service in Linux ?","author":"Paolo Redaelli","date":"2021-10-18","format":false,"excerpt":"How to Run Shell Script as Systemd Service in Linux ? Here, we will make a manual script which will act like a process to find disk utilization of the Linux system. To begin, Make a bash script that redirects date and disk utilization in a file. You can create\u2026","rel":"","context":"In &quot;Tricks&quot;","block_context":{"text":"Tricks","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/tricks\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=7686"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7686\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=7686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=7686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=7686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}