Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-06-2010, 03:04 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Gnome at Fedora13: launch button for call of gnome-terminal to see script-output


just I found the solution for executing of this testscript:
echo "Testtext"
inside of a launched "gnome-terminal" by mapping this to a launch-button (german called: "Starter"). These are the entries of launch-properties-dialog:

Type: application in terminal
Name: ***
command: gnome-terminal --working-directory=/home/andreas --command="sh -c '/home/andreas/bin/start_irda ; read'" --window
comment: ***
Important is:
to get the terminal-window staying open to see the output of my testscript (here: "...start_irda" for my real goal to write a launch-button to start my IRDA-USB-stick, but this is not really important for first) and the command:
"sh -c '...'"
to start the script with the "bash" here at "Fedora13".

Now my question:
Is this really the most easiest way? Or do anyone know a solution, which is more easy?

Kind regards
Old 11-07-2010, 07:40 PM   #2
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
It does sound a bit of a mouthful. I have a script called bu which runs with the command apps/bu. Since it uses a sudo command, the run command isn't necessary - the window stays open while sudo asks for the password. Selecting "run in terminal" and "use home folder" seems to make the other bits in your command redundant, unless your normal shell is not bash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seemingly unable to launch gnome-terminal .... kirtu Linux - General 1 11-03-2010 05:01 PM
Strange Gnome-terminal output on Fedora 11 64bit ESC201 Linux - General 12 08-03-2010 02:40 PM
Problem in redirecting the output of command in gnome-terminal satya_seth Linux - Newbie 1 05-23-2009 07:05 AM
bash script to resize gnome terminal ? smoker Linux - General 1 03-17-2006 04:32 PM
gnome-terminal launcher script Mur Linux - Software 0 04-26-2004 11:43 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration