Thursday, November 22, 2007

Some success with X/Qt

After a lot of unsuccessful trials with the Xqt package in the feed I had some success with the old version of Xqt (0.0.8). I also had to install the sharp-compat-libs to make this run. Both packages are not in the official OZ feed. After installing both packages and running makecompat on Xqt. To start Xqt, run at /home/root:

# export DISPLAY=:0.0
# .xserverrc
# .xinitrc
I also installed several things from the Xqt feed (blackbox, fonts etc...). So once running these commands I get a functional X server running the blackbox windowmanager. Until now I've encountered two major problems,
1) The Return key is not functional. The only workaround I could find to this problem is to use xmodmap and to map another key. To remap the "Home" key:
# xmodmap -e "keycode 64 = Return"
2) The other problem is that fn-click does not produce a right click (this is because fn does not function, like the return key). Again, the only way I found to work around this problem is using xmodmap to switch between the mouse buttons:
# xmodmap -e "pointer = 3 1 2 4 5"
will cause a click to be a right click. to return to the default state:
# xmodmap -e "pointer = 1 2 3 4 5"