LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2003, 01:19 PM   #1
mustardseed
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 02-22-2003, 01:30 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 02-23-2003, 04:22 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 02-23-2003, 10:38 AM   #4
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
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'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get blackbox working under GDM in Redhat 9? csvke Linux - Software 2 01-25-2004 08:52 PM
RedHat/Fedora and blackbox pandasonic Linux - Software 3 11-21-2003 07:20 AM
blackbox & redhat 8.0 gunter Linux - General 1 02-21-2003 09:19 AM
BlackBox On redhat 8 buff330 Linux - Software 1 01-24-2003 08:37 PM
installing a blackbox on redhat 8? sephilos Linux - Software 1 11-24-2002 10:37 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration