image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old April 30th, 2003, 04: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
Cool 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
  #2  
Old May 1st, 2003, 07:53 AM
Registered User
 
Join Date: Jan 2002
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
bluehz is on a distinguished road
Are you getting flux box to run fullscreen.. thats what I have not been able to achieve with Apple's X11.
Reply With Quote
  #3  
Old May 1st, 2003, 09:17 AM
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
By full screen do you mean rooted? If so I haven't. If not could you send me some more info about you're question?

I posted a question about running rooted to these forums recently and was told that Apple's X11 isn't capable of it.

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apples x11 cekuhnen Unix & X11 1 May 4th, 2003 03:56 PM
Apple's X11 in rooted mode willmac Unix & X11 2 May 1st, 2003 06:29 AM
[HOWTO] - Run the Fluxbox Window manager on Apple's X11 willmac HOWTO & FAQs 0 April 30th, 2003 04:53 PM
Apple's X11 and virtual desktops will103 Unix & X11 4 February 17th, 2003 05:54 PM
BASIC X11 Questions chief Unix & X11 9 January 12th, 2003 01:07 PM


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


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