Re: How can I run a GtkFB's program?
- From: Olaf Leidinger <leidola newcon de>
- To: =?utf-8?q?=E5=BA=83=E8=B0=B7=E3=80=80=E8=B1=8A?==?utf-8?q?=E5=8F=B2?= <toytoy da2 so-net ne jp>, GTK Mailing List <gtk-list gnome org>
- Subject: Re: How can I run a GtkFB's program?
- Date: 29 Jan 2002 15:01:15 +0100
Am 29 Jan 2002 17:00:12 +0900 schrieb 広谷 豊史:
> I am a biginner of GTK, GtkFB.
>
> I hava installed GtkFb on Linux 7.2 (I have installed the FrameBuffer).
> Then I compiled and ran an program, "helloworld", which is in the
> "examples" directory,
> from console without X.
> But an error message, "cannot open display", is returned.
> I tried "./helloworld --display=/dev/fb0".
> Of course, I can find /dev/fb0.
> But, the result is the same.
>
> Generally, when I run a GtkFb program, what should I do?
> Or, if there are any information about running GtkFB programs,
> let me know where.
>
> Toyotoshi Hirotani.
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Hello!
Well, I edited my lilo.conf like this
boot = /dev/hda
vga = 788
read-only
menu-scheme = Wg:kw:Wg:Wg
lba32
prompt
timeout = 80
message = /boot/message
image = /boot/vmlinuz
label = linux
root = /dev/hdc5
initrd = /boot/initrd
append = "video=vesa:ywrap,mtrr"
The two lines with vga and append are important.
Furthermore you need to run the app as root (well, so do I).
Go to the gtk homepage and follow the link to DirectFB. There are some
hints how to run a directfb-app. This should also work with plain
fb-apps.
Ciao,
Olaf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]