X11 and OpenOffice on Mac OS X
by Wei-Meng Lee02/07/2003
Apple recently released X11 for Mac OS X. It's the X Windows System that allows programmers to build graphical Unix-based applications and is based on the open source XFree86 project. While you may not be a programmer, knowing how to install X11 on your system can allow you to run the hundreds of applications available under X11.
Today I'll show you how to install X11 for Mac OS X on your system and how to start using OpenOffice, a popular open source free Microsoft Office-like application for Unix-based systems.
Installing X11
X11 for Mac OS X (Public Beta) can be downloaded from Apple. After installation, you should be able to find the X11 icon in your Applications folder:
|
|
Double-clicking on the X11 icon will launch X11, displaying the xterm window:
|
|
To launch an X11 application, you can use the xterm window or use the Applescripts included with the application. We will see more about this in the next section.
|
Related Reading Mac OS X in a Nutshell |
Installing OpenOffice
One very useful application that you might want to install after getting X11 running is OpenOffice.org 1.0. OpenOffice is an open source application that's free for Unix-based Operating Systems. OpenOffice for Mac OS X is currently in Final Beta. You can download it from their web site. Of course you'll need X11 installed to use the application.
OpenOffice shares the same code base as StarOffice 6. The main difference between the two is that StarOffice offers fee-based support, while OpenOffice is entirely free, depending on the wide developer community to contribute to it.
When you install OpenOffice, it will prompt you saying that XDarwin does not exist in the Applications directory. This is alright; you just need to inform it that X11 is now your X Windows.
|
|
Nearing the end of the installation procedure, OpenOffice will display the following screen:
|
|
The screen contains instructions to run OpenOffice, either from the AppleScript executables or manually, using xterm/Terminal.
When OpenOffice is installed, you should find the OpenOffice.org1.0.1folder within your Applications folder:
|
|
To run OpenOffice, double-click on the Start OpenOffice.org AppleScript icon. Note that this procedure may not always work. Wait for about a minute or so to see if OpenOffice launches, otherwise you have to manually start OpenOffice. If you realized that nothing has happened after double-clicking the AppleScript icon, try the next step.
Launch X11 and select the Customize... item under the Applications menu. Add a new item by clicking on the Add Item button:
|
|
Under Name, type OpenOffice.org, and under Command, type /Applications/OpenOffice.org1.0.1/program/soffice
To launch OpenOffice, go to the Applications menu again and select the newly-added OpenOffice.org.
|
|
If everything goes well, you should see the OpenOffice.org registration form:
|
|
You can now start using OpenOffice!
OpenOffice is positioned as a total replacement for Microsoft Office. It thus includes a word processor, a spreadsheet application, a drawing application, and a presentation application:
|
|
I tried to load a Word document created using Microsoft Office and it loaded correctly in OpenOffice. Basically, the look-and-feel is similar to that of Microsoft Office. A couple of things of which Mac users should take note:
- Each application runs within its own window. As such, the menu for each application is at the top of each window and not at the top of the screen. This follows the Windows convention.
- Command shortcuts use PC format, such as Control-C for copy, and not Command-C as in Mac OS X.
- You can copy and paste items between applications in Mac OS X and OpenOffice.
Overall, I'm happy with OpenOffice, though I encountered some annoyances with the scroller-wheel of my mouse when using the application.
To give the word processor a real-world test, I wrote the draft of this article using it (normally, I will use Microsoft Word on my PC for this task). My only complaint is that I didn't discover this gem of an application suite earlier enough; I had just paid for a Microsoft Office license for Mac OS X!
Wei-Meng Lee (Microsoft MVP) http://weimenglee.blogspot.com is a technologist and founder of Developer Learning Solutions http://www.developerlearningsolutions.com, a technology company specializing in hands-on training on the latest Microsoft technologies.
Return to the Mac DevCenter.
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 36 of 36.
-
x11 link removed by Apple
2007-06-13 06:03:06 timxc [Reply | View]
Apple appear to have removed X11 from the link provided in the O'Reilly article on OpenOffice. Can X11 be downloaded from anywhere else?
-
OpenOffice and MS Office 2004 - Word
2007-02-14 18:29:36 librarybabe [Reply | View]
I was able to install X11 and OpenOffice without difficulty, but now Open Office is the default application for opening all .doc and .ppt documents and attachments.
This isn't what I want. (I want it to be Word and PowerPoint, respectively.)
How do I change it?
Thanks!
-
X11 and Open Office
2006-11-18 09:08:00 DavidCowell42 [Reply | View]
Hi, When I try to install Open Office on my Mac it says I need X11. When I try to instal X11 a message says that 'you cannot instal X11 on this volume. Newer software already exists on your computer'. Can anyone explain how I get round this problem. Much obliged. David
-
OO with users on a LDAP-Server
2004-02-24 03:26:18 matthias.m.m [Reply | View]
Hi,
I'm trying to use OO 1.0.3 on a 450 MHZ G4 with MacOS X.3.2. When I use the local admin account to login to my mac, there is no problem, and I can use OO.
But when I use an account from my LDAP-server, with home-directory at the server, I get the following error:
befor x11 server is starting a message appears: "couldn't find openOffice.org."
I tried an other OO-Launcher, I tried to start from the terminal, always the same error. Also formating and reinsallation as a LDAP-server user doesn't change anything. And as local admin there is always no problem.
hope anybody could help.
thanks a lot.
matthias
-
Starting OpenOffice w AppleScript
2004-02-04 10:31:27 kdsbg [Reply | View]
When installing OpenOffice I associated the "Start OpenOffice.org" applescript with the wrong X11 application. How do I change this to X11user? Am able to run from X11 application menu.
Thanks
-
cannot install
2004-01-29 09:49:06 jul [Reply | View]
thank you for your great service.
i just have downloaded X11 but i cannot install it. if i klick the install button, my computer is telling me that he needs a program to open "install".
"es wurde kein standard programm angegeben, mit dem das dokument *install* geöffnet werden kann"
my computer is thinking that install is a dokument.
what am i doing wrong?
it would be very nice, if you can help me.
--jul
-
Excellent Article
2003-11-07 13:01:17 stevekilpatrick [Reply | View]
Very informative. A great help in installing on Macs on my network. Helped us standardize cross platform. Thanks.
-
how do you install dictionaries
2003-10-17 05:12:54 anonymous2 [Reply | View]
I am trying to install a spanish dictionary and it does not work!!!!
-
bus error
2003-06-19 15:27:20 anonymous2 [Reply | View]
i've installed X11 and the whole OpenOffice.org package but can't get either Sttart OpenOffice.org or the Applications menu from X11 to do anything. when i typed " sh /Applications/OpenOffice.org1.0.1/program/soffice" i get a response of simply "Bus Error"....
i'm running os X.2.6 on a 400MHz G4 with 640MB of RAM, if this is any help....thoughts?
-
bus error
2003-06-19 15:27:11 anonymous2 [Reply | View]
i've installed X11 and the whole OpenOffice.org package but can't get either Sttart OpenOffice.org or the Applications menu from X11 to do anything. when i typed " sh /Applications/OpenOffice.org1.0.1/program/soffice" i get a response of simply "Bus Error"....
i'm running os X.2.6 on a 400MHz G4 with 640MB of RAM, if this is any help....thoughts?
-
Copy Paste Problems
2003-06-18 09:02:33 anonymous2 [Reply | View]
I was able to install X11 and OpenOffice.org without any hitch. I've been able to to everything I could do on my old Linux box but I've run into a problem with copying and pasting, for example copying text from a document onto an outgoing message using Mail. OpenOffice.org goes through all the motions of copying but there is no way I can paste onto the e-mail message.
Any suggestions? thanks
-
Fonts and printing in OpenOffice.org
2003-04-29 13:17:49 dynamic88 [Reply | View]
I just took the plunge and installed OpenOffice.org on my G4 PowerMac. It's my first successful attempt at getting an app to run under X11. The instructions in the article above were invaluable. Anyways, I'm glad to finally have it on my Mac, after becoming addicted to OpenOffice.org on my Windoze box at work. Still, there are a couple of MINOR glitches to be solved:
1. Limited fonts--The only fonts that appear in the fonts menu appear to be those that installed with OpenOffice.org. The OpenOffice.org Website states that other fonts can be "manually installed". How do I go about this?
2. Printing--The only print driver the OpenOffice.org seems able to access is a generic driver, which will not communicate with my Canon S400 printer. How do I get OpenOffice.org to recognize this el cheapo non-postscript ink jet printer? This is by far the most serious of the three issues. Don't ask me why I listed it second.
3. "Launch OpenOffice.org" icon--I double-clicked this icon in the OpenOffice.org folder and got a dialog box asking "Darwin". I cancelled out of it and later went back into it when I figured out I needed to point it to X11. Only problem is, now when I double-click this icon, the "OpenOffice.org" name appears on the menu bar at the top of the screen, but I can't get the dialog box to come up. How do I get it back? Is there a preference file somewhere I need to throw away?
Any assistance you can render in this area would be greatly appreciated. Please bear in mind that I'm a Unix novice.
Thanks!
-
soffice presentation problem
2003-04-19 05:12:06 anonymous2 [Reply | View]
I've been trying out OpenOffice under OS X and have an issue using simpress. When I launch into a presentation, the desktop menu bar is visible at the top of the screen. Does anyone know how to avoid this, either through OpenOffice or through OS X itself? -- MB
-
XWP on Mac OS X?
2003-04-02 04:51:48 anonymous2 [Reply | View]
For Years now I'm a WordPerfect User and recently changes to a Apple Macintosh System.
The old WP 3.5e for Mac is not really appropriate and I wonder if I could get XWP 8.0 for LINUX run under X11 for MacOSX.
Can anybody give an advice?
heino.schmull(a)uni-tuebingen.de
-
OpenOffice: Day 1 a good start
2003-03-10 04:09:52 urbor185 [Reply | View]
I usually enjoyed and trusted Wei-Meng's articles. this one convinced me to try OpenOffice and the X11 beta.
A (surprisingly) perfectly smooth installation and start of Open Office. It read my Microsoft .doc and .xls the way I expected. Found my laserprint and printed well.
For info I worked on a Titanium Powerbook G4 with OSX 10.2.4, HP LaserJet 1200. Also I am not Unix-savy. I could be classified as the business guy.
I will this a SERIOUS trial and let you know in one month from here.
JB
-
other apps
2003-03-05 21:59:35 anonymous2 [Reply | View]
To use writer, math, calc and draw, I have no pb with the menu Applications of X11, but for other apps, apart from GRASS, I don't see what to put in the field "command" and I have to launch the app with xterm.
Where am I wrong?
-
Installation of Open Office fails
2003-02-17 09:53:12 anonymous2 [Reply | View]
Installation of Open Office fails.
I am the administrator for this Macintosh. The application starts but quits with a permissions error. The files and directories all belong to me and the permissions on the files look fine (i.e., directories are drwx and files are -rwx.
-
Installation and Execution
2003-02-16 04:34:09 scottharrison [Reply | View]
Installation of X11 and OpenOffice.org was just as described. The Applescript did not work but the X11 Terminal Application menu did. I opened Microsoft Office Excel and Word files without incident. Neither had significant formatting or other characteristics. I copied and pasted a column of calculations with the expected results.
An IBM and Burroughs mainframe programmer, I'm looking forward to learning PC programming and participating in the X11 development community.
-
Printing
2003-02-15 06:04:29 anonymous2 [Reply | View]
Does OpenOffice.org use OS X printers? Does printing work at all?
My printer, the Samsung ML-1430 laser printer does not show up in the printer setup utility. I tried to setup another PCL printer, but it didn't work.
I appreciate some feedback on this.
-
International keyboards and fonts
2003-02-15 00:43:15 anonymous2 [Reply | View]
The latest beta of Apple X11 fixes the issue with international keyboards.
There are patches for using the installed Aplle fonts WARNING: this is a work in progress.
Go to the OpenOffice.org forums for testing on Mac OS X
-
how bout fonts?
2003-02-14 05:55:21 anonymous2 [Reply | View]
how do i make more fonts available to open office - ie- fonts that don't suck?
-
Building X App On Mac OS X
2003-02-13 10:49:07 anonymous2 [Reply | View]
Has Anybody Tried To Build A X11 App Just To See If Apple's X11 SDK Works?
-
Problems getting started
2003-02-12 07:46:02 parsimony [Reply | View]
Well, I went through the prescribed steps without success and so then I tried the less prescibed steps (following the example shell commands for isolating errors-see last panel of Install Complete), still no success.
The steps I followed and results:
[localhost:~/Applications] david% cd /Applications/OpenOffice.org1.0.1/program
[localhost:/Applications/OpenOffice.org1.0.1/program] david% sh soffice
salogl.cxx/GetOGLFnc(): Could not load symbol glFlush
dyld: /Applications/OpenOffice.org1.0.1/program/soffice.bin Undefined symbols:
OpenGL undefined reference to _gll_noop expected to be defined in /usr/X11R6/lib/libGL.dylib
OpenGL undefined reference to _gll_pkey expected to be defined in /usr/X11R6/lib/libGL.dylib
Trace/BPT trap
[localhost:/Applications/OpenOffice.org1.0.1/program] david%
I also vi'ed the InstallLog, and everything installed correctly, so for some reason I'm getting, what appear to me a true novice, problems using or implementing the OpenGL aspects required for running OOo.
Thank you all in advance for your help,
david
-
Proplems getting started
2003-02-12 07:30:21 anonymous2 [Reply | View]
I tried the installation as instructed and had no luck with the methods in Lee's article. So, I tried the instructions that followed the Install Complete for isolating errors.
Well, I think i've isolated them but do not understand them. I'm obviously a novice.
Here is the xterm input and output:
[localhost:~/Applications] david% setenv DISPLAY localhost:0
[localhost:~/Applications] david% setenv DYLD_LIBRARY_PATH /Applications/OpenOff
ice.gor1.0.1/program:/Applications/OpenOffice.org1.0.1/program/filter:/usr/X11R6
/lib
[localhost:~/Applications] david% cd /Applications/OpenOffice.org1.0.1/program
[localhost:/Applications/OpenOffice.org1.0.1/program] david% sh soffice
salogl.cxx/GetOGLFnc(): Could not load symbol glFlush
dyld: /Applications/OpenOffice.org1.0.1/program/soffice.bin Undefined symbols:
OpenGL undefined reference to _gll_noop expected to be defined in /usr/X11R6/lib
/libGL.dylib
OpenGL undefined reference to _gll_pkey expected to be defined in /usr/X11R6/lib
/libGL.dylib
Trace/BPT trap
[localhost:/Applications/OpenOffice.org1.0.1/program] david%
Thank you (anyone) for your help in advance,
david
parsimony@mac.com
-
International keyboard layout
2003-02-10 12:49:52 anonymous2 [Reply | View]
I'm trying to use OpenOffice, but I have a Norwegian keyboard layout. So I don't get any of the special letters. Is there a way to change the keyboard layout in X11/OpenOffice?
-
Thanks!
2003-02-09 20:08:01 anonymous2 [Reply | View]
Thanks for the great article! I'm downloading OpenOffice.org now!
Looking forward to using this great app!
-
Thanks!
2003-02-09 20:07:55 anonymous2 [Reply | View]
Thanks for the great article! I'm downloading OpenOffice.org now!
Looking forward to using this great app!
-
Several Launcher programs available to make it easy
2003-02-08 09:43:06 anonymous2 [Reply | View]
I downloaded a program called StarThor from Versiontracker that gave me instructions on installing and an easy 'click this icon to start OpenOffice' access so those afraid of the command line don't have to be afraid to use this great program.
Why bother with Microsoft Office when this is free and just as good?????
-
problem
2003-02-08 09:43:03 anonymous2 [Reply | View]
Although OpenOffice works perfectly and it seems to be no problem with X11, every time I launch X11, I never get that window that looks like a Terminal window, even if I choose Terminal in the Application menu. Does anybody have an idea?
-
Several Launcher programs available to make it easy
2003-02-08 09:42:58 anonymous2 [Reply | View]
I downloaded a program called StarThor from Versiontracker that gave me instructions on installing and an easy 'click this icon to start OpenOffice' access so those afraid of the command line don't have to be afraid to use this great program.
Why bother with Microsoft Office when this is free and just as good?????
-
Several Launcher programs available to make it easy
2003-02-08 09:42:51 anonymous2 [Reply | View]
I downloaded a program called StarThor from Versiontracker that gave me instructions on installing and an easy 'click this icon to start OpenOffice' access so those afraid of the command line don't have to be afraid to use this great program.
Why bother with Microsoft Office when this is free and just as good?????
-
OpenOffice.org
2003-02-07 23:32:17 anonymous2 [Reply | View]
Just a small note:
The proper name of the software suite is OpenOffice.org (or OOo if abbreviated). I hate to be a stickler for the details, but I feel that it's important, especially on a site this large. Also, another difference between StarOffice and OOo is that StarOffice also has better Office import/export filters, which are not included in OOo.
-- Rob
agtalpha@earthlink.net
















i have this X11 window appears when double clicking the installation program