what is the start-up script for slack?....
Hi. Is rc.local where i put stuff I want to start on boot-up? Like I want xscreensaver to start up automatically when i startx. What is the official file you should put programs you want to 'auto-start' upon lauching X?
thank you :) |
/etc/rc.d/rc.local
|
Ummmm????
no the above post is wrong. If you want to start an application each time you launch X you will need to do the following. If you run a disply manager like xdm, kdm, or gdm then make a file in your home directory called .xsession and in that file, place the following lines #!/bin/sh exec programname & exec windowmanager #eg exec gnome-session Then save this file and both the program and the particular WM/DE should start. If your system boots up to console and you dont use a display manager, then the process is the same, however the file in the home dir should be called .xinitrc instead |
Yeah my bad, the rc.local is only for bootup without X...
|
I put xscreensaver & in my .xinitrc file and it doesn't launch the xscreensaver dameon on x start-up. I have even tried exec xscreensaver to no avail.
thanks. |
try to put xscreensaver -nosplash & in your .xinitrc file.
|
All times are GMT -5. The time now is 05:57 PM. |