Find the answer to your Linux question:
Results 1 to 4 of 4
I've made a C++ program and compiled it and I can run it in the terminal but I would like it to run like a normal application in the application ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7

    How to make my C++ program run without the terminal?


    I've made a C++ program and compiled it and I can run it in the terminal but I would like it to run like a normal application in the application menu or on the desktop but I don't know how. How do I make it run like a program in the application menu?

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    If your talking about a GUI toolkit then check here

    GTK+ 2.0 Tutorial
    Make mine Arch Linux

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Location
    Maryland, USA
    Posts
    82
    I'm uncertain what you mean by "normal," but you can build an alias (or shortcut) to your program and add it to the desktop or application menu.

    If we're not understanding your question, please provide more info.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    Assuming your application has GUI (X-windows) capabilities, then just add it to your desktop or menu dock. If not, then add it using the "open in terminal" option - most desktop GUI's support that. I do that on my CentOS workstation for some tools that only run on command line terminals.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •