NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
load at booti got sarge running and azureus as well. i would like to make the system load azureus when i log in as a user, automatically. no matter if i use gnome or kde. could someone be so kind and tell me how to do that, please? |
Unfortunately it's
Unfortunately it's incredibly complicated to do it the "X" way. However, Gnome and KDE have their own way of starting something up. I haven't touched Gnome for 5 years so I won't tell you any more about it. For KDE, go to your user's .kde/Autostart directory and put in a symlink to azureus.
To do it the "X" way you need to start azureus after the session manager sets everything up... I have a hard time just getting through the numerous undocumented X startup and configuration files. But if you're keen, you can start by reading the init script for your desktop manager, for example /etc/init.d/kdm. From there you find out what order things load in and discover what their config files are and on and on. It's a horrible mess.
Load at boot
It sure is a maze following the X config files around the system, good luck with that or just add it to gnome and kde's startup.
Are we just a blip in history, where the working class had too much access to information and freedom?
You can have it start when X
You can have it start when X starts, regardless of which window manager you use. Add the command to ~/.xsession , followed by an & if it's not the last command in the file. Example: "/path/to/azureus &".
This was my .xsession file
#!/bin/bashexec thunderbird &
exec firefox &
exec gclipper &
exec fvwm2
I can't remember why I had the windowmanager last in the list but I'm sure I had a good reason. And no '&' after the last command!
That a normal-looking
That a normal-looking .xsession file, though I don't know what all those "exec"s
are for. The reason you have a & at the end of each command (except the last
which doesn't need it) is because you don't want to make the script wait
for each command to finish before executing the next.
You could just put the command "azureus &" before the last line.
No exec eccept before the windowmanager
I was curious too about all whose exec and now I had googled and found some interesting stuff and learned a bit by the way.
I found a real good explanation about the .xsession file and it's configuration at http://www.andamooka.org/reader.pl?pgid=deb2node76
Read that!
In short it says.
The simplest .xsession just runs a window manager:exec fvwm
This will run fvwm, and the X session will end when fvwm exits. If you do it without the exec, everything will appear to behave the same way, but behind the scenes .xsession will hang around waiting for fvwm, and .xsession will exit after fvwm does. Using exec is slightly better because fvwm replaces .xsession instead of leaving it waiting. You can use the ps or top command to verify this.
A more useful .xsession runs a few clients before starting the window manager. For example, you might want some xterms and an xclock whenever you start X. No problem; just enter xterm & xterm & xclock & exec fvwm. Two xterms and an xclock start up in the background, and then the window manager is launched. When you quit the window manager, you'll also quit X.
No more than one exec for me in the future. :-)