pátek 12. prosince 2008

Fluxbox on OpenSolaris

Finally I had a little bit of time to play with fluxbox under OpenSolaris. I chose fluxbox-1.0.0 and my OpenSolaris is build 99.

Compiling
Using GNU compiler with 64b flags:
$ CC=gcc CXX=g++ CFLAGS=-m64 CXXFLAGS=-m64 ./configure
$ make

At the end of compiling you can see some error messages due to illegal option in
util/fluxbox-generate_menu but default menu will be generated.

(I was unable to compile it with Sun Studio. More accurately I could not compile FbTk/Font.cc.)

Finally there are many good reasons to create package and add it instead of compiling directly into to system.

Gdm
We add fluxbox in our system so it could be pretty good to log into after login. We only need to create file fluxbox.destkop in /usr/share/xsessions/ directory.

fluxbox.destkop:
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=Highly configureable low resource X11 Window Manager
Exec=fluxbox
Terminal=False
TryExec=fluxbox
Type=Application


Persuade that your system is using gdm and not dtlogin as a display manager.

$ svcs gdm
STATE STIME FMRI
online 15:08:57 svc:/application/graphical-login/gdm:default


If you don't see online status you are probably using dtlogin. To enable gdm you should log into console and use svcadm. If you stay in Xorg your system will probably fail.

$ svcadm enable gdm
$ svcadm disable cde-login

If you are in console just logout yourself and after a few seconds gdm will appear with new
fluxbox option.

1 komentář:

  1. I compiled Fluxbox on Solaris 10/08 and Nevada 79a and 130. Setting up the session menu was pretty straight forward but on OpenSolaris I didn't know how it was done. Thanks for the information, I will try it with v1.1.1 which by the way doesn't find one of the functions if you use SSXE 3/09.

    OdpovědětVymazat