shell编程zenity_如何在Linux上使用Zenity制作简单的图形Shell脚本

shell编程zenity

shell编程zenity

Zenity adds graphical interfaces to shell scripts with a single command. Shell scripts are a great way to automate repetitive tasks, but they’re normally confined to the terminal — Zenity brings them out of the terminal and onto your desktop.

Zenity只需一个命令即可将图形界面添加到Shell脚本。 Shell脚本是自动执行重复任务的好方法,但通常只限于终端机-Zenity将它们带出终端机并带到您的桌面上。

We’ve given an introduction to shell scripting in the past. You don’t have to be a programmer to get started with shell scripts — they require little more than knowledge of Linux terminal commands.

过去,我们已经介绍了Shell脚本 。 您无需成为程序员即可开始使用Shell脚本-它们只需要了解Linux终端命令即可。

获得热情 (Getting Zenity)

Zenity comes with Ubuntu by default. If you use an Ubuntu derivative, Such as Kubuntu, you may have to install it manually with the following command:

Zenity默认随附于Ubuntu。 如果使用Ubuntu衍生产品(例如Kubuntu),则可能必须使用以下命令手动安装它:

sudo apt-get install zenity

sudo apt-get install zenity

Zenity is a part of GNOME, so it should already be included on Linux distributions that use the GNOME desktop. C

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值