Click to See Complete Forum and Search --> : Make Black box the default windows mgr.
Nick Wilson
11-15-2001, 07:03 PM
Hi
I can't find anything in the Twim menus to set black box as the 'start up' windows mgr.
Do I have to edit fstab?
If so, how?
Much thanks!
inkedmn
11-15-2001, 07:14 PM
create a file in your home directory called .xinitrc and add "blackbox" to the first line. that should do it...
Nick Wilson
11-16-2001, 07:51 AM
Thanks. I'll try it.
mrBen
11-16-2001, 08:20 AM
The best thing to do would be to copy the default xinitrc from /etc/X11 to your home directory (renaming it .xinitrc) and then edit the last line from what is probably exec twm, to exec blackbox
If you want any other blackbox progs to run by default, for instance I use bbpager and bbkeys (if you are using blackbox 0.6x then you will need bbkeys if you want any keyboard shortcuts) then add them in too. The end of my .xinitrc file looks like this:
bbpager &
bbkeys &
exec blackbox
<edit> I don't think I should've had the exec commands on the first 2</edit>
HTH
[ 16 November 2001: Message edited by: mrBen ]
Nick Wilson
11-16-2001, 08:30 AM
Well the first suggestion didn't work so I tried to find /etc/X11/xinitrc and it wasn't there!
Aaarrrgghhh!
mrBen
11-16-2001, 09:07 AM
There should be a default xinitrc file somewhere, and the chances are it is hidden somewhere in your /etc directory. While you're there, it might be an idea to see if one was created for the root user - have a look in the /root directory (you'll need to be su to do this).
There will be one somewhere!! (Perhaps just in /etc itself?) Let me know if you need more help.
tallulah
11-16-2001, 02:53 PM
Originally posted by Nick Wilson:
<STRONG>Hi
I can't find anything in the Twim menus to set black box as the 'start up' windows mgr.
Do I have to edit fstab?
If so, how?
Much thanks!</STRONG>
Do you have the file called desktop in /etc/sysconfig? I've used this file to type BLACKBOX (in all caps) as the only text, and this permanently changed my default desktop.
slacker_x
11-16-2001, 08:46 PM
try renaming that .xinitrc file to .xsession