LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2005, 01:20 AM   #1
shivanand
LQ Newbie
 
Registered: Feb 2005
Location: Bangalore
Posts: 3

Rep: Reputation: 0
Smile How to Create an executable file in linux which opens by double-clicking it


Hi friends,

PLease help me to get rid of this problem.............

Tell me how to create an execuatble file in GUI mode of Red HAt 9.0 linux .........
I am able to execute it in the terminal mode in linux but not in GUI mode
can anybody tell me how to do it??????????????

-SHivanand
 
Old 02-24-2005, 05:26 PM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
In GNOME or KDE, right-mouse click on desktop background to open context menu, then create a new application link.
 
Old 02-24-2005, 05:40 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
If I understand you correctly you cannot click on the the file in the gui to make it run but it will run in a terminal. If KDE right click and check permissions. Make sure the box for make executable is checked. Alos in a terminal one can issue the command ' chmod +x name_of_file '.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 03-01-2005, 12:38 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-27-2005, 08:02 AM   #5
john.s.k
LQ Newbie
 
Registered: Aug 2005
Location: Bangalore
Posts: 1

Rep: Reputation: 0
Hi Shivanand

You said that you know how to create an executable in a terminal mode.
Appreciate if you could guide me as to how to create an executable in
terminal mode. Kindly guide me as to how to create it.

Your cooperation is appreciated.

Best Regards
John.S.K
 
Old 08-30-2005, 12:10 AM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
An 'executable' is either a valid ELF binary executable file or a properly formatted script for which the shell can find an interpreter. You can create an executable by writing (or downloading) a program in a compiled language (eg. usually C or C++) and then compiling it or you can create a script file in a scripting language such as bash, python, perl etc. that you have installed on your system. You usually need to set the executable permission on your executable file after you've compiled it or written it.

A program that executes in terminal mode is just one that doesn't have a GUI - you can create a shortcut ('Link to Application') to programs like this and in the options of the shortcut set to open them in a terminal. This means you can double click on the shortcut to run command line apps.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE and double clicking Ravo Linux - General 2 02-20-2005 11:41 AM
Create .rpm for executable file from Kylix 3 swg079 Linux - Newbie 4 10-16-2004 07:00 AM
How to make a window opens when clicking a button with Glade-2 Claus Programming 0 09-24-2003 05:41 PM
File Manager and Double-clicking Jongi Linux - Newbie 3 09-04-2003 10:28 AM
New browser window opens up when clicking on advert? CragStar LQ Suggestions & Feedback 1 12-03-2000 04:54 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration