PDA

View Full Version : Make Program Accessible Command Line



Black Mage
September 25th, 2007, 05:22 PM
I noticed that some programs like wine and eclipse are accessible just by typing that in the terminal. How do I make other programs, like VMserver Server Console accesible in the same way?

Compyx
September 25th, 2007, 05:40 PM
By typing the appropriate command in a terminal-emulator. You can look at the launcher in your menu and see what command is called with that launcher.

Reading the manual would also be quite helpful.

Black Mage
September 25th, 2007, 05:56 PM
Where is the Launcher? I don't see it in Prefences or Administration.

Compyx
September 25th, 2007, 06:07 PM
The launcher is the button / menu item you click when you start that program.

For example, suppose I'd like to see what command is issued to start 'Blackjack':

I'd right-click on the menu bar 'Applications' and select 'Edit Menus', then in the new screen that pops up I'd select 'Games' on the left and then right-click 'Blackjack'.

There you'll see the launcher properties of Blackjack, which tells us the blackjack binary (or a symlink) resides in /usr/bin and is called 'blackjack'. So in the terminal I would type blackjack.

Black Mage
September 25th, 2007, 06:11 PM
Got it, thnx a lot.

Compyx
September 25th, 2007, 06:12 PM
You're welcome, glad I could help.