In KDE desktop environment,we cannot add the start script in /etc/rc.local file simple.
The GUI program needs to communicate with the X server.
The Apps that do not need X server can be done in /etc/rc.local.
So ,for KDE here, we should add the autostart script in ~/.kde4/Autostart/ directory.
In this path,we create a file has execute permission,when the kde starts it will call all the files here,
to start the user need program.
for KDE3,it is ~/kde/Autostart.
for KDE4,it is ~/.kde4/Autostart.
for Gnome,it is ~/.gnomerc (I forget the detail name).
|