How to map the 'Menu key' to 'AltGr key'?











up vote
1
down vote

favorite












I'm on a Dell Mini 910 with English keyboard and Ubuntu 11.10 also in English, and I want to keep it this way. But most of my typing is in Spanish so I need the AltGr key to get Spanish characters without switching my keyboard layout.



How can I map the Menu Key to AltGr?



Thanks.










share|improve this question




























    up vote
    1
    down vote

    favorite












    I'm on a Dell Mini 910 with English keyboard and Ubuntu 11.10 also in English, and I want to keep it this way. But most of my typing is in Spanish so I need the AltGr key to get Spanish characters without switching my keyboard layout.



    How can I map the Menu Key to AltGr?



    Thanks.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm on a Dell Mini 910 with English keyboard and Ubuntu 11.10 also in English, and I want to keep it this way. But most of my typing is in Spanish so I need the AltGr key to get Spanish characters without switching my keyboard layout.



      How can I map the Menu Key to AltGr?



      Thanks.










      share|improve this question















      I'm on a Dell Mini 910 with English keyboard and Ubuntu 11.10 also in English, and I want to keep it this way. But most of my typing is in Spanish so I need the AltGr key to get Spanish characters without switching my keyboard layout.



      How can I map the Menu Key to AltGr?



      Thanks.







      shortcut-keys keyboard-layout remapping






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Zanna

      48.8k13122233




      48.8k13122233










      asked Oct 29 '11 at 12:35









      Carlos Vidal

      62




      62






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          I assume this is to be done in X.



          It can be done with 'xmodmap'.



          xmodmap -e "keysym Menu = ISO_Level3_Shift"


          Put the following in the the file '.Xmodmap' in your home directory to make it load automatically when logging in.



          keysym Menu = ISO_Level3_Shift





          share|improve this answer





















          • You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
            – Carlos Vidal
            Oct 30 '11 at 23:39













          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: 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%2f73502%2fhow-to-map-the-menu-key-to-altgr-key%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













          I assume this is to be done in X.



          It can be done with 'xmodmap'.



          xmodmap -e "keysym Menu = ISO_Level3_Shift"


          Put the following in the the file '.Xmodmap' in your home directory to make it load automatically when logging in.



          keysym Menu = ISO_Level3_Shift





          share|improve this answer





















          • You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
            – Carlos Vidal
            Oct 30 '11 at 23:39

















          up vote
          1
          down vote













          I assume this is to be done in X.



          It can be done with 'xmodmap'.



          xmodmap -e "keysym Menu = ISO_Level3_Shift"


          Put the following in the the file '.Xmodmap' in your home directory to make it load automatically when logging in.



          keysym Menu = ISO_Level3_Shift





          share|improve this answer





















          • You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
            – Carlos Vidal
            Oct 30 '11 at 23:39















          up vote
          1
          down vote










          up vote
          1
          down vote









          I assume this is to be done in X.



          It can be done with 'xmodmap'.



          xmodmap -e "keysym Menu = ISO_Level3_Shift"


          Put the following in the the file '.Xmodmap' in your home directory to make it load automatically when logging in.



          keysym Menu = ISO_Level3_Shift





          share|improve this answer












          I assume this is to be done in X.



          It can be done with 'xmodmap'.



          xmodmap -e "keysym Menu = ISO_Level3_Shift"


          Put the following in the the file '.Xmodmap' in your home directory to make it load automatically when logging in.



          keysym Menu = ISO_Level3_Shift






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 29 '11 at 18:59









          Zoke

          5,79621816




          5,79621816












          • You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
            – Carlos Vidal
            Oct 30 '11 at 23:39




















          • You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
            – Carlos Vidal
            Oct 30 '11 at 23:39


















          You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
          – Carlos Vidal
          Oct 30 '11 at 23:39






          You point me into the right direction. This what works for me:clear mod3 keysym Menu = Mode_switch add mod3 = Mode_switch
          – Carlos Vidal
          Oct 30 '11 at 23:39




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f73502%2fhow-to-map-the-menu-key-to-altgr-key%23new-answer', 'question_page');
          }
          );

          Post as a guest




















































































          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?