zenity — How to use Zenity with Different options.

Rohit Kumar
3 min readSep 23, 2021

ARTH-Task 1

Task Description 1.1

Create a blog/article/video/document about explaining various option for zenity with output screenshorts

Whatis zenity?

Zenity is free software and a cross-platform program that allows the execution of GTK dialog boxes in command-line and shell scripts.

lets see the command option which is used with zenity

  1. Calendar

Syntax: zenity --calendar

2. zenity --error

3. zenity --entry

4. zenity --info

5. zenity --question

6. zenity --progress

7. zenity --scale

8.zenity --password

9.zenity --forms

10.zenity --about

11.zenity --file-selection

12.zenity --color-selection

13.zenity --warning --text= “are u sure?”

14.To run cal command inside zenity we use the

syntax: zenity --info --title = “calender”--text= “$(cal)’’-

15.Create a form in zenity

syntax: zenity --form --title= “login form” --text “login”--add-entry= “ user name” --add-password= “password” --cancel-label=“cancle”

#vimaldaga #righteducation #educationredefine #arth2 #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righteducation #zenity

--

--

No responses yet