Failing to change my keymap for X11 on void linux












0














I have installed a recent version of void linux on a Fujitsu Lifebook E751.




  • uname -a results in 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 20:17:18 UTC 2017 x86_64 GNU/Linux.

  • Xorg version is 1.19.3, Protocol Ver. 11


After installations I had a us keyboard mapping. This is driving me nuts, hence I tried to change it by writing several variants of a /etc/X11/xorg.conf. None worked.



After consulting google several times I followed the official Xorg guide. I concocted this configuration:



Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "neo"
Option "XkbModel" "pc105"
EndSection


But despite all efforts, the problem stays the same. I get



(EE) Error loading keymap /var/lib/xkb/server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.


In the end the US-keyboard is loaded.
This is driving me totally nuts!










share|improve this question




















  • 1




    I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
    – dirkt
    Sep 18 '17 at 8:14






  • 1




    /var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
    – quixotic
    Dec 28 '17 at 11:20
















0














I have installed a recent version of void linux on a Fujitsu Lifebook E751.




  • uname -a results in 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 20:17:18 UTC 2017 x86_64 GNU/Linux.

  • Xorg version is 1.19.3, Protocol Ver. 11


After installations I had a us keyboard mapping. This is driving me nuts, hence I tried to change it by writing several variants of a /etc/X11/xorg.conf. None worked.



After consulting google several times I followed the official Xorg guide. I concocted this configuration:



Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "neo"
Option "XkbModel" "pc105"
EndSection


But despite all efforts, the problem stays the same. I get



(EE) Error loading keymap /var/lib/xkb/server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.


In the end the US-keyboard is loaded.
This is driving me totally nuts!










share|improve this question




















  • 1




    I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
    – dirkt
    Sep 18 '17 at 8:14






  • 1




    /var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
    – quixotic
    Dec 28 '17 at 11:20














0












0








0







I have installed a recent version of void linux on a Fujitsu Lifebook E751.




  • uname -a results in 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 20:17:18 UTC 2017 x86_64 GNU/Linux.

  • Xorg version is 1.19.3, Protocol Ver. 11


After installations I had a us keyboard mapping. This is driving me nuts, hence I tried to change it by writing several variants of a /etc/X11/xorg.conf. None worked.



After consulting google several times I followed the official Xorg guide. I concocted this configuration:



Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "neo"
Option "XkbModel" "pc105"
EndSection


But despite all efforts, the problem stays the same. I get



(EE) Error loading keymap /var/lib/xkb/server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.


In the end the US-keyboard is loaded.
This is driving me totally nuts!










share|improve this question















I have installed a recent version of void linux on a Fujitsu Lifebook E751.




  • uname -a results in 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 20:17:18 UTC 2017 x86_64 GNU/Linux.

  • Xorg version is 1.19.3, Protocol Ver. 11


After installations I had a us keyboard mapping. This is driving me nuts, hence I tried to change it by writing several variants of a /etc/X11/xorg.conf. None worked.



After consulting google several times I followed the official Xorg guide. I concocted this configuration:



Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "neo"
Option "XkbModel" "pc105"
EndSection


But despite all efforts, the problem stays the same. I get



(EE) Error loading keymap /var/lib/xkb/server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.


In the end the US-keyboard is loaded.
This is driving me totally nuts!







xorg xkb void-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 at 18:49









CameronNemo

1,061712




1,061712










asked Sep 17 '17 at 12:50









Ariser

12317




12317








  • 1




    I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
    – dirkt
    Sep 18 '17 at 8:14






  • 1




    /var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
    – quixotic
    Dec 28 '17 at 11:20














  • 1




    I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
    – dirkt
    Sep 18 '17 at 8:14






  • 1




    /var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
    – quixotic
    Dec 28 '17 at 11:20








1




1




I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
– dirkt
Sep 18 '17 at 8:14




I don't know how Void Linux handles it, but (1) /var/lib/xkb/server-0.xkm doesn't exist on my system. In fact /var/lib/xkb is mostly empty, the rules are in /usr/share/X11/xkb, (2) "neo" isn't one of the default layouts, I would have to add it by hand. So googling isn't going to help, you need to figure out how your xkb is set up, and why it is different. Look at setxkbmap, xkbcomp, and xkbprint, and here. Identify where your xkb files are.
– dirkt
Sep 18 '17 at 8:14




1




1




/var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
– quixotic
Dec 28 '17 at 11:20




/var/lib/xkb is essentially a cache for precompiled XKB keymaps and should not be the problem here. unless you've added /usr/share/X11/xkb/symbols/neo to your system, you probably don't have a neo layout available. on my system, neo is a variant of the de layout. to test: setxkbmap -layout de -variant neo (in an xterm) and see if that gets where you're trying to go.
– quixotic
Dec 28 '17 at 11:20










1 Answer
1






active

oldest

votes


















0














There should be a line like this in your /etc/X11/xorg.conf.d/50-keyboard.conf or xorg.conf config file for example:



MatchProduct "AT Translated Set 2"


Your product could be different so check /var/log/Xorg.0.log for the details.



There are a lot of things that can match a keyboard so the MatchProduct narrows down the choices for the Xserver.



Check the man page xkeyboard-config for info about the layout.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f392753%2ffailing-to-change-my-keymap-for-x11-on-void-linux%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    There should be a line like this in your /etc/X11/xorg.conf.d/50-keyboard.conf or xorg.conf config file for example:



    MatchProduct "AT Translated Set 2"


    Your product could be different so check /var/log/Xorg.0.log for the details.



    There are a lot of things that can match a keyboard so the MatchProduct narrows down the choices for the Xserver.



    Check the man page xkeyboard-config for info about the layout.






    share|improve this answer


























      0














      There should be a line like this in your /etc/X11/xorg.conf.d/50-keyboard.conf or xorg.conf config file for example:



      MatchProduct "AT Translated Set 2"


      Your product could be different so check /var/log/Xorg.0.log for the details.



      There are a lot of things that can match a keyboard so the MatchProduct narrows down the choices for the Xserver.



      Check the man page xkeyboard-config for info about the layout.






      share|improve this answer
























        0












        0








        0






        There should be a line like this in your /etc/X11/xorg.conf.d/50-keyboard.conf or xorg.conf config file for example:



        MatchProduct "AT Translated Set 2"


        Your product could be different so check /var/log/Xorg.0.log for the details.



        There are a lot of things that can match a keyboard so the MatchProduct narrows down the choices for the Xserver.



        Check the man page xkeyboard-config for info about the layout.






        share|improve this answer












        There should be a line like this in your /etc/X11/xorg.conf.d/50-keyboard.conf or xorg.conf config file for example:



        MatchProduct "AT Translated Set 2"


        Your product could be different so check /var/log/Xorg.0.log for the details.



        There are a lot of things that can match a keyboard so the MatchProduct narrows down the choices for the Xserver.



        Check the man page xkeyboard-config for info about the layout.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 34 mins ago









        beginner6789

        212




        212






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f392753%2ffailing-to-change-my-keymap-for-x11-on-void-linux%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt