Changeset 4bd35815


Ignore:
Timestamp:
03/12/2020 06:42:49 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b40f276
Parents:
6ea9f5b3
Message:

Add instructions to set the Xorg Keyboard Layout on blocaled page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22837 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/blocaled.xml

    r6ea9f5b3 r4bd35815  
    176176EOF</userinput></screen>
    177177
     178      <para>
     179        If you plan to run an X (or Wayland) Window system, you may want to
     180        set up your X keyboard. The best way to do it is to retrieve the
     181        settings from <filename>/etc/sysconfig/console</filename>, and feed
     182        them to the <application>blocaled</application> daemon. As the
     183        <systemitem class="username">root</systemitem> user:
     184      </para>
     185
     186<screen role="root"><userinput>source /etc/sysconfig/console &amp;&amp;
     187KEYMAP=${KEYMAP:-us}          &amp;&amp;
     188
     189gdbus call --system                                             \
     190           --dest org.freedesktop.locale1                       \
     191           --object-path /org/freedesktop/locale1               \
     192           --method org.freedesktop.locale1.SetVConsoleKeyboard \
     193           "$KEYMAP" "$KEYMAP_CORRECTIONS" true true</userinput></screen>
     194
     195      <para>
     196        This should create or modify the Xorg configuration file (default is
     197        <filename>/etc/X11/xorg.xonf.d/30-keyboard.conf</filename>) to match
     198        the keyboard settings set in <envar>KEYMAP</envar>.
     199      </para>
     200
    178201    </sect3>
    179202
Note: See TracChangeset for help on using the changeset viewer.