how to run executable without terminal?

Asked by marek

hi
i am new to linux but i really like elementary os.
i have compiled pascal code with freepascal compiler. i would like to know if there is any way to run it without using terminal
in terminal i would just use

./program

from the folder where it is located and it would run.
in windows i could just double click on exe and it would run.
is there any way to run it without typing into terminal every time?
thanks !

Question information

Language:
English Edit question
Status:
Expired
For:
elementary OS Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adrian Cochrane (alcinnz) said :
#1

I have not tried this myself but I believe that you can run the program by:
1) Opening "Applications"
2) Entering the command in the searchbox
3) Press enter to run

Revision history for this message
quassy (quassy) said :
#3

Have you tried making it executable by typing the following?

chmod +x ./program

If that alone does not work you might want to create a program.desktop file (plain text file but with the .desktop extension). Here is an example how that has to look: https://wiki.archlinux.org/index.php/Desktop_entries#File_example Most important bit for you is the Exec= field where you probably have to put in the absolute path to your program, e.g. Exec=/home/marek/Desktop/program (unless your program is in certain directories, called $PATH).

Revision history for this message
marek (marek95) said :
#4

didnt help ...

i created program.desktop file with this

[Desktop Entry]
Type=Application # Indicates the type as listed above
Version=1.0 # The version of the desktop entry specification to which this file complies
Name=jMemorize # The name of the application
Comment=Flash card based learning tool # A comment which can/will be used as a tooltip
Exec=/home/marek/Programming/project1/program # The executable of the application.
Icon=jmemorize # The name of the icon that will be used to display this entry
Terminal=false # Describes whether this application needs to be run in a terminal or not
Categories=Education;Languages;Java; # Describes the categories in which this entry should be shown

but it doesnt help

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.