LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2007, 12:02 PM   #1
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Rep: Reputation: 15
Scritp direct exeution, no dialog box- how to


Hi,
I have a simple Tcl/Tk script and would like to make its execution direct, on double-click. I have tried the chmod +x name_of_the_script but when double-clicking the script a dialog box comes out first asking me how would I like to run the script: run the terminal, display or run...
I would like my script to run on double-click without this dialog box and go straight to execution. Is that possible?
 
Old 02-16-2007, 06:01 AM   #2
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
What's your desktop environment/file manager?
 
Old 02-16-2007, 09:54 AM   #3
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
GNOME on CentOS 4.2
 
Old 02-17-2007, 10:36 AM   #4
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, got it. It doesn't have to do anything with tclsh vs. wish or making executable, linking, wrapping in C executable, changing MIME types etc.
I selected the file in the file browser and then selected "Edit" -> Preferences -> Behavior -> to the section "executable text files" where the radio button "Run when they are clicked" needs to be checked and that's about it...
Thanks to all that tried to help
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
router showing dialog box FerkoPica Linux - Networking 1 09-16-2006 01:22 PM
Dialog box no longer appears Jongi SUSE / openSUSE 4 04-21-2006 07:55 AM
Dialog box help!!!!!!!! HopelessLinuxNewbie Fedora 1 08-24-2005 11:48 AM
Dialog box scripting.... r_jensen11 Programming 2 01-25-2004 06:40 PM
Creating an x windows dialog box antken Programming 5 09-29-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:39 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