The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
31 views

How can I automatically interrupt what I'm doing to input something?

As per Nick Winter's The Motivation Hacker, I want to measure my happiness. I know that I'm bad at remembering things or responding to reminders, so I'd like to set up a daemon that, at random ...
1
vote
1answer
26 views

Make some fields required in dialog

The script below creates a dialog box. The user can press Enter at any time, and then the script continues. I need to block the Enter key to ensure that the user fills all the fields. How can I do ...
1
vote
1answer
24 views

dialog --inputbox

Follow the below script I've a unique variable that keeps all variables, I need have each variable separated from $VALUES: #!/bin/bash shell="" groups="" user="" home="" exec 3>&1 ...
1
vote
0answers
41 views

dialog and gauge + yesno widget

I'm trying an example of using a yesno widget into a gauge one. But it fails, the code is: #!/bin/bash PCT=0;i=0 ( while [[ $PCT -le 100 ]] do cat <<EOF XXX $PCT el % es ${PCT} XXX EOF for i ...
0
votes
0answers
58 views

Debian wheezy using gnome classic requires root for system modifying changes

I am using Gnome classic on Debian Wheezy, and I sometimes get a popup for package updates. The UI prompts for a root password, and will only accept root. Is there some way for me to add my account to ...
2
votes
1answer
75 views

dialog, trap and SIGTRAP

I've seen a lot of examples using dialog tools into scripts with lines as follows: trap "rm $datafile" 0 1 2 5 15 What I don't understand is the meaning of SIGNAL 5, ok I know is SIGTRAP. But shame ...
2
votes
1answer
70 views

Display file using Dialog

I have a file on disk which contains some text I want to display on the screen. You can do it like this: dialog --yesno "`cat FILE`" 10 100 However, I'm concerned that if FILE becomes large, I'm ...
1
vote
3answers
722 views

Line 4: $data: ambiguous redirect when using passwordbox

I want to create a passwordbox using the dialog package. #!/bin/bash data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --title "Password" \ --clear \ --passwordbox "Enter your ...
2
votes
1answer
215 views

Dialog - Continue in background

I installed this program: http://invisible-island.net/dialog/dialog.html Now I want to use this dialog: http://invisible-island.net/dialog/dialog-figures.html#demo_gauge dialog --gauge 'Checking ...
1
vote
0answers
61 views

Segmentation fault with dialog

I'm getting a segmentation fault with the following script when it's more that one child dir past the pwd. The program kills with the error message and I have to reset the shell. For example: I start ...
0
votes
1answer
103 views

linux + cant run dialog utility + got errors

Problem is as follows: Linux kernel: 3.0.13-0.27-default #1 SMP I’ve installed “dialog” utility ( /usr/bin/dialog ) just copied bin file to /usr/bin When I have tried to run it, error message ...
1
vote
2answers
72 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 ...
3
votes
2answers
178 views

Fluxbox menu entry that prompts for some input

How do I ask 'which man file would you like to open?' in one command from the commandline, which will also open xterm at the same time. This is needed for a fluxbox menu item. For it to be a fluxbox ...
1
vote
1answer
438 views

How to use kdialog progressbar from a Bash script when the bar was initialized in another script?

Here is an example of how to use the kdialog progressbar. It works. dbusRef=`kdialog --progressbar "Press Cancel at Any time" 10` qdbus $dbusRef showCancelButton true until test "true" = `qdbus ...
3
votes
1answer
738 views

how to make my bash script look 100% like a GUI app (so user never sees terminal)

I created a bash script using kdialog (and it runs on Kubuntu 12.04). The GUI is used for every user interaction (after the first one). However, the script still has to be launched from the terminal ...
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 ...
3
votes
1answer
783 views

Bash console progress dialog with command output

I have dialog installed, where I would like to have a nice progress dialog, like this: +-------[ title ]--------+ | | | +-[ console output ]-+ | | | output line11 ^ | | | ...
1
vote
1answer
329 views

Guide/help using Dialog with bash scripting

While I understand how to create menus, no guide I've found teaches how to actually link them to commands I was hoping to have something like: dialog--clear --title "n00b's spellbook" \ ...
2
votes
1answer
182 views

how to make Tabs Outliner, for Chromium Browser, popup on mouse move to screen edge?

So, we have the Tabs Outliner extension https://chrome.google.com/webstore/detail/tabs-outliner/eggkanocgddhmamlbiijnphhppkpkmkl That is a very good vertical tabs manager for chromium. The problem ...
2
votes
1answer
322 views

curses-based program for selection item from the list

Is there in the linux any program which can represent (via pipe or something like that) results of such commands as, for example, ls, cat, grep, ps etc, by means of curses (for example as listbox)? So ...
1
vote
1answer
235 views

screen buffer and dialog

I was trying to use different screen buffer for my script using tput. Below is small script that I am running. tput smcup clear dialog --yesno "Do you want to continue?" 0 0 rc=$? clear tput rmcup if ...
3
votes
3answers
2k views

whiptail or dialog

I am going to create script which will use user input, so I decided to use whiptail, but little bit confuse that which one is portable and will work in ubuntu 10.x and higher and CentOs5.x and higher. ...