LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i make a software auto start after login? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-make-a-software-auto-start-after-login-137196/)

286 01-21-2004 03:21 PM

how do i make a software auto start after login?
 
such like gaim? or Ksim? thank you very much!

Mega Man X 01-21-2004 03:39 PM

Depends if you login in graphical or text login. I login as text, so then I edit the file called xinitrc (it could be either located at your /etc/X11/xinitrc or at your home directory as .xinitrc

There, I search after the line which start my display manager and add what I want to start too. E.g:

exec gaim &
exec blackbox

That would start gaim, and then blackbox. Remember to add an "&" at the end of all programs you want to start, but not the last one ;)

mikshaw 01-21-2004 06:42 PM

If you're using KDE, there's a ~/.kde/Autostart directory....I don't use KDE so not sure what you put in it....I assume probably a symlink

If you use Fluxbox, 0.9.6 or newer, you can add a line to ~/.fluxbox/apps:
Code:

[startup]  {/path/to/application}
I don't really like adding applications to ~/.xinitrc since some apps don't work well in some window managers.


All times are GMT -5. The time now is 06:27 AM.