Bug reports and corrections welcome!
1. Install xdm, fluxbox, eterm, xmonobut
apt-get install xdm fluxbox eterm xmonobut
2. Changing kdrive to full blown xserver, the overhead isn't that big as told by some people
mv /usr/bin/X /usr/bin/X.old
ln -s /usr/bin/Xfbdev X
4. Change the configs for fluxbox, see the attachements. (You have to remove the .txt)
cd /root/
mkdir .fluxbox
nano startup
Most important is the xmonobut sequence, to get the mouse working, "Calendar"+tap=middle mouse button, "Address"+tap=right mouse button.
# fluxbox startup-script:
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
# hide idle mouse pointer
unclutter -idle 2 &
# fire up fluxbox
/usr/bin/fluxbox & wmpid=$!
# middle button = "Calendar", right button = "Address"
/usr/local/bin/xmonobut -k 68 -m 67 -c &
# some wallpaper
fbsetbg -f /home/ojw/3tux.jpg
# i love mpd & ncmpc
rxvt-xterm --geometry 70x8-0+0 -e ncmpc
# waiting for fluxbox and all started processes to finish
wait $wmpid
# cleaning up fontpath, in case we messed it up
xset fp default
We need a menu You have to be root or sudoer for xdm stop .
nano menu
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/system.fluxbox-menu)
[include] (/etc/X11/fluxbox/fluxbox.menu-user)
[exec] (Rxvt) {/usr/bin/rxvt-xterm}
[exec] (xdm stop) {/etc/init.d/xdm stop}
[end]
Next part isn't working all the time, don't know why. What i am trying to do is hiding the xmonobut window.
nano apps
[app] (name=xmonobut) (class=)
[Position] (UPPERLEFT) {0 0}
[Hidden] {yes}
[Close] {yes}
[end]
Now for the best . Fluxbox is nice and easy configurable.
nano keys
# Fluxbox keys for Zaurus
# mouse & menu stuff
# Mouse2 -> "Calendar"+ click
# Mouse3 -> "Address" + click
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
# Mod1 -> Alt_L
Mod1 Right :NextWindow
Mod1 Left Tab :PrevWindow
Control Mod1 Right :NextWorkspace
Control Mod1 Left :PrevWorkspace
Control Mod1 1 :Workspace 1
Control Mod1 2 :Workspace 2
Control Mod1 3 :Workspace 3
Control Mod1 4 :Workspace 4
# F11 -> menu button
F11 :RootMenu
# Mod4 -> Fn
Mod4 2 :ExecCommand fbrun -w 500 -text alsamixer
Mod4 t :ExecCommand rxvt-xterm
Mod4 m :MaximizeWindow
Shift Mod4 m :MaximizeVertical
Control Mod4 m :MaximizeHorizontal
Control Shift Mod4 m :Fullscreen
Mod4 Shift minus :Minimize
# F12 -> Home
Control Mod4 F12 :ExecCommand apm --suspend
5. In your home directory create a file .xsession:
exec startfluxbox
Now let's try it:
/etc/init.d/xdm start
Have fun!
[edit Mi 19. Dez 20:37:13 CET 2007]: @-bug in keys corrected. New attachment.