xmodmap “keycode” command confusionDetermining keycode assignments for X.org on a PChow to assign another...

Why does the Rust compiler not optimize code assuming that two mutable references cannot alias?

Just how much information should you share with a former client?

Word for soundtrack music which is part of the action of the movie

How can I convert a linear narrative into a branching narrative?

Solve equation using Mathematica

What is a good example for artistic ND filter applications?

What is my clock telling me to do?

Bouncing map back into its bounds, after user dragged it out

How can you tell the version of Ubuntu on a system in a .sh (bash) script?

Why does one get the wrong value when printing counters together?

Coworker mumbles to herself when working, how to ask her to stop?

What force enables us to walk? Friction or normal reaction?

How do you deal with characters with multiple races?

Prepare a user to perform an action before proceeding to the next step

Security measures that could plausibly last 150+ years?

Avoiding Implicit Conversion in Constructor. Explicit keyword doesn't help here

Efficiently finding furthest two nodes in a graph

Typesetting numbers above, below, left, and right of a symbol

Can machine learning learn a function like finding maximum from a list?

Easy way to get process from window

How to foreshadow to avoid a 'deus ex machina'-construction

Unknown indication below upper stave

Is there a word or phrase that means 'works but not for the reason we expect it to'?

Should I intervene when a colleague in a different department makes students run laps as part of their grade?



xmodmap “keycode” command confusion


Determining keycode assignments for X.org on a PChow to assign another modifier to Alt key for X11?How to set an xmodmap file for the session manager (or at least SLiM) because of a broken physical keyOpenbox overwrites xmodmap configurationHow can I write a “idempotent” .Xmodmapxmodmap keybindings don't workxmodmap shift + keycode to produce keysymChanging specific keys on Apple keyboard under Fedora 22Unable to find keycode for volume key on Apple keyboardxmodmap key bindings reset when I open a new tab in the shell






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm working on getting a custom xmodmap configuration set up and I can't for the life of me understand some of the behavior from the keycode NUMBER = KEYSYMNAME ... option.



See below for some quick examples to demonstrate what I mean.



Assume I have the following setup as the output of xmodmap -pke



keycode 41 d D d D


If I run xmodmap -e "keycode 41 = a", I get keycode 41 a A a A as the result.



Similarly, with xmodmap -e "keycode 41 = a b", I get keycode 41 a b a b as the result.



Again, with xmodmap -e "keycode 41 = a b c" I get keycode 41 a b c C as the result.



Finally, with xmodmap -e "keycode 41 = a b c d" I get keycode 41 a b c d as the result.



What in the world? All of these settings are entirely unintuitive, with the exception of the last one where I set all 4 spaces. Is this an example of undefined/undocumented behavior, or is this well-documented somewhere?



According to my understanding of this setting, the first one should result in simply keycode 41 a, the second in keycode 41 a b, and so on and so forth. Clearly, this is not what is happening. Does anyone have any insight as to why this may be?










share|improve this question









New contributor



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




























    0















    I'm working on getting a custom xmodmap configuration set up and I can't for the life of me understand some of the behavior from the keycode NUMBER = KEYSYMNAME ... option.



    See below for some quick examples to demonstrate what I mean.



    Assume I have the following setup as the output of xmodmap -pke



    keycode 41 d D d D


    If I run xmodmap -e "keycode 41 = a", I get keycode 41 a A a A as the result.



    Similarly, with xmodmap -e "keycode 41 = a b", I get keycode 41 a b a b as the result.



    Again, with xmodmap -e "keycode 41 = a b c" I get keycode 41 a b c C as the result.



    Finally, with xmodmap -e "keycode 41 = a b c d" I get keycode 41 a b c d as the result.



    What in the world? All of these settings are entirely unintuitive, with the exception of the last one where I set all 4 spaces. Is this an example of undefined/undocumented behavior, or is this well-documented somewhere?



    According to my understanding of this setting, the first one should result in simply keycode 41 a, the second in keycode 41 a b, and so on and so forth. Clearly, this is not what is happening. Does anyone have any insight as to why this may be?










    share|improve this question









    New contributor



    quixotrykd 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








      I'm working on getting a custom xmodmap configuration set up and I can't for the life of me understand some of the behavior from the keycode NUMBER = KEYSYMNAME ... option.



      See below for some quick examples to demonstrate what I mean.



      Assume I have the following setup as the output of xmodmap -pke



      keycode 41 d D d D


      If I run xmodmap -e "keycode 41 = a", I get keycode 41 a A a A as the result.



      Similarly, with xmodmap -e "keycode 41 = a b", I get keycode 41 a b a b as the result.



      Again, with xmodmap -e "keycode 41 = a b c" I get keycode 41 a b c C as the result.



      Finally, with xmodmap -e "keycode 41 = a b c d" I get keycode 41 a b c d as the result.



      What in the world? All of these settings are entirely unintuitive, with the exception of the last one where I set all 4 spaces. Is this an example of undefined/undocumented behavior, or is this well-documented somewhere?



      According to my understanding of this setting, the first one should result in simply keycode 41 a, the second in keycode 41 a b, and so on and so forth. Clearly, this is not what is happening. Does anyone have any insight as to why this may be?










      share|improve this question









      New contributor



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











      I'm working on getting a custom xmodmap configuration set up and I can't for the life of me understand some of the behavior from the keycode NUMBER = KEYSYMNAME ... option.



      See below for some quick examples to demonstrate what I mean.



      Assume I have the following setup as the output of xmodmap -pke



      keycode 41 d D d D


      If I run xmodmap -e "keycode 41 = a", I get keycode 41 a A a A as the result.



      Similarly, with xmodmap -e "keycode 41 = a b", I get keycode 41 a b a b as the result.



      Again, with xmodmap -e "keycode 41 = a b c" I get keycode 41 a b c C as the result.



      Finally, with xmodmap -e "keycode 41 = a b c d" I get keycode 41 a b c d as the result.



      What in the world? All of these settings are entirely unintuitive, with the exception of the last one where I set all 4 spaces. Is this an example of undefined/undocumented behavior, or is this well-documented somewhere?



      According to my understanding of this setting, the first one should result in simply keycode 41 a, the second in keycode 41 a b, and so on and so forth. Clearly, this is not what is happening. Does anyone have any insight as to why this may be?







      xorg keyboard xmodmap






      share|improve this question









      New contributor



      quixotrykd 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 question









      New contributor



      quixotrykd 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 question




      share|improve this question








      edited 56 mins ago







      quixotrykd













      New contributor



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








      asked 1 hour ago









      quixotrykdquixotrykd

      906 bronze badges




      906 bronze badges




      New contributor



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




      New contributor




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



























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          quixotrykd is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f533269%2fxmodmap-keycode-command-confusion%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          quixotrykd is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          quixotrykd is a new contributor. Be nice, and check out our Code of Conduct.













          quixotrykd is a new contributor. Be nice, and check out our Code of Conduct.












          quixotrykd is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f533269%2fxmodmap-keycode-command-confusion%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...