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.
if u want to start program when user foo is logged in, u should edit file /home/foo/.bashrc (if bash is foo's default shell, may be /home/foo/.profile will right choice).
if all users should start your script, u should change /etc/profile (in some systems the right way is to change /etc/profile.local. If u find in /etc/profile call of /etc/profile.local, than change /etc/profile.local)
if your script should be started when system starts, then u should edit /etc/rc.d/boot (or /etc/rc.d/boot.local)
but anyway read the doc about how system is started.
it's right to change *.local files because when u choose automatic upgrade of package files /etc/profile, /etc/rc.d/boot would be overwritten.
well kmix is presumably a kde app (*COUGH*gnome*COUGH*) so you need to put it in ~/.xinitrc of ~/.Xclients depending on which one exists already. there's probaly a lame kde way to do it, but that's the hardcoded approach
You can also, for KDE, open the directory ~/.kde/Autostart (or whatever it is) and link the program into it. If you're going to be using KDE then I would advise you use this method. I've had KDE getting a bit stroppy when I launch stuff from .xinitrc. Of course, if you're going to be using another WM/DE then use the .xinitrc way. As with all applications, KMix can be run in any WM/DE as long as you have the QT libraries installed (i.e. KDE is installed ).
I thought that 'Save Session' was only really to save the state of your current session. If you need to log out quick and you've got konqueror running, then saving the state will ensure that konqueror loads up again when you log back in. For simply having the same program load on startup, this might not be helpful.
Originally posted by therion12 If you are using a alternate Window Manager then you can just add the program name to the ~/.xinitrc file above the wm load line. But for kde/gnome all you need to do is go in and choose save session.
"well kmix is presumably a kde app (*COUGH*gnome*COUGH*) so you need to put it in ~/.xinitrc of ~/.Xclients depending on which one exists already. there's probaly a lame kde way to do it, but that's the hardcoded approach"
"hm... in kde, just on exit say "save session" with application u wish to start running and all will be ok"
any particular reason for just plain repeating what people had already said?