LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Use blackbox in RedHat 8 (https://www.linuxquestions.org/questions/linux-software-2/use-blackbox-in-redhat-8-a-46661/)

mustardseed 02-22-2003 01:19 PM

Use blackbox in RedHat 8
 
I installed the rpm of the blackbox window manager, and i've tried all that i know how to do to get it work. i edited the /etc/X11/xdm/Xsessions file but when i choose blackbox from the gdm menu it loads TWM instead. any help or advice would be greatly appreciated.
thanks

Crashed_Again 02-22-2003 01:30 PM

Change to run-level 3 and edit(or create) the .xinitrc file in your home directory. All you have to do is add one line to your .xinitrc file:

/path/to/blackbox

Now when you type startx blackbox will run. There are a million posts about this in this forum if you need more detail.

slakmagik 02-23-2003 04:22 AM

Actually, my .xinitrc just says

blah blah
blackbox

but I have everything else, like TWM, commented out. That gets me blackbox when I start X - and a nice thing to do is load up any other apps you want in blackbox, like xterm, by putting it like

xterm -various args
other apps -various args
blackbox

But as far as getting it on the gdm menu, if it's anything like the kdm menu, I had to edit /opt/kde/share/config/kdmrc, and added blackbox to the 'session types=' section so that it would show in the drop down menu in the graphical login - and I put it first, so that it would be first in the list. gdm's probably something similar.

Maybe that's not the way you're supposed to do it, but it all works, anyway. ;)

cuckoopint 02-23-2003 10:38 AM

xdm uses the ~/.xsession file (which is basically the same idea)

Code:

# a ~/.xsession:
#
sleep 2 && epist &
#command &
#lala, etc...anything you want to run
#followed by '&'
exec blackbox

gdm uses xdm, but it may be a little different. you could try it though

btw, the difference between .xsession and .xinitrc is that the former is universal (gui login, startx, etc) while the latter is only 'startx'


All times are GMT -5. The time now is 10:17 AM.