-   Linux - General (
-   -   How to Create an executable file in linux which opens by double-clicking it (

shivanand 02-23-2005 01:20 AM

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??????????????


misc 02-24-2005 05:26 PM

In GNOME or KDE, right-mouse click on desktop background to open context menu, then create a new application link.

Brian1 02-24-2005 05:40 PM

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 '.

" Google the Linux way @ "

XavierP 03-01-2005 12:38 PM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

john.s.k 08-27-2005 08:02 AM

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

tkedwards 08-30-2005 12:10 AM

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.

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