blackbox and .xinitrc

G

germpest

Guest
I am having trouble getting blackbox to run instead of aqua. I tried making a new .xinitrc (with exec blackbox) in my home folder and rebooting, but it isn't working. any tips?
 
Joined
Dec 28, 2004
Messages
643
Reaction score
5
Points
18
Location
Albany, CA
Your Mac's Specs
ibook G4 12 inch running mac os 10.4 with: 60 gb HD+256 mb ram+Radeon 9200
Your talking about blackbox the linux environment right? Running it in Darwin?
 
OP
G

germpest

Guest
johninc said:
Your talking about blackbox the linux environment right? Running it in Darwin?

yeah, I already have it installed. It just won't let me run it, it gives me this message "bt::Display: failed to open display '' "
 
Joined
Dec 28, 2004
Messages
643
Reaction score
5
Points
18
Location
Albany, CA
Your Mac's Specs
ibook G4 12 inch running mac os 10.4 with: 60 gb HD+256 mb ram+Radeon 9200
I don't think Darwin is capable of running any window manager, though being able to install it is pretty cool on its own.
 
OP
G

germpest

Guest
I downloaded it and installed it for OS X tiger. So theoretically it should work...
 
OP
K

Kokopelli

Guest
You seem to be under a misunderstanding. You are running OS X, correct? If so Aqua will be running at boot. You could hack it down to a darwin command prompt in theory but that would be unwise.

To run blackbox first start X11 in full screen mode. This will take over your screen till such time as you kill X11 or type <cmd><alt>a.

If you want to boot into X11 install linux. This is not a joke nor an attempt at being a smar a**. It is simply the best way to utilize X11 apps and only way i know of to boot into X11.. OS X Apps are not X11 apps. They won't run on it. You can have two separate windows systems (which is actually handy upon occasion) but that is the best you can do as far as I know. (I use FVWM occasionally on the mac but never tried Blackbox on it.)
 
OP
G

germpest

Guest
Kokopelli said:
You seem to be under a misunderstanding. You are running OS X, correct? If so Aqua will be running at boot. You could hack it down to a darwin command prompt in theory but that would be unwise.

To run blackbox first start X11 in full screen mode. This will take over your screen till such time as you kill X11 or type <cmd><alt>a.

If you want to boot into X11 install linux. This is not a joke nor an attempt at being a smar a**. It is simply the best way to utilize X11 apps and only way i know of to boot into X11.. OS X Apps are not X11 apps. They won't run on it. You can have two separate windows systems (which is actually handy upon occasion) but that is the best you can do as far as I know. (I use FVWM occasionally on the mac but never tried Blackbox on it.)

I think I understand what you are saying. Are you familiar with x11starter, it says that it can run window managers, I just need to figure out how to get it to run black box instead of TWM.
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
Here is a sample copy of a working .xinitrc (mine actually).
It should help you get started getting different window managers to run.
I don't recommend changing anything above the long line of #####'s.


#!/bin/sh
###################################
# X init file for OS X
# by Craig Domingue
# 10/29/2005
#

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

#############################
# merge in defaults and keymaps
#
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
unset LANG
quartz-wm --only-proxy &

#############################################################

##########################
# Set up for Fink
#
#source /sw/bin/init.sh

###########################
# Set up for DarwinPorts
#
#PATH="/usr/local/bin:/usr/include:/opt/local/bin:${PATH}"
#export PATH
#MANPATH="/opt/local/share/man"
#export MANPATH
#INFOPATH="/opt/local/share/info"
#export INFOPATH

##########################
# start Enlightenment
#
# Execute enlightenment. ALWAYS make sure this is at the end of this
# startup file - and ALWAYS run things before it with an & at the end.
# For example:
# xterm &
# kpanel &
# It is suggested to use Enlightenment's Remember dialog for having apps
# spawned automatically on login.
#
#exec /sw/bin/enlightenment

##########################
# start KDE
#
# command puts log in /tmp instead of console
#
#export KDEWM='kwin'
#/sw/bin/startkde >/tmp/kde.logC 2>&1

###########################
# start WindowMaker
exec wmaker

######################################
# start Apple window manager
#exec quartz-wm

#############################
# Ion window manager
#exec ion

############################
# Gnome
#exec gnome-session





Add code to start Blackbox or uncomment one of the other ones you have installed. If you need more help, just ask.
 
OP
G

germpest

Guest
I just added

exec blackbox to the end of your file. and I put a # before exec wmaker.
I didn't work. My file is located in my Users/(my name)jesse directory, is that the right place?
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
That's the right place.

1. Are you running OS X or Darwin?
the rest of these assume OS X (there is a difference)
2 Did you uncomment the part for DarwinPorts/Fink?
Which one do you have?
3. Are you running X11 rooted or rootless?
Full screen or in Aqua
4. what kind of errors are you getting?
look in Console app

re-reading your posts I see Tiger, disregard no. 1.
Do any other window managers work?
Is there a period in the filename? .xinitrc
You shouldn't see it in Finder.

Some of these questions are simple/stupid but you got to cover all the bases.

Here is a good place to go for help/info: http://homepage.mac.com/sao1/fink/index.html
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top