Show keyboard geometry/model in gnomeKeyboard periodically locks on Ubuntu and GNOME 2How do I use a modified...

Why zero tolerance on nudity in space?

local storage : Uncaught TypeError: Cannot set property 'innerHTML' of null

Eww, those bytes are gross

Is there a lava-breathing lizard creature (that could be worshipped by a cult) in 5e?

Does diversity provide anything that meritocracy does not?

Plausible reason for gold-digging ant

Does Skippy chunky peanut butter contain trans fat?

How would an AI self awareness kill switch work?

Why was Lupin comfortable with saying Voldemort's name?

Potential client has a problematic employee I can't work with

Identify KNO3 and KH2PO4 at home

Python Pandas - difference between 'loc' and 'where'?

What is the wife of a henpecked husband called?

What would you call a real market that is close to perfect competition?

Square Root Distance from Integers

Has Britain negotiated with any other countries outside the EU in preparation for the exit?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

Early credit roll before the end of the film

GRASS not working with QGIS 3.6

TikZ graph edges not drawn nicely

Why are the books in the Game of Thrones citadel library shelved spine inwards?

How do you funnel food off a cutting board?

How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?

How can the probability of a fumble decrease linearly with more dice?



Show keyboard geometry/model in gnome


Keyboard periodically locks on Ubuntu and GNOME 2How do I use a modified keyboard layout in xubuntu?How to deploy a custom keyboard layout?Making gnome see xkb changesQT Application on Debian 7 ignores keyboardCustom keymap not available in Gnome Input sourcesFixing XKB layoutKeyboard and Language input windows 10Complex remapping of keyboard in Linuxxkbmap kemap CAPS + H,J,K,L to vim movements













2















This question is mostly for curiosity about keyboard stuff in Gnome and/or XKB. The below was done on Ubuntu Gnome 16.04, but I believe things are they same in later Ubuntu and Gnome versions as well.



When adding “Input Sources” (keyboard layouts) in Gnome:



GUI to choose Input Sources in Gnome



… there’s a little keyboard button at the bottom right that shows the input source on a standard looking keyboard:



Visual representation of the English (US) keyboard layout in Gnome



I believe the keyboard in the picture is a “pc104” keyboard.



As you can see in the first picture, I clicked the keyboard button while “English (US)” was selected, but there’s also “Swedish” available. Clicking the keyboard button with “Swedish” selected does show the Swedish layout as expected, but still on a pc104 keyboard like before. The standard in Sweden is pc105 (which as a differently shaped Enter key, and an extra key to the left of Z; see IBM PC keyboard for more information). This is not a super big deal, but we’ll get back to that.



As far as I know, pc104 and pc105 are examples of two “geometries” in XKB. On my system they are defined in /usr/share/X11/xkb/geometry/pc.



/usr/share/X11/xkb/geometry also contains other geometries. One that caught my eye was teck. Since I own such a keyboard (a “Truly Ergonomic Keyboard”) I got curious and wanted to know what that geometry would look like rendered on the screen.



My first thought was to try to make Gnome’s keyboard display thing show a pc105 or teck geometry. I couldn’t figure out how to do this, though. I found gkbd-keyboard-display, but it seems to only support choosing “layout” and “group”.



Next, I found out about xkbprint, and managed to use it to display both pc105 and teck:



setxkbmap us -geometry 'pc(pc105)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > pc105.pdf
setxkbmap us -geometry 'teck(teck227)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > teck.pdf


Here’s what the teck layout looks like, for example:



Truly Ergonomic Keyboard layout, rendered by “xkbprint”



Now on to some specific questions:




  • Does the “Gnome keyboard display” support other XKB geometries than pc105?

  • How is an XKB geometry chosen? Plugging in my TECK, setxkbmap -print still seems to indicate a pc104 keyboard.

  • What are XKB geometries used for? Just for visualization?

  • Is there any other program (even if inside another desktop environment or whatever) than xkbprint that can do anything useful with non-pc104 XKB geometries? Someone has taken the time to create the “teck” geometry for example – I wonder how it’s supposed to come to use for TECK Linux users?










share|improve this question



























    2















    This question is mostly for curiosity about keyboard stuff in Gnome and/or XKB. The below was done on Ubuntu Gnome 16.04, but I believe things are they same in later Ubuntu and Gnome versions as well.



    When adding “Input Sources” (keyboard layouts) in Gnome:



    GUI to choose Input Sources in Gnome



    … there’s a little keyboard button at the bottom right that shows the input source on a standard looking keyboard:



    Visual representation of the English (US) keyboard layout in Gnome



    I believe the keyboard in the picture is a “pc104” keyboard.



    As you can see in the first picture, I clicked the keyboard button while “English (US)” was selected, but there’s also “Swedish” available. Clicking the keyboard button with “Swedish” selected does show the Swedish layout as expected, but still on a pc104 keyboard like before. The standard in Sweden is pc105 (which as a differently shaped Enter key, and an extra key to the left of Z; see IBM PC keyboard for more information). This is not a super big deal, but we’ll get back to that.



    As far as I know, pc104 and pc105 are examples of two “geometries” in XKB. On my system they are defined in /usr/share/X11/xkb/geometry/pc.



    /usr/share/X11/xkb/geometry also contains other geometries. One that caught my eye was teck. Since I own such a keyboard (a “Truly Ergonomic Keyboard”) I got curious and wanted to know what that geometry would look like rendered on the screen.



    My first thought was to try to make Gnome’s keyboard display thing show a pc105 or teck geometry. I couldn’t figure out how to do this, though. I found gkbd-keyboard-display, but it seems to only support choosing “layout” and “group”.



    Next, I found out about xkbprint, and managed to use it to display both pc105 and teck:



    setxkbmap us -geometry 'pc(pc105)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > pc105.pdf
    setxkbmap us -geometry 'teck(teck227)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > teck.pdf


    Here’s what the teck layout looks like, for example:



    Truly Ergonomic Keyboard layout, rendered by “xkbprint”



    Now on to some specific questions:




    • Does the “Gnome keyboard display” support other XKB geometries than pc105?

    • How is an XKB geometry chosen? Plugging in my TECK, setxkbmap -print still seems to indicate a pc104 keyboard.

    • What are XKB geometries used for? Just for visualization?

    • Is there any other program (even if inside another desktop environment or whatever) than xkbprint that can do anything useful with non-pc104 XKB geometries? Someone has taken the time to create the “teck” geometry for example – I wonder how it’s supposed to come to use for TECK Linux users?










    share|improve this question

























      2












      2








      2








      This question is mostly for curiosity about keyboard stuff in Gnome and/or XKB. The below was done on Ubuntu Gnome 16.04, but I believe things are they same in later Ubuntu and Gnome versions as well.



      When adding “Input Sources” (keyboard layouts) in Gnome:



      GUI to choose Input Sources in Gnome



      … there’s a little keyboard button at the bottom right that shows the input source on a standard looking keyboard:



      Visual representation of the English (US) keyboard layout in Gnome



      I believe the keyboard in the picture is a “pc104” keyboard.



      As you can see in the first picture, I clicked the keyboard button while “English (US)” was selected, but there’s also “Swedish” available. Clicking the keyboard button with “Swedish” selected does show the Swedish layout as expected, but still on a pc104 keyboard like before. The standard in Sweden is pc105 (which as a differently shaped Enter key, and an extra key to the left of Z; see IBM PC keyboard for more information). This is not a super big deal, but we’ll get back to that.



      As far as I know, pc104 and pc105 are examples of two “geometries” in XKB. On my system they are defined in /usr/share/X11/xkb/geometry/pc.



      /usr/share/X11/xkb/geometry also contains other geometries. One that caught my eye was teck. Since I own such a keyboard (a “Truly Ergonomic Keyboard”) I got curious and wanted to know what that geometry would look like rendered on the screen.



      My first thought was to try to make Gnome’s keyboard display thing show a pc105 or teck geometry. I couldn’t figure out how to do this, though. I found gkbd-keyboard-display, but it seems to only support choosing “layout” and “group”.



      Next, I found out about xkbprint, and managed to use it to display both pc105 and teck:



      setxkbmap us -geometry 'pc(pc105)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > pc105.pdf
      setxkbmap us -geometry 'teck(teck227)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > teck.pdf


      Here’s what the teck layout looks like, for example:



      Truly Ergonomic Keyboard layout, rendered by “xkbprint”



      Now on to some specific questions:




      • Does the “Gnome keyboard display” support other XKB geometries than pc105?

      • How is an XKB geometry chosen? Plugging in my TECK, setxkbmap -print still seems to indicate a pc104 keyboard.

      • What are XKB geometries used for? Just for visualization?

      • Is there any other program (even if inside another desktop environment or whatever) than xkbprint that can do anything useful with non-pc104 XKB geometries? Someone has taken the time to create the “teck” geometry for example – I wonder how it’s supposed to come to use for TECK Linux users?










      share|improve this question














      This question is mostly for curiosity about keyboard stuff in Gnome and/or XKB. The below was done on Ubuntu Gnome 16.04, but I believe things are they same in later Ubuntu and Gnome versions as well.



      When adding “Input Sources” (keyboard layouts) in Gnome:



      GUI to choose Input Sources in Gnome



      … there’s a little keyboard button at the bottom right that shows the input source on a standard looking keyboard:



      Visual representation of the English (US) keyboard layout in Gnome



      I believe the keyboard in the picture is a “pc104” keyboard.



      As you can see in the first picture, I clicked the keyboard button while “English (US)” was selected, but there’s also “Swedish” available. Clicking the keyboard button with “Swedish” selected does show the Swedish layout as expected, but still on a pc104 keyboard like before. The standard in Sweden is pc105 (which as a differently shaped Enter key, and an extra key to the left of Z; see IBM PC keyboard for more information). This is not a super big deal, but we’ll get back to that.



      As far as I know, pc104 and pc105 are examples of two “geometries” in XKB. On my system they are defined in /usr/share/X11/xkb/geometry/pc.



      /usr/share/X11/xkb/geometry also contains other geometries. One that caught my eye was teck. Since I own such a keyboard (a “Truly Ergonomic Keyboard”) I got curious and wanted to know what that geometry would look like rendered on the screen.



      My first thought was to try to make Gnome’s keyboard display thing show a pc105 or teck geometry. I couldn’t figure out how to do this, though. I found gkbd-keyboard-display, but it seems to only support choosing “layout” and “group”.



      Next, I found out about xkbprint, and managed to use it to display both pc105 and teck:



      setxkbmap us -geometry 'pc(pc105)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > pc105.pdf
      setxkbmap us -geometry 'teck(teck227)' -print | xkbcomp - - | xkbprint - - | ps2pdf - > teck.pdf


      Here’s what the teck layout looks like, for example:



      Truly Ergonomic Keyboard layout, rendered by “xkbprint”



      Now on to some specific questions:




      • Does the “Gnome keyboard display” support other XKB geometries than pc105?

      • How is an XKB geometry chosen? Plugging in my TECK, setxkbmap -print still seems to indicate a pc104 keyboard.

      • What are XKB geometries used for? Just for visualization?

      • Is there any other program (even if inside another desktop environment or whatever) than xkbprint that can do anything useful with non-pc104 XKB geometries? Someone has taken the time to create the “teck” geometry for example – I wonder how it’s supposed to come to use for TECK Linux users?







      keyboard gnome xkb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 11 '18 at 11:37









      lydelllydell

      25616




      25616






















          1 Answer
          1






          active

          oldest

          votes


















          0














          In debian, GNOME used to default to values defined in /etc/default/keyboard. Four your case, you should have XKBMODEL=tech in this file. dpkg-reconfigure keyboard-configuration allows you to configure this file using menus, but does not support multiple layouts like swedish + english(us).



          However, I have some trouble to get GNOME to follow xkbmodel as set by keyboard-configuration.






          share|improve this answer








          New contributor




          Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1293956%2fshow-keyboard-geometry-model-in-gnome%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














            In debian, GNOME used to default to values defined in /etc/default/keyboard. Four your case, you should have XKBMODEL=tech in this file. dpkg-reconfigure keyboard-configuration allows you to configure this file using menus, but does not support multiple layouts like swedish + english(us).



            However, I have some trouble to get GNOME to follow xkbmodel as set by keyboard-configuration.






            share|improve this answer








            New contributor




            Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              In debian, GNOME used to default to values defined in /etc/default/keyboard. Four your case, you should have XKBMODEL=tech in this file. dpkg-reconfigure keyboard-configuration allows you to configure this file using menus, but does not support multiple layouts like swedish + english(us).



              However, I have some trouble to get GNOME to follow xkbmodel as set by keyboard-configuration.






              share|improve this answer








              New contributor




              Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                In debian, GNOME used to default to values defined in /etc/default/keyboard. Four your case, you should have XKBMODEL=tech in this file. dpkg-reconfigure keyboard-configuration allows you to configure this file using menus, but does not support multiple layouts like swedish + english(us).



                However, I have some trouble to get GNOME to follow xkbmodel as set by keyboard-configuration.






                share|improve this answer








                New contributor




                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                In debian, GNOME used to default to values defined in /etc/default/keyboard. Four your case, you should have XKBMODEL=tech in this file. dpkg-reconfigure keyboard-configuration allows you to configure this file using menus, but does not support multiple layouts like swedish + english(us).



                However, I have some trouble to get GNOME to follow xkbmodel as set by keyboard-configuration.







                share|improve this answer








                New contributor




                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 15 mins ago









                Étienne BersacÉtienne Bersac

                1




                1




                New contributor




                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Étienne Bersac is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1293956%2fshow-keyboard-geometry-model-in-gnome%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

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                    looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...