How do you undo loadkeys?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
-1
down vote

favorite












I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.







share|improve this question
















  • 1




    You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
    – JanC
    Apr 27 at 20:51














up vote
-1
down vote

favorite












I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.







share|improve this question
















  • 1




    You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
    – JanC
    Apr 27 at 20:51












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.







share|improve this question












I am running a webserver without a desktop environment and i need to change my keyboard to Cyrillic when I edit the files. The problem is, I cannot exit nano or type any commands.









share|improve this question











share|improve this question




share|improve this question










asked Apr 27 at 19:20









Username

11




11







  • 1




    You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
    – JanC
    Apr 27 at 20:51












  • 1




    You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
    – JanC
    Apr 27 at 20:51







1




1




You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
– JanC
Apr 27 at 20:51




You only use it on the local console? When logged in from a desktop/laptop using SSH this shouldn't be an issue…
– JanC
Apr 27 at 20:51










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).



As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.






share|improve this answer






















  • I did not know much about aliases. I should have checked beforehand. Thanks.
    – Username
    Apr 28 at 11:52

















up vote
0
down vote













As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.






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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1028929%2fhow-do-you-undo-loadkeys%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).



    As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.






    share|improve this answer






















    • I did not know much about aliases. I should have checked beforehand. Thanks.
      – Username
      Apr 28 at 11:52














    up vote
    1
    down vote



    accepted










    You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).



    As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.






    share|improve this answer






















    • I did not know much about aliases. I should have checked beforehand. Thanks.
      – Username
      Apr 28 at 11:52












    up vote
    1
    down vote



    accepted







    up vote
    1
    down vote



    accepted






    You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).



    As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.






    share|improve this answer














    You will have to know what the previous one was to reload that keymap with loadkeys (or you can load a default keymap with loadkeys -d).



    As you can't enter that command, you'll need another way to run it (e.g. by configuring a shortcut to do it). How to do this also depends on what Ubuntu version you use, or whether you already use something like screen, tmux (or byobu). Or you can also bind Cyrillic keys to nano commands (e.g. to save and exit) and make a Cyrillic alias for loading a non-Cyrillic keymap.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 27 at 21:13

























    answered Apr 27 at 20:58









    JanC

    16.4k13446




    16.4k13446











    • I did not know much about aliases. I should have checked beforehand. Thanks.
      – Username
      Apr 28 at 11:52
















    • I did not know much about aliases. I should have checked beforehand. Thanks.
      – Username
      Apr 28 at 11:52















    I did not know much about aliases. I should have checked beforehand. Thanks.
    – Username
    Apr 28 at 11:52




    I did not know much about aliases. I should have checked beforehand. Thanks.
    – Username
    Apr 28 at 11:52












    up vote
    0
    down vote













    As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.






    share|improve this answer
























      up vote
      0
      down vote













      As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.






        share|improve this answer












        As JanC says, you should use loadkeys. Cyrillic is Russian? If so, you then have to load Russian with loadkeys ru. to be able to do this, you might have to install console-data with apt-get install console-data.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 28 at 2:35









        kbenoit

        1,6421813




        1,6421813



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028929%2fhow-do-you-undo-loadkeys%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491