• How to change the keyboard map?

    From Aelius Gallus@aelius@nospam.mail to alt.os.linux.debian on Sat Jan 27 01:22:13 2024
    From Newsgroup: alt.os.linux.debian

    I am used to change the keyboard map using the "setxkbmap xx" command.
    But I get the following message in Debian 12, in response to this command, "WARNING: Running setxkbmap against XWayland server"
    Which is the proper way of doing it, without getting a warning?
    Thanks in advance for any help.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nyyssit@posteo.net@nyyssit@posteo.net to alt.os.linux.debian on Sun Jan 28 13:22:45 2024
    From Newsgroup: alt.os.linux.debian

    Aelius Gallus wrote:
    I am used to change the keyboard map using the "setxkbmap xx" command.
    But I get the following message in Debian 12, in response to this command, "WARNING: Running setxkbmap against XWayland server"
    Which is the proper way of doing it, without getting a warning?
    Thanks in advance for any help.


    The online manual (man setxkbmap) says:

    "Changing the keymap with setxkbmap is not supported by Xwayland. In
    most instances, using setxkbmap on Xwayland is indicative of a bug in a
    shell script and setxkbmap will print a warning. Use the Wayland
    Compositor's native XKB configuration methods instead."
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Aelius Gallus@aelius@nospam.mail to alt.os.linux.debian on Mon Jan 29 09:05:19 2024
    From Newsgroup: alt.os.linux.debian

    nyyssit@posteo.net <nyyssit@posteo.net> wrote:
    Aelius Gallus wrote:
    I am used to change the keyboard map using the "setxkbmap xx" command.
    But I get the following message in Debian 12, in response to this command, >> "WARNING: Running setxkbmap against XWayland server"
    Which is the proper way of doing it, without getting a warning?
    Thanks in advance for any help.


    The online manual (man setxkbmap) says:

    "Changing the keymap with setxkbmap is not supported by Xwayland. In
    most instances, using setxkbmap on Xwayland is indicative of a bug in a shell script and setxkbmap will print a warning. Use the Wayland Compositor's native XKB configuration methods instead."

    Thank you for the reponse. Sounds too complicated for me. I will
    continue using setxkbmap in spite of the warning.


    --- Synchronet 3.21d-Linux NewsLink 1.2