How to set keyboard layout for a macbook Pro?












13















I'm running Ubuntu in VirtualBox on my Macbook Pro.



I chose a 'French (Mac)' layout (see below).
enter image description here



Unfortunately, the character | (vertical bar) does not seem to be mapped!
Usually, in Mac OSX, I get it by pressing: [alt]+[shift]+L.



How can I add a vertical bar (any key combination would be ok) to this keyboard?










share|improve this question























  • This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

    – daniel Azuelos
    Aug 24 '17 at 14:51











  • @danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

    – Hadrien TOMA
    Oct 13 '17 at 9:46
















13















I'm running Ubuntu in VirtualBox on my Macbook Pro.



I chose a 'French (Mac)' layout (see below).
enter image description here



Unfortunately, the character | (vertical bar) does not seem to be mapped!
Usually, in Mac OSX, I get it by pressing: [alt]+[shift]+L.



How can I add a vertical bar (any key combination would be ok) to this keyboard?










share|improve this question























  • This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

    – daniel Azuelos
    Aug 24 '17 at 14:51











  • @danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

    – Hadrien TOMA
    Oct 13 '17 at 9:46














13












13








13


6






I'm running Ubuntu in VirtualBox on my Macbook Pro.



I chose a 'French (Mac)' layout (see below).
enter image description here



Unfortunately, the character | (vertical bar) does not seem to be mapped!
Usually, in Mac OSX, I get it by pressing: [alt]+[shift]+L.



How can I add a vertical bar (any key combination would be ok) to this keyboard?










share|improve this question














I'm running Ubuntu in VirtualBox on my Macbook Pro.



I chose a 'French (Mac)' layout (see below).
enter image description here



Unfortunately, the character | (vertical bar) does not seem to be mapped!
Usually, in Mac OSX, I get it by pressing: [alt]+[shift]+L.



How can I add a vertical bar (any key combination would be ok) to this keyboard?







mac keyboard-layout






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 '13 at 8:57









Bruno von ParisBruno von Paris

1482210




1482210













  • This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

    – daniel Azuelos
    Aug 24 '17 at 14:51











  • @danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

    – Hadrien TOMA
    Oct 13 '17 at 9:46



















  • This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

    – daniel Azuelos
    Aug 24 '17 at 14:51











  • @danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

    – Hadrien TOMA
    Oct 13 '17 at 9:46

















This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

– daniel Azuelos
Aug 24 '17 at 14:51





This Mac keyboard layout has 3 major flaws: [return] • doesn't permit to type correct French, ex. missing: É, È, Ù… [return] • doesn't permit to type Unix commands, missing: , | [return] • many of the key mapping are too cumbersome to be memorized.

– daniel Azuelos
Aug 24 '17 at 14:51













@danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

– Hadrien TOMA
Oct 13 '17 at 9:46





@danielAzuelos É is not missing : first, press down the Caps Lock key and then press any other letter key to have it capitalized (including accentuated ones). For and | just press Alt+Shift+/ and Alt+Shift+L respectively.

– Hadrien TOMA
Oct 13 '17 at 9:46










1 Answer
1






active

oldest

votes


















9














Here is my "commandline solution" (Ubuntu 12.04 server on MacBookPro 10.9 within VirtualBox 4.3.8) :



sudo apt-get install keyboard-configuration
sudo dpkg-reconfigure keyboard-configuration


Keyboard-configuration choices for MackBookPro French keyboard:




-> MacBook / MacBookPro (Intl)



-> French



-> French (again)



-> Right Alt (AltGr)



-> No Compose Key




It seems keyboard settings works fine and are keep after reboot.



--- EDIT Thomas ---



You should install all the console tools to make it work



apt-get install console-data

apt-get install console-setup

apt-get install console-locales

apt-get install keyboard-configuration





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%2f235533%2fhow-to-set-keyboard-layout-for-a-macbook-pro%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









    9














    Here is my "commandline solution" (Ubuntu 12.04 server on MacBookPro 10.9 within VirtualBox 4.3.8) :



    sudo apt-get install keyboard-configuration
    sudo dpkg-reconfigure keyboard-configuration


    Keyboard-configuration choices for MackBookPro French keyboard:




    -> MacBook / MacBookPro (Intl)



    -> French



    -> French (again)



    -> Right Alt (AltGr)



    -> No Compose Key




    It seems keyboard settings works fine and are keep after reboot.



    --- EDIT Thomas ---



    You should install all the console tools to make it work



    apt-get install console-data

    apt-get install console-setup

    apt-get install console-locales

    apt-get install keyboard-configuration





    share|improve this answer






























      9














      Here is my "commandline solution" (Ubuntu 12.04 server on MacBookPro 10.9 within VirtualBox 4.3.8) :



      sudo apt-get install keyboard-configuration
      sudo dpkg-reconfigure keyboard-configuration


      Keyboard-configuration choices for MackBookPro French keyboard:




      -> MacBook / MacBookPro (Intl)



      -> French



      -> French (again)



      -> Right Alt (AltGr)



      -> No Compose Key




      It seems keyboard settings works fine and are keep after reboot.



      --- EDIT Thomas ---



      You should install all the console tools to make it work



      apt-get install console-data

      apt-get install console-setup

      apt-get install console-locales

      apt-get install keyboard-configuration





      share|improve this answer




























        9












        9








        9







        Here is my "commandline solution" (Ubuntu 12.04 server on MacBookPro 10.9 within VirtualBox 4.3.8) :



        sudo apt-get install keyboard-configuration
        sudo dpkg-reconfigure keyboard-configuration


        Keyboard-configuration choices for MackBookPro French keyboard:




        -> MacBook / MacBookPro (Intl)



        -> French



        -> French (again)



        -> Right Alt (AltGr)



        -> No Compose Key




        It seems keyboard settings works fine and are keep after reboot.



        --- EDIT Thomas ---



        You should install all the console tools to make it work



        apt-get install console-data

        apt-get install console-setup

        apt-get install console-locales

        apt-get install keyboard-configuration





        share|improve this answer















        Here is my "commandline solution" (Ubuntu 12.04 server on MacBookPro 10.9 within VirtualBox 4.3.8) :



        sudo apt-get install keyboard-configuration
        sudo dpkg-reconfigure keyboard-configuration


        Keyboard-configuration choices for MackBookPro French keyboard:




        -> MacBook / MacBookPro (Intl)



        -> French



        -> French (again)



        -> Right Alt (AltGr)



        -> No Compose Key




        It seems keyboard settings works fine and are keep after reboot.



        --- EDIT Thomas ---



        You should install all the console tools to make it work



        apt-get install console-data

        apt-get install console-setup

        apt-get install console-locales

        apt-get install keyboard-configuration






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 7 at 9:58

























        answered Mar 5 '14 at 10:12









        PascalPascal

        19116




        19116






























            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%2f235533%2fhow-to-set-keyboard-layout-for-a-macbook-pro%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅