Is there an official folder in the home directory for storing keymaps?

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








up vote
0
down vote

favorite












I can add a custom xkb keyboard layout in
/usr/share/X11/xkb/symbols
and acrivate it using setxkbmap.



The downside of storing data in this system folder is that it gets lost when xkb-data is reinstalled or updated.



Is there a folder in the home directory where I can permanently store custom keymaps for xkb?










share|improve this question





















  • Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
    – Gunnar Hjalmarsson
    Feb 6 at 9:17










  • creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
    – ukos
    Feb 6 at 14:11














up vote
0
down vote

favorite












I can add a custom xkb keyboard layout in
/usr/share/X11/xkb/symbols
and acrivate it using setxkbmap.



The downside of storing data in this system folder is that it gets lost when xkb-data is reinstalled or updated.



Is there a folder in the home directory where I can permanently store custom keymaps for xkb?










share|improve this question





















  • Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
    – Gunnar Hjalmarsson
    Feb 6 at 9:17










  • creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
    – ukos
    Feb 6 at 14:11












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I can add a custom xkb keyboard layout in
/usr/share/X11/xkb/symbols
and acrivate it using setxkbmap.



The downside of storing data in this system folder is that it gets lost when xkb-data is reinstalled or updated.



Is there a folder in the home directory where I can permanently store custom keymaps for xkb?










share|improve this question













I can add a custom xkb keyboard layout in
/usr/share/X11/xkb/symbols
and acrivate it using setxkbmap.



The downside of storing data in this system folder is that it gets lost when xkb-data is reinstalled or updated.



Is there a folder in the home directory where I can permanently store custom keymaps for xkb?







keyboard home-directory xkb






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 6 at 1:05









ukos

476114




476114











  • Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
    – Gunnar Hjalmarsson
    Feb 6 at 9:17










  • creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
    – ukos
    Feb 6 at 14:11
















  • Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
    – Gunnar Hjalmarsson
    Feb 6 at 9:17










  • creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
    – ukos
    Feb 6 at 14:11















Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
– Gunnar Hjalmarsson
Feb 6 at 9:17




Why not just backup the layout. xkb-data is normally only updated when you upgrade to a new Ubuntu release.
– Gunnar Hjalmarsson
Feb 6 at 9:17












creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
– ukos
Feb 6 at 14:11




creatign a layout folder in my user dir and (r)syncing to the /usr dir is my current approach. am just not comfortable with it. I will also not place my binaries for example in /usr/bin. Why mess with the folder structure when there are /usr/local/ and ~/.local for a reason.
– ukos
Feb 6 at 14:11










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










It's is a limitation of XKB which can't be easily worked around. There is a fresh Ubuntu bug report which highlights the issue, but a possible fix should reasonably be done upstream. Can't tell if/when it will happen.



It's worth mentioning that for this very reason we usually don't update xkb-data in stable releases.






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%2f1003404%2fis-there-an-official-folder-in-the-home-directory-for-storing-keymaps%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    It's is a limitation of XKB which can't be easily worked around. There is a fresh Ubuntu bug report which highlights the issue, but a possible fix should reasonably be done upstream. Can't tell if/when it will happen.



    It's worth mentioning that for this very reason we usually don't update xkb-data in stable releases.






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      It's is a limitation of XKB which can't be easily worked around. There is a fresh Ubuntu bug report which highlights the issue, but a possible fix should reasonably be done upstream. Can't tell if/when it will happen.



      It's worth mentioning that for this very reason we usually don't update xkb-data in stable releases.






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        It's is a limitation of XKB which can't be easily worked around. There is a fresh Ubuntu bug report which highlights the issue, but a possible fix should reasonably be done upstream. Can't tell if/when it will happen.



        It's worth mentioning that for this very reason we usually don't update xkb-data in stable releases.






        share|improve this answer












        It's is a limitation of XKB which can't be easily worked around. There is a fresh Ubuntu bug report which highlights the issue, but a possible fix should reasonably be done upstream. Can't tell if/when it will happen.



        It's worth mentioning that for this very reason we usually don't update xkb-data in stable releases.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 6 at 16:03









        Gunnar Hjalmarsson

        18.1k23061




        18.1k23061



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003404%2fis-there-an-official-folder-in-the-home-directory-for-storing-keymaps%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error