Marco Fioretti declaimed:
> Hello,
>
> here at work I've been finally given a PC with Linux Red Hat 7.2
> and blackbox-0.61.1-2. Distro and/or blackbox version cannot be
> changed because of company policies too shameful to discuss them
> here. Also, I have no root password.
>
> The problem: the PC has been configured with initlevel 5, and GNOME.
>
> How can I use blackbox as my wm? If I put /usr/bin/blackbox in .xsession
> and the WINDOW_MANAGER environment variable, GNOME croaks because I
> am not using a GNOME compliant WM, and I'm left with an unusable desktop
>
> Keep in mind that I don't need GNOME at all, I just got it with the PC,
> and, again, requests to change the "default" install, i.e. to mess with
> gdm or such, are going to be ignored, for the more or less right reason
> that other people may use this PC, and they would get lost without icons
> and such. Any clues?
>
> TIA,
> Marco Fioretti
Here's what I do on the RedHat/Gnome system at school:
- Log into to Failsafe Xterm mode. This gives me an xterm with no window
frame, but if I move the mouse over it, I can enter commands.
- Run an executable script named xsession-default like this:
$ ./xsession-default
---contenst of .xsession-default---
/usr/local/bin/blackbox &
#xtoolwait -display :0.1 bbkeys -i -display :0.1
#xtoolwait bbkeys -i
#xtoolwait -display :0.1 bbkeys -display :0.1 -i
#xtoolwait bblaunch -d 0 xosview -font fixed +net -geometry 214x210+938+652
#xtoolwait bbtime -w
#xtoolwait bbpal -p debian -w -s
#xtoolwait bbpager -s -w
#xtoolwait bbpal -p sun -w -s
#xtoolwait wmcdplay -w
#xtoolwait wmmixer -w
#xtoolwait wmxmms
#xtoolwait bbpal -p rathead -w -s
#xtoolwait bbcd -w -s
#DISPLAY=:0.1 bbpal -p rathead -w -s
wait $wmpid
---end of .xsession-default---
The commented-out lines are from my home Debian GNU/Linux system. Note
that while I can get bbkeys to run on RH7.2, the guiconfigurator won't
open, but it works if I hack the .bbkeysrc file by hand.
HTH, PM
--
Paul Mackinney
[EMAIL PROTECTED]