Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a C program and made an executable under Linux.

Right now, I open the executable by going first to gnome-terminal and then type


I want to create a shortcut icon on the desktop for the same executable. That is, if I click on the program shortcut, it should open gnome-terminal with an "<executable>" automatically.

Is it possible to do this?

share|improve this question

migrated from Jun 20 '12 at 11:00

This question came from our site for professional and enthusiast programmers.

Not a programming question, voting for moving to Super User. – unwind Jun 20 '12 at 10:53
Have a look at the Desktop Entry specification. – Jan Hudec Jun 20 '12 at 10:59

Right click on your GNOME desktop, choose 'Create Launcher' and then specify the location of your program (assuming it's not in $PATH, if it is, then you don't need to specify the whole path, you can just give )

Make sure you have 'run in terminal' selected, and you'll be able to see the output of the program.

share|improve this answer
I am sorry for not adding more details. I am working in ARM linux platform. I do not have launcher application. – user1426143 Jun 20 '12 at 12:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .