<p>I've created a few <code>autorun</code> script files on various USB devices that run <code>bash</code> scripts when they mount.  These scripts run "in the background", how do I get them to run in a terminal window? (Like the "Application in Terminal" gnome Launcher type.)</p>

[{'answer_id': 35924, 'author': 'Vagnerr', 'author_id': 3720, 'author_profile': 'https://Stackoverflow.com/users/3720', 'pm_score': 4, 'selected': True, 'text': '<p>Run them as a two stage process with your "autorun" script calling the second script in a new terminal eg</p>\n\n<pre><code>gnome-terminal -e top --title Testing\n</code></pre>\n\n<p>Would run the program "top" in a new gnome terminal window with the title "Testing" You can add additional arguments like setting the geometry to determine the size and location of the window checkout the man page for <em>gnome-terminal</em> and the "X" man page for more details</p>\n'}, {'answer_id': 35925, 'author': 'Steve Moon', 'author_id': 3660, 'author_profile': 'https://Stackoverflow.com/users/3660', 'pm_score': 1, 'selected': False, 'text': "<pre><code>xterm -e shellscript.sh\n</code></pre>\n\n<p>or (if <code>xterm</code> isn't installed)</p>\n\n<pre><code>gnome-terminal -e shellscript.sh\n</code></pre>\n\n<p>or (if you're using kubuntu / kde)</p>\n\n<pre><code>konsole -e shellscript.sh\n</code></pre>\n"}]
['https://Stackoverflow.com/questions/35905', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3715/']