使用“startx”时键盘不工作

使用“startx”时键盘不工作

我有一台只能运行一个程序的 PC。所以我决定使用 startx 而不是整个桌面环境。这台机器是一台 64 位 Debian 拉伸机。

我编辑了 .xinitrc 来启动程序,运行正常(程序以全屏方式运行)。鼠标按预期工作,但键盘没有任何反应。

使用在input群内。

以下是id用户的情况:

uid=1007(foifoi) gid=1009(foifoi) Gruppen=1009(foifoi),5(tty),20(dialout),24(cdrom),29(audio),44(video),46(plugdev),60(games),100(users),106(input),108(netdev),122(mlocate),1001(smbaccess),1008(maenners)

这是 Xorg.log(由于太长无法发布): https://pastebin.com/JsrzdHju

以下是已安装的软件包(xorg 相关):

ii  xorg                                 1:7.7+19                       amd64        X.Org X Window System
ii  xorg-docs-core                       1:1.7.1-1                      all          Core documentation for the X.org X Window System
ii  xorg-sgml-doctools                   1:1.11-1                       all          Common tools for building X.Org SGML documentation
ii  xserver-xorg                         1:7.7+19                       amd64        X.Org X server
ii  xserver-xorg-core                    2:1.19.2-1+deb9u5              amd64        Xorg X server - core server
ii  xserver-xorg-input-all               1:7.7+19                       amd64        X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev             1:2.10.5-1                     amd64        X.Org X server -- evdev input driver
ii  xserver-xorg-input-kbd               1:1.9.0-1+b1                   amd64        X.Org X server -- keyboard input driver
ii  xserver-xorg-input-libinput          0.23.0-2                       amd64        X.Org X server -- libinput input driver
ii  xserver-xorg-input-mouse             1:1.9.2-1+b1                   amd64        X.Org X server -- mouse input driver
ii  xserver-xorg-input-wacom             0.34.0-1                       amd64        X.Org X server -- Wacom input driver
ii  xserver-xorg-legacy                  2:1.19.2-1+deb9u5              amd64        setuid root Xorg server wrapper
ii  xserver-xorg-video-all               1:7.7+19                       amd64        X.Org X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu            1.2.0-1+b1                     amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati               1:7.8.0-1+b1                   amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-fbdev             1:0.4.4-1+b5                   amd64        X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel             2:2.99.917+git20161206-1       amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-nouveau           1:1.0.13-3                     amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-qxl               0.1.4+20161126git4d7160c-1     amd64        X.Org X server -- QXL display driver
ii  xserver-xorg-video-radeon            1:7.8.0-1+b1                   amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa              1:2.3.4-1+b2                   amd64        X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware            1:13.2.1-1+b1                  amd64        X.Org X server -- VMware display driver

我没有xorg.confevdev模块已正确加载。以下是的输出xinput

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳   mini keyboard                           id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳   mini keyboard                           id=10   [slave  keyboard (3)]
    ↳   mini keyboard                           id=12   [slave  keyboard (3)]

我错过了什么?

相关内容