Menu

#152 keyboard not found

v1.0_(example)
open
nobody
None
5
2021-09-10
2021-09-10
efa
No

I use a custom keyboard mapping on Windows (this is valid for all applications, from command.com to notepad to remote SSH session) to type characters not available as default on keyboard using AltGr like on Linux, it is an Italian layout.
VcXsrv start without rise errors in the "Show log", but all X applications see a US layout as fallback.

The error that miss in the log is something like this:
(EE) Error loading keymap C:\Users\user\AppData\Local\Temp\server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.

If I select the standard Italian keyboard on Windows before start VcXsrv, all SSH console applications see the standard IT layout, so without extended characters, while X applications see the IT layout with extended characters. This is not ideal as all Windows applications and SSH consoles cannot send extended characters.

The start log is:
Welcome to the VcXsrv X Server
Vendor: The VcXsrv Project
Release: 1.20.9.0

OS: Windows NT 6.2 build 9200 (64-bit)
Contact: marha@users.sourceforge.net

LoadPreferences: C:\Users\vmessina\.XWinrc not found
LoadPreferences: Loading D:\Programmi\VcXsrv\system.XWinrc
(II) AIGLX: Testing pixelFormatIndex 1
(II) GLX: enabled GLX_SGI_make_current_read
(II) GLX: enabled GLX_SGI_swap_control
(II) GLX: enabled GLX_MESA_swap_control
(II) GLX: enabled GLX_SGIX_pbuffer
(II) GLX: enabled GLX_ARB_multisample
(II) GLX: enabled GLX_SGIS_multisample
(II) GLX: enabled GLX_ARB_fbconfig_float
(II) GLX: enabled GLX_EXT_fbconfig_packed_float
(II) GLX: enabled GLX_ARB_create_context
(II) GLX: enabled GLX_ARB_create_context_profile
(II) GLX: enabled GLX_ARB_create_context_robustness
(II) GLX: enabled GLX_EXT_create_context_es2_profile
(II) GLX: enabled GLX_ARB_framebuffer_sRGB
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) 103 pixel formats reported by wglGetPixelFormatAttribivARB
(II) GLX: Initialized Win32 native WGL GL provider for screen 0
winClipboardThreadProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - xcb_connect () returned and successfully opened the display.
Using Composite redirection

The extended characters are:
¬ ¹ ² ³ ¼ ½ ¬ { [ ] } ` ~ « »

Discussion

  • efa

    efa - 2021-09-10

    console applications see the keyboard as so:

    $ setxkbmap -v 10 -query
    Setting verbose level to 10
    locale is C
    Trying to load rules file ./rules/xorg...
    Trying to load rules file /usr/share/X11/xkb/rules/xorg...
    Success.
    Applied rules from xorg:
    rules:      xorg
    model:      macintosh
    layout:     it
    options:    grab:break_actions
    Trying to build keymap using the following components:
    keycodes:   macintosh+aliases(qwerty)
    types:      complete+numpad(mac)
    compat:     complete+xfree86(grab_break)
    symbols:    pc+macintosh_vndr/it+inet(apple)
    geometry:   macintosh(macintosh)
    rules:      xorg
    model:      macintosh
    layout:     it
    options:    grab:break_actions
    
     
  • efa

    efa - 2021-09-10

    I made a try with those commands:

    setxkbmap -layout it -variant mac -model macbook79 -option none -print > macbook79_map
    xkbcomp -Ixkbdata -o server-0.xkm -xkm macbook79_map
    copy server-0.xkm C:\Users\user\AppData\Local\Temp\server-0.xkm
    start VcXsrv
    
    AND
    
    start VcXsrv
    xkbcomp macbook79_map %DISPLAY%
    

    with no luck, same results

     

    Last edit: efa 2021-09-10

Log in to post a comment.