Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
TheCodeNovice's user avatar
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 ...
JoBe's user avatar
  • 417
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 ...
Lewis Morris's user avatar
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') ...
abiyi's user avatar
  • 214
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 ...
user avatar
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 --...
Pandya's user avatar
  • 25.7k
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.
user avatar
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 ...
MountainX's user avatar
  • 18.9k
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 ...
MountainX's user avatar
  • 18.9k
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: * * * * * ...
apasajja's user avatar
  • 1,917
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 ...
frost_romka's user avatar