Notes for miscellaneous desktop software installation

Antonello Piemonte
email (remove the pig noise): apiemont at SNORT googlemail dot com


Some notes about how to get rid of the common/average desktop under Solaris 8, replacing the common utilities with better and faster alternatives (for window managers, email client, browser, terminal emulator etc ...). This is working flawlessly for me and I am very happy with it, although YMMV.

Window Manager

A good description of the default Solaris 8 window manager was found here, and since I cannot put it in better word, I repeat it here:

"By default, Solaris uses CDE, the Common Desktop Environment. It's the result of millions of dollars of development by IBM, HP, and Sun. It's also a bloated nightmare and riddled with bugs. You can do some nice things with it, but nothing you can't do in another environment. Most importantly, all of the nifty CDE functionality requires a slew of RPC-based support services (tooltalk, cmsd, etc.) which are the source of a neverending series of remote exploits. I would recommend choosing a different window manager if possible."

I am quite happy with Fluxbox, simple, fast, lean and neat :-) First of all get the source here, then, to install, prooced with the usual mantra:

$ cd
$ gtar -C src/ xvzf fluxbox-x-y-z.tar.gz
$ cd src/fluxbox-x-y-z
$ ./configure --prefix=$HOME; make; make install
now we have all the bin/ doc/ man/ etc/ under our home directory. Then create (executable) .xinitrc with this line:
eval `/usr/bin/ssh-agent`
exec /home/apiemont/bin/fluxbox
Note that you need GNU C++ library to build, and also to run export this variable to your shell LD_LIBRARY_PATH=/vlt/OCT2001/gnu/lib:$LD_LIBRARY_PATH Then also read how to install and get fixed artwiz fonts here (not done yet on Solaris) and get some nice themes here.

Additionally installed fbdesk, wich in turn requires zlib and libpng, so here is the rollout. First we build the static zlib libraries:

$ cd src/zlib-1.2.1
$ ./configure 
$ make test
$ make install prefix=$HOME
then we continue building libpng libraries:
$ cd ../libpng-1.2.5
$ cp scripts/makefile.solaris makefile
$ vi makefile
.....
prefix=/home/apiemont
ZLIBLIB=//home/apiemont/lib
ZLIBINC=/home/apiemont/include
.....
$ make; make install
finally we build fbdesk:
$ cd ../fbdesk-1.1.5
$ ./configure --prefix=$HOME --enable-xft=no --enable-png=no
$ make; make install
FIXME: errors when building with png support, try to build shared zlib (use ./configure -s).

Browsers

A fast, effective desktop need a fast, effective browser, right? Therefore I am using the Opera browser. Believe it or not, There is a Opera 6.12 beta binary package for Solaris 8 availabe in the Opera download section. Get the QT static tar package, then you can simply extract it under ~/opera for example, update your $PATH and off you go, or better said, off you fly!

Update Opera 7.21 for Solaris 8 (SPARC) is available it rocks! The good folks at Opera Software now have the same code base for Linux, FreeBSD and Solaris, meaning that releases will be done in sync on all those platforms, kudos to them! To install, untar the file, then run the installation script (example)

$ install.sh --prefix $HOME/opera721
and then create this simlink ~/lib/libXm.so.2 -> /usr/lib/libXm.so* otherwise chaos with motif wrapper will ensue.

As for Java, Flash and others plague-in, I have not bothered yet to configure them. I know you can configure Opera to use the Netscape plugins, and for Java you can work out the setup as explained in the Opera FAQ, provided you have a decent Java VM somewhere on your box.

As a complement I also use the excellent links text browser. Get the tarball and compile it as usual:

$ ./configure --prefix=$HOME; make; make install

Keyboard

I had to change keyboard layout because the Caps Lock and Control keys are swapped. So I created this file ~/.xmodmaprc.

!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L      
then you can temporarily enable the modification with
$ xmodmap ~/.xmodmaprc
or make it permanent place the xmodmap command into your personal ~/.dt/sessions/sessionetc script (for logins into CDE only; this file does not exist by default, create it, make it executable, and put the xmodmap command somewhere), or by putting it into ~/.xinitrc (for logins into OpenWindows, if this file does not exist, copy it from /usr/local/adm/users/lib/skel/.xinitrc).

Further Reading

TODO

Add info on aterm, mutt, procmail
This page last modified
March 9, 2004
Valid HTML 4.01! Made with Bluefish!