Results 1 to 10 of 10
Running Slack 10.0 and Windowmaker. Wassa best way to run a dockapp when windowmaker starts? What file should I add the command to?
/etc/rc.d/rc.local can be used before X but ...
- 09-11-2005 #1Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Running scripts at x start
Running Slack 10.0 and Windowmaker. Wassa best way to run a dockapp when windowmaker starts? What file should I add the command to?
/etc/rc.d/rc.local can be used before X but what about when X starts?
Ta.
- 09-11-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
Most DE's or WM's have an autostart folder, just do some googling
. XFCE for example has ~/Desktop/Autostart/. You just have to put a symlink to the program there.
** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **
- 09-13-2005 #3Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Just for info, created a file called ~/.xprofile and added the scripts to there like
wmCalCloc &
Works fine.
May be different if you're using a desktop manager, booting straight into command line here, then Windowmaker with startx.
- 09-14-2005 #4Just Joined!
- Join Date
- Aug 2004
- Location
- Croatia, Zagreb
- Posts
- 70
The same goes for .xinitrc file. I guess .xprofile and .xinitrc pretty much do the same thing.
- 09-14-2005 #5Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
.xinitrc is for init 3 based startx
.xprofile is for init 4 (slack) XDM login
- 09-15-2005 #6Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Hmm, tis not actually running at boot. Windowmaker must be saving the settings somewhere. I will try .xinitrc when I get a chance.
- 09-15-2005 #7Just Joined!
- Join Date
- Aug 2004
- Location
- Croatia, Zagreb
- Posts
- 70
I see, thanks for the clarification.
Originally Posted by kern
Daniel
- 09-15-2005 #8Linux Newbie
- Join Date
- Jul 2005
- Location
- Turn Around
- Posts
- 202
.xinitrc is runlevel 2 for debian also i guess?
if a desktop manager isnt starting at boot your gonna have to check the startup scripts found in a subdirectory of the /etc/ (/etc/init.d for debian) folder and be sure its symlinked to the right directory for your runlevel.
also be sure that you have a desktop manager installed
.
- 09-15-2005 #9Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
you're talking about graphical init 5 (4 on slack) XDM login
you do not symlink anything in slack, thats debian
you edit the initdefault in /etc/inittab to 4 instead of 3
thats it.
- 09-15-2005 #10Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
also , slackware doesnt use the System V init.d layout
it uses the BSD init system
you dont have specific directories for different runlevels, although there is a sysv init package which supports them if you want, the rc.S / rc.M scripts will also honour any home made rc.x/ dirs you make too.
but I tend not to bother with them.


Reply With Quote