Discussion Locked

Linux Startup

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I make programs like Gaim start when I log into linux, and can I make it user specific?

Thanks,
DM

7 replies

by sonty

I'm not really sure, but I think you may add a script in your rc.dX directory, where X is the number of your default startup runlevel (it's usually 3 if you don't boot directly into X, or 5 if you do).
The script should contain the initialization string (cmd line and options) for your program. Something like:

#!/sbin/bash

mc

Then configure your services to include this script (serviceconf under KDE 2, etc.).

I sure hope this works and helps.

by chicalinux

If you have access to Gnome, it has an easy gui interface that will allow you to specify what programs you want to autostart when you log in. You access it by clicking on the little foot (start) -> Configuration -> Gnome -> Startup Programs.

I do not know what distro you have, I have the Mandrake 8.1. If you are using a fairly updated distribution, it should be there. Hope this help you.

by rossiter

To have individual programs start depending on the user, put the command line entry that starts said program in their .bash_profile. This file exists in the users home directory. An ls -la will show it as anything preceeded with a . is a hidden file.

HTH,
Eric

This discussion is closed to new replies.