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

3
votes
1answer
28 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
85 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
20 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
101 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
86 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, ...
0
votes
1answer
111 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
58 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
1k 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
257 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
846 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
449 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
811 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
985 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 ...