.xinitrc and fluxbox/startup don't work?
Hello,
I'm trying to execute some commands at X starting time - like 'xset b off', 'xset m 4' and so on. I thought that putting them in ~/.xinitrc would do the job, but it doesn't. This is my .xinitrc, and I start X with 'startx': Code:
rexima vol 100 Code:
/usr/local/bin/fbsetroot -solid black Any ideas? |
Hi,
how do you start X, is it started by your display manager (like xdm or so) or do you use the startx command or other ? In all cases, are you sure that your fluxbox starting scripts are executing your ~/.xinitrc or your ~/.xsession files ? Try to add on the first line of your ~/.fluxbox/startup something like : Code:
echo "Startup file executed" > ~/STARTUP Regards, ante |
I already wrote that I use 'startx' to start X.
I've done a little debug and it appears that both scripts are being run. Mistery. |
oops sorry for the 'startx' i've didn't see it.
That some commands like 'echo' work (and presuming that fluxbox starts) and that others don't, sounds really strange to me. Maybe that your commands don't work for any reason ? |
Quote:
Code:
rexima vol 100 & I'm not familiar with rexima, but if all you're after is setting the sound to your liking, read 7.2.4 Setting Default Values for Mixer Channels. To turn off the bell, use: # echo 'hw.syscons.bell=0' >> /etc/sysctl.conf Upon reboot, the bell will be off. (Or you can use sysctl to set the MIB afterwards to avoid a reboot.) Quote:
|
Also, why are you cranking vol and pcm up to 100 each? Let's see the results of the following command:
% mixer |
Here is the mixer:
Code:
[ivanatora] ~> mixer You are right about sending the processes in background with '&' but I think these are completed within a part of a second so it is not so critical to background these. |
All times are GMT -5. The time now is 01:16 AM. |