image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old April 30th, 2003, 03:53 PM
Registered User
 
Join Date: Apr 2003
Location: Glasgow, Scotland
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
willmac is on a distinguished road
Running the Fluxbox Window manager on Apple's X11

Apple's X11 comes with a very good default window manager but I decided to try some other options. My chief reason for this was the lack of multiple desktop support, which is default in all other X11 window managers that I have used.

I decided to install Fluxbox, which is a lightweight window manager that I thought would work nicely with the Aqua desktop in OSX. The following is a blow-for-blow account of how to build and configure fluxbox to work over Apple's X11. This information was gathered from the documentation on the Fluxbox website. More detailed information can be found there.

Personally I think that this Window manager is fantastic.

For this to work you need the following

1) Apple's X11 (obviously)
2) The root account enabled (a search of these forums will show you how to do that)
3) The Apple Developer Tools
4) The Fluxbox tarball

You need to download the Source tarball from the fluxbox website, which can be found at

http://fluxbox.sourceforge.net/

As of writing the current version is 0.1.14.

Move the tarball to a convenient directory. In the Terminal navigate to that directory and unstuff it as follows. In the Terminal type ([RETURN] means press the Return key):

tar xzvf fluxbox-0.1.14.tar.gz [RETURN]

Then move into the fluxbox directory as follows:

cd fluxbox-0.1.14 [RETURN]

The next step is to configure and make Fluxbox. In the Terminal type:

./configure [RETURN]

Once this has finished type:

make [RETURN]

Once this has finished you need to gain root privileges and type:

make install [RETURN]

Ok thats the worst out of the way. The next step is to perform some post configuration tasks:

1) Create (or modify) the .xinitrc file within you're home directory. You can do this using the "pico" text editor in the Terminal:

cd ~ [RETURN]

pico .tcshrc [RETURN]

This is a copy of my simple .xinitrc file-

#This line sets your path environment
PATH=$PATH:/usr/X11R6/bin:/sw/bin:/usr/local/bin
export PATH

# Opens up an xterm
xterm -geometry -250+200 &

# opens up the oclock clock
oclock -geometry -100+50 &

# Runs the fluxbox window manager
exec /usr/local/bin/fluxbox

Save the changes and exit Pico.

2) Now you need to run the following command in the Terminal:

$ chmod 700 .xinitrc [RETURN]

3) Finally you need to create a directory for fluxbox to save you're personal settings in. In the Terminal type:

mkdir .fluxbox [RETURN]

You should now have a fully functioning fluxbox window manager.

Check out the file below to see what it looks like. You can change the look with theme files but I rather like the default look.

Enjoy, will
Reply With Quote
Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HOWTO] - Clone a finder window. MacLuv HOWTO & FAQs 2 May 21st, 2004 10:12 PM
What X window manager do you run? hazmat Unix & X11 12 May 25th, 2003 10:51 AM
Running the Fluxbox Window manager on Apple's X11 willmac Unix & X11 2 May 1st, 2003 08:17 AM
Apple's X11 and virtual desktops will103 Unix & X11 4 February 17th, 2003 04:54 PM
BASIC X11 Questions chief Unix & X11 9 January 12th, 2003 12:07 PM


All times are GMT -5. The time now is 09:25 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2008 DigitalCrowd, Inc.