Quote:
Originally Posted by Muscovy I scripted a simple in-terminal program (vclp), and put it in /bin . How can I run it from a launcher? Giving the launcher the command 'vclp' just makes it wait, then not do anything. | I don't know what launcher you're using... But from your description it sounds like the problem is that you want a terminal window to pop up when you run the program from the launcher? (It is possible to run a terminal program without a terminal - in this case its output will simply go nowhere, and depending on how the program is written it may terminate with SIGPIPE or it may continue running until finished)
If this is the main problem, there's a couple ways you could deal with it. First off, some launchers offer an option for how you want to run your program... In Gnome you can set a menu command to run a command normally or in a terminal...
The other option is to alter the command line to explicitly run the application within a terminal. For instance, change the command to something like "xterm -e vclp" - this will cause the menu command to run xterm and instruct it to run vclp. The downside to this approach is that the menu then can't work outside of X... (The Debian menu system, for instance, has provisions for working in text mode or in X...) |