I am using Mint 9 Fluxbox Edition, and I want to be able to run a script from the Fluxbox Menu and see the output that I would see in a terminal window if I ran it from terminal.
Is there an easy way to do this? Sure seems like there oughtta be!
On a related note, is there a good shell scripting forum somewhere (oriented more towards beginners)? This is the best fit I can see here.
Here is the top Google hit, looks pretty good.
http://www.unix.com/shell-programming-scripting/
Thanks!
Edit: Zenity?
http://www.freesoftwaremagazine.com/col ... action_gui
Running a shell script from a GUI?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Running a shell script from a GUI?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Running a shell script from a GUI?
try this:
gnome-terminal --hide-menubar -t 'YourTitle' -e "find"
replace find with your command
gnome-terminal --hide-menubar -t 'YourTitle' -e "find"
replace find with your command
Re: Running a shell script from a GUI?
That came pretty close, kwevej! I replaced gnome-terminal with lxterminal and got rid of the --hide-menubar and I saw a terminal window open and then close. I have a line in the end of my script read -p "variable" to pause the script at the end to allow the output to be read. That works in a terminal window but not in the one started via the Fluxbox menu.