![]() |
Series: XFree86OS/2 Authors: Lyn St George and Christoph Vogelbusch Homepage: Kiwi.zolotek.net Homepage: Pluto.spaceports.com/~os2/ Last revision: 30.11.2001 |
+ Installation of Xfree86OS/2 + Installation - Christian Hennecke + Why use XFree86OS/2? + Tips and Requirements + The Gimp + Enlightenment + Gnome, ICE, Gimp, tools |
![]() |
Gnome, the Gimp, ICE wm, Utilities |
|
Gnome runs in XFree86OS/2 on top of a window manager, similarly to the way in which the WPS runs on top of the PM in OS/2. It adds a whole new environment on to the window manager, which requires a lot of libraries based on Gtk, and also adds a lot of specific Gnome apps. Gnome can be used with all window managers, including those detailed here. Gnome has been ported by Platon Fomichev and Asbjorn Petterson.
Simply unzip all these into the root of your XFree86OS/2 drive. These, at the moment, will not produce the same Gnome desktop that you get on Linux, but they provide the basic functionality for Gnome apps to be run.
Other libraries, not required for Gnome itself but which will be required for some of the apps which you will be running on Gnome.
This is only a selection - there are plenty of other apps available as well.
Again, you simply unzip these into the root of your XFree86OS/2 drive. You can then run them from an xterm. You can also add them to, for example, the ICE menu and run them with a single mouse click.
The Gimp is quite well known as being an extremely good graphics app, rivalling Photoshop in some ways. On OS/2, it runs very well under XFree86 and most window managers (the default TWM being an exception - don't use this for the Gimp). Installation is very simple and straightforward.
Other libs from the list for Gnome are also required: zlib, giflib, pnglib, jpeglib, intldll.
The manual and other info is also available at Gimp.org, in PDF format
Installation is simply a matter of unzipping everything into the root of your XFree86OS/2 drive, and then adding set emxopt=-c -n -h2048 to config.sys and rebooting. You can then start gimp***.exe from an xterm (where *** is the version number). This assumes of course that you have added <drive>:\xfree86\bin to your path, and <drive>:\xfree86\lib to your libpath, as mentioned in Installing XFree86OS/2.
Now when you invoke 'startx', you will boot XFree86 into Icewm. The default "look" is for Warp4 - if you want to change this or other aspects of Ice, then you need to edit the files in XFree86\lib\X11\icewm: these are 'menu', 'preferences', 'winoptions'. You will also find HTML documents starting in XFree86\doc\icewm.html.
The file 'preferences' contains the choice of "look" - it's obvious where to change this to another one if you want to. It also contains ShowXButton=1, which turns out to be the OS/2 'kill' button at the top right of each window. If you want to change the ugly red X at the top left, then you need to change the graphic: XFree86\lib\X11\icewm\taskbar\start.xpm to something else (or make one in the Gimp). You could try changing the default colours if you were really adventurous (don't forget to make a backup first). You will see at the bottom of this file the four default 'virtual desktops' - this is where you would add others or change the names of the existing ones, as you wish.
The file 'menu' is the main one to edit - this contains all the apps which will show in a list when you left click on the desktop. At the top of this file you will find:
The file 'winoptions' is one I've never touched, but it looks as though you could set the default icons at the top left of each window with this, so that only those apps which are not mentioned in here would take the ugly red X as their default.
If you don't like the background set by default, then you could try some of the others in the bitmap directory in line 37 of xinitrc.cmd: 'xsetroot -bitmap 'xbitmapdir'\xos2', or you could just load an image into Electric Eyes - including those from your \OS2\bitmaps directory used for your OS/2 desktop - and set one to be your XFree86 desktop.
The usual trouble you will encounter when installing any of these applications concerns incompatibilites between various versions of *dlls and the particular app calling functions from that *dll. In fact, this problem is one of the driving forces motivating the team which is now building UnixOS/2 as a successor to EMX.
If you try to start an app from an xterm and get the message FOO not found, where FOO can be anything like INTL, XM or GDKPIX to quote a few likely suspects, then this means that that particulr .dll could not be found in your libpath. Check this with the GNU tool 'which', by issuing which -l foo at a CLI (again 'foo' is the name in the message), and the response will tell you the first instance of this dll in your libpath.
If you have the relevant dll but still get crashes, check your 'popuplog.os2' in the root of your
boot drive (for this to be written, you need to have suppresspopups=d:\ (where 'd:\;' is your
boot drive) in your 'config.sys'). You may then see messages similar to this:
09-10-2001 23:29:53 SYS2070 PID 0362 TID 0001 Slot 00af
F:\XFREE86\LIB\X11\.GIMP-1.2\PLUG-INS\PNG.EXE
PNG->Z.42
This means that that the PNG plug-in being used by the Gimp is relying on a call to z.dll
which fails, due to this particular version of z.dll using an ordinal (42) for a particular
function which does not correspond to the same function in png.exe. The solution is to dump that
version of z.dll and replace it with the correct version. Do the same for other dll's which appear
in this kind of error message.