Permanently set keyboard layout












0















I have a Spanish language keyboard made by Logitech and I want to set it as the default keyboard layout in Ubuntu for WSL. dpkg-reconfigure Keyboard-layout does not offer my keyboard model in the list of keyboards supported.










share|improve this question























  • You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

    – cipricus
    Jan 15 at 15:08











  • @cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

    – Jonathan
    Jan 15 at 15:27













  • What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

    – cipricus
    Jan 15 at 15:32











  • @cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

    – Jonathan
    Jan 15 at 15:43






  • 1





    What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

    – Jonathan
    Jan 15 at 15:46


















0















I have a Spanish language keyboard made by Logitech and I want to set it as the default keyboard layout in Ubuntu for WSL. dpkg-reconfigure Keyboard-layout does not offer my keyboard model in the list of keyboards supported.










share|improve this question























  • You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

    – cipricus
    Jan 15 at 15:08











  • @cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

    – Jonathan
    Jan 15 at 15:27













  • What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

    – cipricus
    Jan 15 at 15:32











  • @cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

    – Jonathan
    Jan 15 at 15:43






  • 1





    What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

    – Jonathan
    Jan 15 at 15:46
















0












0








0








I have a Spanish language keyboard made by Logitech and I want to set it as the default keyboard layout in Ubuntu for WSL. dpkg-reconfigure Keyboard-layout does not offer my keyboard model in the list of keyboards supported.










share|improve this question














I have a Spanish language keyboard made by Logitech and I want to set it as the default keyboard layout in Ubuntu for WSL. dpkg-reconfigure Keyboard-layout does not offer my keyboard model in the list of keyboards supported.







keyboard






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 15 at 14:57









JonathanJonathan

5332619




5332619













  • You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

    – cipricus
    Jan 15 at 15:08











  • @cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

    – Jonathan
    Jan 15 at 15:27













  • What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

    – cipricus
    Jan 15 at 15:32











  • @cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

    – Jonathan
    Jan 15 at 15:43






  • 1





    What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

    – Jonathan
    Jan 15 at 15:46





















  • You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

    – cipricus
    Jan 15 at 15:08











  • @cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

    – Jonathan
    Jan 15 at 15:27













  • What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

    – cipricus
    Jan 15 at 15:32











  • @cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

    – Jonathan
    Jan 15 at 15:43






  • 1





    What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

    – Jonathan
    Jan 15 at 15:46



















You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

– cipricus
Jan 15 at 15:08





You mean your keyboard is not working? You don't need to see your specific keyboard normally in order for it to work (Generic 101-key PC is ok) and to set the default one (the one set during installation).

– cipricus
Jan 15 at 15:08













@cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

– Jonathan
Jan 15 at 15:27







@cipurus Then it becomes very difficult to find special characters. The Ubuntu installation process does this nicely when installing on a bare machine but this is not available for Ubuntu installed in a virtual environment such as a VM or WSL.

– Jonathan
Jan 15 at 15:27















What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

– cipricus
Jan 15 at 15:32





What I mean is special characters come with the keyboard layout not with the keyboard model. For the model you can keep Generic 101-key PC (no need to select Logitech etc there), you just need to select your desired Spanish keyboard layout. Is that missing?

– cipricus
Jan 15 at 15:32













@cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

– Jonathan
Jan 15 at 15:43





@cipricud dpkg-reconfigure does not let one know that that is possible so I was nor aware of the possibility.

– Jonathan
Jan 15 at 15:43




1




1





What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

– Jonathan
Jan 15 at 15:46







What is worse is that my password uses characters that have special locations on a Spanish keyboard different than on a generic keyboard so I am unable to login to Ubuntu.

– Jonathan
Jan 15 at 15:46












1 Answer
1






active

oldest

votes


















0














It turns out that the reason dpkg-reconfigure failed was that it was necessary to run sudo apt upgrade first. Doing this solved everything.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1109970%2fpermanently-set-keyboard-layout%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














    It turns out that the reason dpkg-reconfigure failed was that it was necessary to run sudo apt upgrade first. Doing this solved everything.






    share|improve this answer




























      0














      It turns out that the reason dpkg-reconfigure failed was that it was necessary to run sudo apt upgrade first. Doing this solved everything.






      share|improve this answer


























        0












        0








        0







        It turns out that the reason dpkg-reconfigure failed was that it was necessary to run sudo apt upgrade first. Doing this solved everything.






        share|improve this answer













        It turns out that the reason dpkg-reconfigure failed was that it was necessary to run sudo apt upgrade first. Doing this solved everything.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 15 at 21:42









        JonathanJonathan

        5332619




        5332619






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1109970%2fpermanently-set-keyboard-layout%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局