Questions tagged [zenity]
15 questions
3
votes
3 answers
Is there a GUI, portable, small tool for Windows that asks to select a folder or a file and then writes it to stdout?
At work we constantly write CMD batch scripts that will take one, two, or three folders as parameters.
As sometimes the end users would be interested in using those scripts, and as is it long, boring, error-prone and fastidious to type in cmd a…
Benoit
- 7,113
2
votes
1 answer
Is there a way to make a zenity dialog modal?
How can I make them modal? With modal I mean: The dialog should block the desktop so the user has only two options: Either cancel the dialog or enter text into it. (I want this basically because new windows might popup and can steal focus and…
math
- 2,693
2
votes
1 answer
Why is Zenity boxes hopping around?
I have a Bash script running some Zenity question boxes. When run on for instance Ubuntu the placement of the boxes are always consistent (top and middle of screen). However when I run the same script on Ubuntu in WSL2 the placement hops around.…
Paul Bergström
- 424
- 1
- 4
- 17
2
votes
1 answer
Bash script to derive n variables from until loop variable based on n iterrations is not working
I have the following problem in a Bash script:
On execution of the script a Zenity popup box opens to ask how many date entries should occur. If for example 3 is entered then a further 3 Zenity boxes are opened up (one after another) to ask for a…
speed bump
- 341
1
vote
2 answers
Can UDEV somehow trigger zenity for a logged in user in a session?
I would like a zenity dialog popup to ask me if I would like to run a backup, when I attached a specific external drive.
Unfortunately, I am having trouble with the UDEV rule syntax. I've got this rule in…
Redsandro
- 564
- 1
- 9
- 18
1
vote
1 answer
Getting zenity and at to work properly
I'm trying to use zenity and at to make a little reminder script. The problem is that while zenity --info works fine from bash (or sh), running echo "zenity --info" | at now + 1 min does nothing. The job shows up in my atq and then runs, but no…
Ben Kraft
- 345
1
vote
0 answers
What can I use to make informational popups shortly after boot on Linux Mint?
I work with seniors, and many of them have expressed interest in learning more about their computers. Looking for a way to make an informational pop-up that changes each time the customer starts, I was thinking a zenity script, but don't know how…
Skunker
- 11
1
vote
1 answer
Odd Zenity-behaviour
I have a Bash-script containing Zenity dialog boxes that works fine on Ubuntu 20.04.
However when I start it in openSUSE Leap 42, it looks like this:
It seems as if some package is missing. Any ideas?
/Paul
Paul Bergström
- 424
- 1
- 4
- 17
1
vote
2 answers
Bash script TUI for database insert statement not working. Set bash builtin error message
I have the following bash script that provides a Zentiy TUI to insert data into a database.
#!/bin/bash
tip_run1="$(zenity --entry --text "ENTER number of tip runs:" --entry-text "1")"
a=1
until
[[ $tip_run1 -lt $a ]]
do
…
speed bump
- 341
1
vote
2 answers
Display scp progress in zenity window
I would like to graphically display the scp transfer progress of several files from a remote server to the local machine.
I thought using Zenity for example. Browsing the net I found the command pv can be used to do so.
Something like that:
(
scp…
Maxbester
- 229
0
votes
4 answers
Mint linut: shutdown script using zenity not working
I wrote a simple script which runs when I'm shutting down my computer. I placed the script under /etc/init.d/ directory and link it back to /etc/rc0.d/. The link is soft link and its name is K99checkout-reminder.
Here's the result from listing files…
Khanh Tran
- 393
0
votes
1 answer
Switch from KDialog to Zenity
I'm using KDE 4.8.4. Is it possible to cease to use KDialog in KDE and switch to Zenity permanently?
KDialog is driving me crazy. It always freezes everywhere at save and open dialogs, in Google chrome, in Okular... I can't continue with it!
Thanks.
The Quantum Physicist
- 770
- 4
- 18
- 36
0
votes
1 answer
Bash script to validate two time values via zenity not working
I am trying to validate two time values passed by a program in form of a value called $input. Once validated the time values will be used in a SQL insert statement. I am unable to use the date command if the values are out of range as I get an error…
speed bump
- 341
0
votes
1 answer
Bash until loop too keep time ranges valid is not working
I am having trouble with the following until loop in bash. I want a Zenity popup box to appear as long as the time values that are entered are outside of a valid range. The popup opens up fine. However it keeps on popping up whether valid data is…
speed bump
- 341
0
votes
1 answer
Bash script to convert TUI input to database output not working properly
I have the following Bash script which captures TUI data (zenity) to be prepared for a database insert statement:
#!/bin/bash
INPUT=NULL,2,Van Tassel,NULL,5,6,,8
INPUT="$(echo $INPUT | ( IFS=, read a b c d e f g h ; echo…
speed bump
- 341