make a programm load at login
i am running sarge and i would like to make gaim and azureus to load when i login as user. any ideas?
|
if kde goto .kde/Autorun and put there symlink
|
Wenn you turn off your computer, don't shut those apps, wenn you boot the system they shoul'd start working, works for me.
|
that is not a solution. what happens when user b of the system logs in and then shuts down the pc? the when i will login i will have to start those programms manually.
|
Exactly
Dear Binary-dreamer!
What Yabka and NoFlag said is good, but look out: don't do both of the suggestions, becouse it is possible, that the same app will start twice, and you will have 2 running applications, which are the same (2 gaims running in the same time). When user b logs in and turns the PC off, you don't have to start the apps when you log in, becouse KDE remembers, for every user, which applications were running when you logged out, so it will start them. |
You're better off with a small script, started from initd. It's quite simple, like this:
Code:
#! bin/sh Learn more on scripting from this link:study: |
Quote:
and if the application need X ? it will proboly fail . pusrob: my name is Jabka not Yabka .. |
put symlink(s) to the program you want to run in $HOME/.kde/Autostart and kde will do its best to run them when you login everytime ;)
|
No problem. In the rc dir's you'll find that the scripts have names starting with S and a number. This number controls the sequence of execution of the scripts. Add S20 in the symlink (ln -s <path/to/script> S20<scriptname>) so X has time to start :) To be sure you may increase the number to 25 or 30.
|
All times are GMT -5. The time now is 04:30 PM. |