Subject: Help setting up flux box, where to copy .xinitrc
To: None <>
From: Alasdair <>
List: netbsd-users
Date: 11/16/2006 22:04:23
I am a new user to NetBSD.

I am trying to set up Fluxbox to use as my window manager. However so far I 
haven't had much success. It installed ok, however when starting X with the 
command "startx" the window manager still appears to be twm.

I edited my .xinitrc as suggested in the NetBSD guide

section 8.9 Other Window Managers

So from the line
# start some nice programs

my .xinitrc file looks like this

start fluxbox &
xclock -geometry 50x50 -1 - 1 &
xterm -geometry 80x34 - 1 + 1

My .xinitrc is found in:


As opposed to the path noted in the manual:


Does this make a difference?

At this point I should note that  I have not copied .xinitrc to $HOME  as 
recommended by the NetBSD manual. Don't laugh but I am a little confused 
where to copy it! As I understand it the default $HOME directory is /root . 
I take it this is the "home directory" also described as ~/ that 
the  Fluxbox documentation also refers to ?

Or should I create the directory "home" and then home/"username"  then copy 
.xinitrc to the directory "username"?

I imagine that should need I create these directories I will need to append 
them to my $PATH.

I have created a user account as described in

All the stuff that I have done here was done while logged in as root

I think that clarifying where my "home " directory should be, and what it 
should be called will solve a lot of my problems. I know this stuff should 
be a no-brainer for any *nix user, but for some reason I am finding it 
difficult to get information on how the directory tree should look.

Some info on versions and system

NetBSD 3.0.1

Architechture 386

Ok laugh all you like, call me an idiot, I don't care, but any help would 
be most appreciated.