From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 25 Sep 2008 15:23:45 +0000 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20080925152345.GA17734@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20080908101505.26A75151C035@granary.armor.altlinux.org> <20080916053031.GF5223@altlinux.org> <20080916111512.GB1437@wo.int.altlinux.org> <20080916113427.GI5223@altlinux.org> <20080916114228.GB20165@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20080916114228.GB20165@wo.int.altlinux.org> Subject: Re: [devel] Xvfb input X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 15:24:02 -0000 Archived-At: List-Archive: List-Post: --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 16, 2008 at 03:42:28PM +0400, Dmitry V. Levin wrote: > > =FC=D4=CF =D0=D2=CF=C2=CC=C5=CD=D9 Xvfb, =D4=C1=CD =CE=C5 =D2=C1=C2=CF= =D4=C1=C5=D4 "=D7=D7=CF=C4 =D3 =CB=CC=C1=D7=C9=C1=D4=D5=D2=D9". >=20 > =FC=D4=CF =D7 xvfb-run =C2=D9=CC =CF=D4=CB=CC=C0=DE=A3=CE =D7=D9=D7=CF=C4= =D3 =CB=CC=C1=D7=C9=C1=D4=D5=D2=D9 =D7 =D0=CF=D0=D9=D4=CB=C5 =CF=C2=DF=C5= =C8=C1=D4=D8 =CE=CF=D7=D5=C0 > =D0=D2=CF=C2=CC=C5=CD=D5 =D7 Xvfb. =EB=C1=CB =CF=C2=D9=DE=CE=CF, =D0=D2= =C9 =CF=C2=DF=C5=DA=C4=C5 =D3=DF=C5=C8=C1=CC=C9 =D7 =CB=C1=CE=C1=D7=D5. :( =F7=CF=D4 =DE=D4=CF =CB=CF=CE=CB=D2=C5=D4=CE=CF =D1 =C9=CD=C5=CC =D7 =D7=C9= =C4=D5. $ cd $TMPDIR $ cat test.c #include #include #include int main() { Display *display =3D XOpenDisplay(NULL); if (!display) return 1; KeyCode kc =3D XKeysymToKeycode(display, XK_Left); printf("keycode=3D%d\n", kc); return 0; } $ gcc -Wall test.c -lX11 $ ./a.out keycode=3D100 $ xvfb-run -a ./a.out xauth: creating new authority file /tmp/.private/at/.Xauthority (EE) config/hal: NewInputDeviceRequest failed (EE) config/hal: NewInputDeviceRequest failed keycode=3D0 $ NB: =CE=C5 =DA=C1=D0=D5=D3=CB=C1=D4=D8 xvfb-run =D7 $HOME, =CF=CE =DA=C1=D4= =D2=C5=D4 .Xauthority. =F2=C1=CE=D8=DB=C5 =DC=D4=CF =D2=C1=C2=CF=D4=C1=CC=CF, =DE=D4=CF, =CD=C5=D6= =C4=D5 =D0=D2=CF=DE=C9=CD, =CD=CF=D6=CE=CF =CF=D4=D3=CC=C5=C4=C9=D4=D8 =D0= =CF =D3=CF=C2=C9=D2=C1=C5=CD=CF=D3=D4=C9 =D0=C1=CB=C5=D4=C1 perl-Tk. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjbrP8ACgkQfBKgtDjnu0YtTACdFSJ7qXZeTy/sxiGiJ5BldI++ nykAoIYLhzzQz2kqe6oOZAH88w+nmQk/ =91Fg -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--