Chris Hodapp wrote:

>I can't exactly figure out what to do with XDirectFB though. So, simply, I'm asking 
>how 
>to install it and use it as an interface.
>
>Are my current ideas horribly wrong about what DirectFB is - is it just a programming 
>and graphics library, or is it an entire interface (at least with a WM on top)? If 
>not, I'm wondering how you made all the screenshots.
>
DirectFB is a library which gives you access to the framebuffer device 
on your video card if you built support for it into your kernel. On its 
own it won't give you anything. XDirectFB is an implementation of an 
Xserver that uses DirectFB to display stuff. You can use XDirectFB to 
display window managers et al. There is also the GTK port for DirectFB. 
If you use this you can build GTK applications and link them against it 
to allow you to display GTK apps without X.

Anyway, to install it you'll need to set up your frame-buffer device. 
For me this meant putting this into /etc/lilo.conf and running lilo:

        append="video=vesa:ywrap,mtrr"
        vga=791

and then running XDirectFB, which I do like this:

/usr/local/X11R6/bin/XDirectFB -defaultOpacity 230 -unfocusedOpacity 150 
-s 10 +bs  :1 & sleep 1 && DISPLAY=:1 nice -n 10 wmaker

which is not the neatest way to do it, but it works.

HTH

James.




-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to