Re: Getting started in Linux
- Posted by Bruce Douglas <bruce_list at tutopia.com.br> May 24, 2005
- 439 views
I've been writing simple shell scripts to start my wxEuphoria programs. Then I'm able to autostart one with KDE by placing it in ~/.kde/Autostart and the other has been given an icon and placed on the launcher beside the Menu button. I just redid this tonight after upgrading my Mandrake box. This is one script: #! /bin/bash cd /home/bruce/Projetos/Program/Mail\ cleaner exu mc.exw Then you make it executable (I do it in properties in Konqueror so I don't remember the console command that any serious hacker would use!) The directory change line was necessary for me because this program would create a new database in whichever directory I happened to call it from. Don't forget the backslash before any spaces on your command line (although I think you can place the path in quotes instead). Bruce Douglas Matt Lewis wrote: > When running euphoria programs under X, you usually need them to have a > console window already opened. Unlike Windows, eu won't automatically open > one for you.