Results 1 to 10 of 10

Thread: How run programs with Terminal

  1. #1
    Join Date
    Jul 2009
    Location
    Holland
    Posts
    47

    Question How run programs with Terminal

    Some programs can start by typing the name of the program in the Terminal, like

    Wine
    Code:
    wine
    or Miro
    Code:
    Miro
    But I want to run some games with the terminal so I can see the errors(the games won't run) and fix it. But when I type

    Code:
    Urban Terror
    or
    Code:
    Nexuiz
    terminal say me this: "command not found".
    How can I run those programms with the Terminal?
    Coffee is like Linux, only cool people use it. Tea is like Windows, only losers use it.

  2. #2

    Default Re: How run programs with Terminal

    Sometimes the name of a program on the menus isn't the same as the name of the program on disk. When using the command line in the terminal, it's the name of the program on disk you should type.

    Linux 32bits executable: ioUrbanTerror.i386
    Linux 64bits executable: ioUrbanTerror.x86_64

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: How run programs with Terminal

    And to add to to KJ44's advice.

    When you type
    Code:
    Urban Terror
    it means that you want to run a program named Urban with a parameter Terror. It also very unlikely, though not forbidden or impossible, that a programname contains upercase characters.

    Also just typing the name of a program (when you know the correct one) only executes it if it is found by the shell in a directory named in your PATH environment variable. (You can also call it adding the path to the program in front of the name). Now most programs you install will be in such directories and give no further problems here. But when a packager supposes that the program will allways be called from a desktop menu/icon that uses the full path in the call, he/she may put it in a more obscure place and not tell you where it is.

    In any case, try to understand a bit more from using the shell (that is what you are doing when typing commands), because it will help you understanding what you are doing when typing. And it is a game in itself
    Henk van Velden

  4. #4
    Join Date
    Jul 2009
    Location
    Holland
    Posts
    47

    Thumbs up Re: How run programs with Terminal

    Thanks for de answers.


    Quote Originally Posted by KJ44 View Post
    Sometimes the name of a program on the menus isn't the same as the name of the program on disk. When using the command line in the terminal, it's the name of the program on disk you should type.

    Linux 32bits executable: ioUrbanTerror.i386
    Linux 64bits executable: ioUrbanTerror.x86_64
    ON my PC the name of the program was 'urbanterror'
    Coffee is like Linux, only cool people use it. Tea is like Windows, only losers use it.

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: How run programs with Terminal

    Normally it's always lower case. I notice you use Upper.
    To find launch command, go to menu editor and to the program in question
    eg: firefox
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Jul 2009
    Location
    Holland
    Posts
    47

    Thumbs up Re: How run programs with Terminal

    What I did was rightclick>choose properties en look at command, on the icon of the application in the folder usr/share/applications What I did was rightclick, choose properties en look at command, on the icon of the application in the folder usr/share/applications

    Coffee is like Linux, only cool people use it. Tea is like Windows, only losers use it.

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: How run programs with Terminal

    Then the call from the terminal should be:
    Code:
    usr/share/applications/urbanterror
    Henk van Velden

  8. #8
    Join Date
    Jul 2009
    Location
    Holland
    Posts
    47

    Default Re: How run programs with Terminal

    Code:
    urbanterror
    is enough, the whole path isn't necessary.
    Coffee is like Linux, only cool people use it. Tea is like Windows, only losers use it.

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: How run programs with Terminal

    Quote Originally Posted by OrangeSuse View Post
    Code:
    urbanterror
    is enough, the whole path isn't necessary.
    Which is like I said.
    Notice in your first post you used: Urban Terror
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: How run programs with Terminal

    Quote Originally Posted by OrangeSuse View Post
    Code:
    urbanterror
    is enough, the whole path isn't necessary.
    When it is in his PATH. He can check that himself given all the information above. You should leave something to do for the people, that makes a functioning learning curve
    Henk van Velden

Tags for this Thread

Posting Permissions

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