All Questions
Tagged with shell-script gui
11 questions
1
vote
0
answers
934
views
Application not using full display area running X11 without window manager
I am trying to run a piece of software on an arm SoC. I have x11 running and I launch manually with
xterm -geometry 800x480-0+0
while this opens up a xterm that uses the entire panel when I run the ...
8
votes
2
answers
7k
views
bash script - request input via gui
I'm currently writing a nemo action script in bash, and I need a way to get input from the user.
How?, the terminal isn't showing when running an action script.
is there anyway to popup a query window ...
1
vote
1
answer
274
views
Stop bash commands GUI from opening
I'm currently trying to extract all the information I need from the .desktop files.
The below is working GOOD ENOUGH but there is one drawback.
Because sometimes the EXEC line in the .desktop file ...
3
votes
1
answer
4k
views
Running xprop in a crontab: "unable to open display"
I've just made a perfectly working Bash script that runs xprop(by a regular user and root):
#!/bin/bash
# time tracking BASH script
# current time and date
current_date=$(date --rfc-3339='seconds')
...
2
votes
1
answer
1k
views
Xdialog - Capture user and password for a shellscript
I'm trying to create a simple "User and Password" GUI input for a shellscript, with the --2inputbox parameter for the Xdialog command:
While following the documentation seems to be easy, it does not ...
26
votes
1
answer
52k
views
How do I ask password by GUI prompt while using sudo in script?
I use Trisquel GNU/Linux with GNOME Flashback Desktop Environment. I need a GUI password prompt for user for executing command with sudo in script. Example consider following script:
zenity --...
1
vote
1
answer
12k
views
Run .sh file instead of opening it
I am using Zorin OS 7. I want to run a .sh file but I can't seem to be able to—it just opens in a text editor.
Also under RMB>open with there is no other option.
10
votes
2
answers
11k
views
Graphically ask for password in a bash script and retain default sudo timeout setting
The sudo -A (SUDO_ASKPASS) option apparently causes sudo to lose the timeout (e.g., timestamp_timeout) setting.
I want to use the sudo -A option but I want to retain the default timeout (e.g., 15 ...
4
votes
1
answer
3k
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 ...
3
votes
2
answers
17k
views
Xdotool using "DISPLAY=:0" not works in Crontab
I need to run shell script contains Xdotool codes in /home/z/Desktop/tempo/run.sh. I've tried many ways of DISPLAY=:0 but always not works.
I've tried each of below codes, and not works:
* * * * * ...
5
votes
4
answers
4k
views
GUI input for shell script
I have a shell script which installs a program in RedHat. I need to add a GUI for entering some parameters so that it looks like an installation wizard . I tried Xdialog, Zenity, and Yad, but they ...