Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have noticed that some programs/tools will let you execute a command when a some action is detected. If I want to run a program at startup in MSW, all i have to do is put the.exe in the startup folder. How do i do this in Linux? Where do i find the ".exe" in Linux and what is the syntax that linux is looking for?
Well, if he wants to run it automagically in X, that is not how to do it. What you do is tell us which desktop environment you're running and we can tell you where to place the symbolic link (or an application link, either will work). E.g., if you're running KDE with the kwin window manager, you would place the link in ~./kde/autostart
well if u want to do it when the computer starts, then the solution i provided will achieve this..
the syntax is just the path to the program/script you want to execute. ie:
if not, and most likely, you want it to start after you log in to Xwindows (your GUI/desktop) then the other solution provided will do this. substitute their example (kde) for your case (gnome). im sure this is the method your looking for
in gnome, look for a 'sessions' tab or button in the control center.. there should be some simple way to do startup applications in there with the GUI. look at the documentation for your version of gnome at the official site, at gnome.org
Distribution: Debian Etch (w/ dual-boot XP for gaming)
It's probably worth mentioning that though the syntax to run an executable is basically the same as it is in Window's command prompt, Linux won't automatically search the current directory for an unqualified filename. That is, if you're in /home/foo and you want to run the executable /home/foo/bar, you can't just type 'bar'. Doing this will cause Linux to look through the directories in your PATH (environment variable) for the file bar.
So in this situation you can either give the full name of the file (i.e. type '/home/foo/bar'), or use the period, which means "my current working directory": './bar'.