Zenity is a tool that will display Gtk+ dialog boxes from the command line and through shell scripts. It is a rewrite of gdialog, the GNOME port of dialog.

learn more… | top users | synonyms

2
votes
0answers
93 views

Securing a script a little more

I currently have the following script which works fine: #!/bin/sh user="$(zenity --entry --title="Username" --text="Username")" pass="$(zenity --password --title="Password" --text="Password")" ...
0
votes
1answer
29 views

Reusing user input in a script

I have the following script which works: #!/bin/bash xfreerdp /cert-ignore /f /v:farm.company.com /d:company.com /g:rds.company.com /u:$(zenity --entry --title="Username" --text="Username") ...
2
votes
1answer
20 views

GTK: Specify application foreground and background color on command line

In the old days, all X11 applications would take standard command-line arguments to specify things like foreground/background color. Is there a way to do that today for GTK applications? In particular ...
2
votes
1answer
78 views

zenity doesn't display all list with variables

Friends, I need a hand, I am making a search and install PPA script for Ubuntu. This script with zenity works 80%, the problem is when this script searches; displays only the first line. I need all ...
3
votes
1answer
115 views

Change script to use whiptail instead of zenity

I'm having difficulty converting some zenity based script to use whiptail instead. The working script looks something like this: #!/bin/bash xfreerdp /v:farm.company.com \ /d:company.com \ ...
1
vote
1answer
266 views

How to apply pipe zenity/yad progress bar?

I need display a progress bar with zenity or yad with pacaur/pacman or yaourt in Arch Linux/Manjaro, the problem is I can't capture the actual process with pacaur or other, only with pkcon, but ...
0
votes
1answer
43 views

Zenity refuses to work in background

I'm trying to create a background bash script which creates a popup in certain circumstances, however, my code only works when run manually in a terminal (e.g. not in the background). I've tried ...
2
votes
1answer
146 views

How do I create a dialog with multiple text fields using zenity?

I want to crate a GUI for some command line programs and I need to get info from multiple text fields e.g. 'Username', 'Password' and a checkbox 'Sign automatically?'. I need to set particular ...
1
vote
1answer
103 views

why do I get no output from zenity in shell script under gnome-schedule

I am using Fedora Linux 12, and intend to update to an up-to-date version soon. To prepare for this I have made a full backup on an external drive. I want to keep this backup up to date, using rsync, ...
1
vote
2answers
148 views

What's wrong with my zenity dialog? selector is not extending vertically

zenity list dialog looks different after a system upgrade, %> zenity --text "Select" --list --column="Profile" --list a b c Any idea on the extra space in the dialog? The selector should extend ...
1
vote
2answers
71 views

GUI message box in SLES 11

I am using SLES 11 and I often run long processes. I am looking for a method to flash an alert box or a message box when the work is done. In Ubuntu there is zenity which can flash an info box. I am ...
2
votes
4answers
2k views

How to display a (zenity/GUI) dialog to the user after a root cron task has completed

I have a simple periodic cron task that must run as root. I want to use Zenity (or similar) to display a GUI informational dialog to user 1000 (or logged in user or all users) when the cron task ...
0
votes
3answers
2k views

Zenity dialog windows have excessive height and cannot be resized. Bug workaround anyone?

I'm trying to do some things in zenity, and it's been driving me bonkers. To illustrate my problem, try running this: zenity --info --text "Hello there friends." Simple enough right. Now try this: ...
2
votes
1answer
320 views

Make message box of zenity scalable?

When output contains lots of lines, zenity --info --text doesn't make it scale-able, and zenity --text-info only accept output from a file. What can I do now? Maybe other zenity like utility can ...
1
vote
1answer
974 views

Terminate script using zenity progress bar

(GNOME2, Ubuntu 10.04 LTS) I've made a nautilus script, so that if I have a directory full of various codecs, then I just need to right click in that folder -> Scripts -> THISSCRIPT.txt, then presto, ...
1
vote
2answers
1k views

How to pass data outside process for zenity progress?

Usually this would be a question about how to pass data from a subprocess to a main process, but maybe zenity has some extra quirks so please focus on zenity. Example: #!/bin/sh ( echo "10" ; sleep ...
1
vote
1answer
524 views

Escape text for further passing to zenity

I am going to show an error window using zenity: /usr/bin/zenity --error --text="my error message" The error text to pass is obtained as output from another application. This output may contain ...
4
votes
1answer
905 views

dialog or zenity?

I am working on a project. I have two options for the GUI part. Either use dialog or zenity. I never used any of these tools before. I have to learn one of them. Suggest me which one should I learn ...
3
votes
2answers
1k views

Why is piped input okay to zenity, but <file malfunctions?

My question is as simple as what the zenity --text args say in the example... but what is causing this 100% CPU grab by the redirection? ...(and by the way, is this particular usage of < actually ...