LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2003, 10:54 PM   #1
Piero
LQ Newbie
 
Registered: Jul 2003
Posts: 19

Rep: Reputation: 0
How to run shell script directly without inquiring running mode?


I wrote a shell script in X-window gnome, everytime I double-click the icon, It shows a dialog to inquire 1.display 2.run in terminal 3.cancel or 4.run.
It's troublesome.
How can I modify some config files to make the shell script run directly?

Do me a favor, thanks!
 
Old 09-02-2003, 11:32 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
In most cases as far as I know with gnome, you can right click on the icon and in the properties you can select it to run in a terminal, etc.
 
Old 09-02-2003, 11:49 PM   #3
Piero
LQ Newbie
 
Registered: Jul 2003
Posts: 19

Original Poster
Rep: Reputation: 0
May there's a possible that I only need to modify some config files, then I can run the shell script as KDE environment.
 
Old 09-03-2003, 02:28 AM   #4
sandeep
LQ Newbie
 
Registered: Feb 2001
Location: India
Distribution: RedHat8
Posts: 8

Rep: Reputation: 0
On my Nautilus 2.0.6 (gnome 2) in the Preference -> Icons & Listview
option you can change the action for executable text files.
Hope that helps.
 
  


Reply



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
executing shell script in terminal directly with a double click kushalkoolwal Programming 15 11-26-2012 02:32 PM
How to run SHELL script pito Linux - Newbie 4 12-17-2004 03:05 AM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 06:49 AM
how do i run shell script? krt47 Linux - Newbie 4 08-02-2004 09:29 AM
how to run a shell script oasisbhrnw99 Linux - Newbie 1 05-05-2004 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 PM.

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