From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Xvfb input
Date: Thu, 25 Sep 2008 15:23:45 +0000
Message-ID: <20080925152345.GA17734@altlinux.org> (raw)
In-Reply-To: <20080916114228.GB20165@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]
On Tue, Sep 16, 2008 at 03:42:28PM +0400, Dmitry V. Levin wrote:
> > Это проблемы Xvfb, там не работает "ввод с клавиатуры".
>
> Это в xvfb-run был отключён вывод с клавиатуры в попытке объехать новую
> проблему в Xvfb. Как обычно, при объезде съехали в канаву. :(
Вот что конкретно я имел в виду.
$ cd $TMPDIR
$ cat test.c
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
int main()
{
Display *display = XOpenDisplay(NULL);
if (!display)
return 1;
KeyCode kc = XKeysymToKeycode(display, XK_Left);
printf("keycode=%d\n", kc);
return 0;
}
$ gcc -Wall test.c -lX11
$ ./a.out
keycode=100
$ 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=0
$
NB: не запускать xvfb-run в $HOME, он затрет .Xauthority.
Раньше это работало, что, между прочим, можно отследить по собираемости
пакета perl-Tk.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-09-25 15:23 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 5:30 ` [devel] perl-Tk-804.028-alt1: i586 rebuild failed [36] Alexey Tourbin
2008-09-16 11:15 ` Dmitry V. Levin
2008-09-16 11:34 ` Alexey Tourbin
2008-09-16 11:41 ` Sergey Bolshakov
2008-09-18 6:34 ` Alexey Tourbin
2008-09-16 11:42 ` [devel] Xvfb input Dmitry V. Levin
2008-09-16 11:44 ` Dmitry V. Levin
2008-09-16 11:50 ` Valery V. Inozemtsev
2008-09-25 15:23 ` Alexey Tourbin [this message]
2008-09-22 7:00 ` [devel] xvfb-run -a Alexey Tourbin
2008-09-22 11:00 ` Dmitry V. Levin
2008-09-22 11:07 ` Dmitry V. Levin
2008-09-22 11:17 ` Alexey Gladkov
2008-09-22 11:21 ` Dmitry V. Levin
2008-09-22 11:27 ` [devel] fakeroot (was: xvfb-run -a) Alexey Gladkov
2008-09-22 11:34 ` Kirill A. Shutemov
2008-09-22 11:41 ` [devel] fakeroot Alexey Gladkov
2008-09-22 14:11 ` [devel] xvfb-run -a Alexey I. Froloff
2008-09-22 14:26 ` Damir Shayhutdinov
2008-09-22 12:19 ` Dmitry V. Levin
2008-09-23 20:11 ` Dmitry V. Levin
2008-09-25 5:19 ` Alexey Tourbin
2008-09-25 10:10 ` Dmitry V. Levin
2008-09-26 16:39 ` Valery V. Inozemtsev
2008-09-26 16:56 ` Dmitry V. Levin
2008-09-26 18:01 ` Valery V. Inozemtsev
2008-09-26 19:05 ` Dmitry V. Levin
2008-09-26 19:09 ` Mikhail Gusarov
2008-09-26 20:58 ` Dmitry V. Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080925152345.GA17734@altlinux.org \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git