Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 108.162.216.251
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
help-langpack /
en_GB /
zenity /
[ HOME SHELL ]
Name
Size
Permission
Action
calendar.page
2.21
KB
-rw-r--r--
color-selection.page
1.38
KB
-rw-r--r--
entry.page
1.59
KB
-rw-r--r--
error.page
861
B
-rw-r--r--
file-selection.page
2.1
KB
-rw-r--r--
forms.page
2.21
KB
-rw-r--r--
index.page
821
B
-rw-r--r--
info.page
889
B
-rw-r--r--
intro.page
1.07
KB
-rw-r--r--
legal.xml
3.05
KB
-rw-r--r--
list.page
2.7
KB
-rw-r--r--
message.page
668
B
-rw-r--r--
notification.page
2.08
KB
-rw-r--r--
password.page
1.27
KB
-rw-r--r--
progress.page
2.19
KB
-rw-r--r--
question.page
882
B
-rw-r--r--
scale.page
2.02
KB
-rw-r--r--
text.page
2.19
KB
-rw-r--r--
usage.page
8.09
KB
-rw-r--r--
warning.page
891
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : progress.page
<?xml version="1.0" encoding="utf-8"?> <page xmlns="http://projectmallard.org/1.0/" type="topic" id="progress" xml:lang="zenity-en-GB"> <info> <link type="guide" xref="index#dialogs"/> <desc>Use the <cmd>--progress</cmd> option.</desc> <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> </info> <title>Progress Dialogue</title> <p> Use the <cmd>--progress</cmd> option to create a progress dialog. </p> <p> <app>Zenity</app> reads data from standard input line by line. If a line is prefixed with #, the text is updated with the text on that line. If a line contains only a number, the percentage is updated with that number. </p> <p>The progress dialogue supports the following options:</p> <terms> <item> <title><cmd>--text</cmd>=<var>text</var></title> <p>Specifies the text that is displayed in the progress dialogue.</p> </item> <item> <title><cmd>--percentage</cmd>=<var>percentage</var></title> <p>Specifies the initial percentage that is set in the progress dialogue.</p> </item> <item> <title><cmd>--auto-close</cmd></title> <p>Closes the progress dialogue when 100% has been reached.</p> </item> <item> <title><cmd>--pulsate</cmd></title> <p>Specifies that the progress bar pulsates until an EOF character is read from standard input.</p> </item> </terms> <p> The following example script shows how to create a progress dialog: </p> <code> #!/bin/sh ( echo "10" ; sleep 1 echo "# Updating mail logs" ; sleep 1 echo "20" ; sleep 1 echo "# Resetting cron jobs" ; sleep 1 echo "50" ; sleep 1 echo "This line will just be ignored" ; sleep 1 echo "75" ; sleep 1 echo "# Rebooting system" ; sleep 1 echo "100" ; sleep 1 ) | zenity --progress \ --title="Update System Logs" \ --text="Scanning mail logs..." \ --percentage=0 if [ "$?" = -1 ] ; then zenity --error \ --text="Update canceled." fi </code> <figure> <title>Progress Dialogue Example</title> <desc><app>Zenity</app> progress dialog example</desc> <media type="image" mime="image/png" src="figures/zenity-progress-screenshot.png"/> </figure> </page>
Close