LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-26-2010, 12:53 AM   #1
anix
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 43

Rep: Reputation: 15
Can you run a shell script without the dialog?


This is pretty self-explanatory. Running a script from the GUI gives the Run in terminal/Display/Cancel/Run dialog box. I'm never going to do anything to the scripts in question again but run them, and I'd rather be able to just go straight into the script as if I was running a regular program. Is there an option for that somewhere or am I stuck with this minor annoyance each time? Thanks in advance.
 
Old 12-26-2010, 12:55 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You could add a custom launcher to the panel.
 
Old 12-26-2010, 02:16 PM   #3
anix
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 43

Original Poster
Rep: Reputation: 15
Okay... What about running from the desktop?
 
Old 12-26-2010, 03:26 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You could also add a custom launcher to the Desktop.
 
Old 12-26-2010, 03:33 PM   #5
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
Obviously not self-explanatory enough. What do you mean by "run from the GUI"? Are you referring to a particular launcher?
 
Old 12-26-2010, 11:12 PM   #6
anix
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 43

Original Poster
Rep: Reputation: 15
Okay, now that my common sense module has been imported, that seems pretty obvious. Thanks for the help.
 
Old 12-27-2010, 08:25 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
First, the "Run in terminal/Display/Cancel/Run" dialog is NOT usual. We all use different desktops and file managers, so you cannot expect us all to know what you're talking about.

And many scripts are interactive and you might want to edit them, so it wouldn't make sense to just execute them without asking.
 
  


Reply

Tags
dialog, shell scripting



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
Converting a shell script with dialog boxes into a GNOME application kushalkoolwal Programming 4 10-17-2008 06:21 AM
dialog and other GUIs in shell script!!! a.toraby Solaris / OpenSolaris 1 10-12-2008 05:19 AM
Using Dialog in Shell Script kushalkoolwal Programming 30 06-04-2007 02:52 AM
shell script using dialog box sharma.kashyap Linux - General 2 04-13-2007 08:28 AM
shell script with dialog sqn Programming 3 04-08-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:28 AM.

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