Can I change a shortcut key to Windows key?












4















I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key.



When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", waiting for my key combination. I press the Windows key… and nothing happens.










share|improve this question
















bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

    – Tshepang
    Apr 5 '11 at 13:06






  • 2





    I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

    – phunehehe
    Apr 5 '11 at 15:33
















4















I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key.



When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", waiting for my key combination. I press the Windows key… and nothing happens.










share|improve this question
















bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

    – Tshepang
    Apr 5 '11 at 13:06






  • 2





    I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

    – phunehehe
    Apr 5 '11 at 15:33














4












4








4


1






I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key.



When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", waiting for my key combination. I press the Windows key… and nothing happens.










share|improve this question
















I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key.



When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", waiting for my key combination. I press the Windows key… and nothing happens.







ubuntu gnome keyboard-shortcuts






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 11 '13 at 6:38









Anthon

60.8k17103166




60.8k17103166










asked Apr 5 '11 at 12:35









ripper234ripper234

9,169346786




9,169346786





bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

    – Tshepang
    Apr 5 '11 at 13:06






  • 2





    I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

    – phunehehe
    Apr 5 '11 at 15:33



















  • Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

    – Tshepang
    Apr 5 '11 at 13:06






  • 2





    I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

    – phunehehe
    Apr 5 '11 at 15:33

















Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

– Tshepang
Apr 5 '11 at 13:06





Interestingly for me, I used to be able to do this, but not anymore. I don't know if this has anything to do with newer GNOME or X. What OS and GNOME versions are you using?

– Tshepang
Apr 5 '11 at 13:06




2




2





I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

– phunehehe
Apr 5 '11 at 15:33





I know this is tricky because the Meta (Windows) key is often considered a modifier key instead of a normal key. The same goes for Ctrl, Shift and Alt. But that's all I know.

– phunehehe
Apr 5 '11 at 15:33










5 Answers
5






active

oldest

votes


















0














try using xev command - my output after windows key pressed:
If you can't see it name(Super_L in this case) you should map it.
More info on archlinix wiki.




KeyPress event, serial 30, synthetic NO, window 0x4200001,
root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662),
state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False







share|improve this answer































    0














    Probably xbindkeys is the better option. I think it's more useful to use Super_L (windows key) in combination with other key in order to fire a command. For example you could recreate the windows behaviour of firing something similar to what you want, by assigning Super_L + r to "Run application".






    share|improve this answer































      0














      You can do this by running gconf-editor:



      and navigate to



      apps->metacity->global_keybindings->panel_run_dialog



      and change it's value to "Super_L" or "Super_R"



      If you want both to work at the same time, you have to assign Super_R to Super_L or vice versa.






      share|improve this answer































        0














        I've found that to do it through GNOME's shortcut config dialog, you first have to go to System -> Preferences/Administration -> Keyboard and click on the "Layout Options" button in the "Layouts" tab. Go to "Alt/Win key behavior" and select "Hyper is mapped to Win-Keys". Then the Win key can be used as a modifier.



        Edit: reread the question, this won't work for just "Win" (I assumed Win+R). Sorry.






        share|improve this answer































          0














          Pretty old question but with CentOS and Gnome 2.x nowadays, there is a pretty simple menu for it. It's under System -> Preferences -> Keyboard Shortcuts and you just have to choose the choice "Desktop" and then under that, "Run Dialog". When you click it, it lets you press the keys you want. It originally has "ALT+F2" listed but if you happen to choose the right Windows key + R, it says "Mod4+R" under the shortcut area and works like a champ.






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f10660%2fcan-i-change-a-shortcut-key-to-windows-key%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            try using xev command - my output after windows key pressed:
            If you can't see it name(Super_L in this case) you should map it.
            More info on archlinix wiki.




            KeyPress event, serial 30, synthetic NO, window 0x4200001,
            root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662),
            state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
            XLookupString gives 0 bytes:
            XmbLookupString gives 0 bytes:
            XFilterEvent returns: False







            share|improve this answer




























              0














              try using xev command - my output after windows key pressed:
              If you can't see it name(Super_L in this case) you should map it.
              More info on archlinix wiki.




              KeyPress event, serial 30, synthetic NO, window 0x4200001,
              root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662),
              state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
              XLookupString gives 0 bytes:
              XmbLookupString gives 0 bytes:
              XFilterEvent returns: False







              share|improve this answer


























                0












                0








                0







                try using xev command - my output after windows key pressed:
                If you can't see it name(Super_L in this case) you should map it.
                More info on archlinix wiki.




                KeyPress event, serial 30, synthetic NO, window 0x4200001,
                root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662),
                state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False







                share|improve this answer













                try using xev command - my output after windows key pressed:
                If you can't see it name(Super_L in this case) you should map it.
                More info on archlinix wiki.




                KeyPress event, serial 30, synthetic NO, window 0x4200001,
                root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662),
                state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
                XLookupString gives 0 bytes:
                XmbLookupString gives 0 bytes:
                XFilterEvent returns: False








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 6 '11 at 0:53









                teZeriuszteZeriusz

                161




                161

























                    0














                    Probably xbindkeys is the better option. I think it's more useful to use Super_L (windows key) in combination with other key in order to fire a command. For example you could recreate the windows behaviour of firing something similar to what you want, by assigning Super_L + r to "Run application".






                    share|improve this answer




























                      0














                      Probably xbindkeys is the better option. I think it's more useful to use Super_L (windows key) in combination with other key in order to fire a command. For example you could recreate the windows behaviour of firing something similar to what you want, by assigning Super_L + r to "Run application".






                      share|improve this answer


























                        0












                        0








                        0







                        Probably xbindkeys is the better option. I think it's more useful to use Super_L (windows key) in combination with other key in order to fire a command. For example you could recreate the windows behaviour of firing something similar to what you want, by assigning Super_L + r to "Run application".






                        share|improve this answer













                        Probably xbindkeys is the better option. I think it's more useful to use Super_L (windows key) in combination with other key in order to fire a command. For example you could recreate the windows behaviour of firing something similar to what you want, by assigning Super_L + r to "Run application".







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Apr 22 '11 at 20:15









                        nozimicanozimica

                        709519




                        709519























                            0














                            You can do this by running gconf-editor:



                            and navigate to



                            apps->metacity->global_keybindings->panel_run_dialog



                            and change it's value to "Super_L" or "Super_R"



                            If you want both to work at the same time, you have to assign Super_R to Super_L or vice versa.






                            share|improve this answer




























                              0














                              You can do this by running gconf-editor:



                              and navigate to



                              apps->metacity->global_keybindings->panel_run_dialog



                              and change it's value to "Super_L" or "Super_R"



                              If you want both to work at the same time, you have to assign Super_R to Super_L or vice versa.






                              share|improve this answer


























                                0












                                0








                                0







                                You can do this by running gconf-editor:



                                and navigate to



                                apps->metacity->global_keybindings->panel_run_dialog



                                and change it's value to "Super_L" or "Super_R"



                                If you want both to work at the same time, you have to assign Super_R to Super_L or vice versa.






                                share|improve this answer













                                You can do this by running gconf-editor:



                                and navigate to



                                apps->metacity->global_keybindings->panel_run_dialog



                                and change it's value to "Super_L" or "Super_R"



                                If you want both to work at the same time, you have to assign Super_R to Super_L or vice versa.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Apr 25 '11 at 11:54









                                SHWSHW

                                8,15553670




                                8,15553670























                                    0














                                    I've found that to do it through GNOME's shortcut config dialog, you first have to go to System -> Preferences/Administration -> Keyboard and click on the "Layout Options" button in the "Layouts" tab. Go to "Alt/Win key behavior" and select "Hyper is mapped to Win-Keys". Then the Win key can be used as a modifier.



                                    Edit: reread the question, this won't work for just "Win" (I assumed Win+R). Sorry.






                                    share|improve this answer




























                                      0














                                      I've found that to do it through GNOME's shortcut config dialog, you first have to go to System -> Preferences/Administration -> Keyboard and click on the "Layout Options" button in the "Layouts" tab. Go to "Alt/Win key behavior" and select "Hyper is mapped to Win-Keys". Then the Win key can be used as a modifier.



                                      Edit: reread the question, this won't work for just "Win" (I assumed Win+R). Sorry.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        I've found that to do it through GNOME's shortcut config dialog, you first have to go to System -> Preferences/Administration -> Keyboard and click on the "Layout Options" button in the "Layouts" tab. Go to "Alt/Win key behavior" and select "Hyper is mapped to Win-Keys". Then the Win key can be used as a modifier.



                                        Edit: reread the question, this won't work for just "Win" (I assumed Win+R). Sorry.






                                        share|improve this answer













                                        I've found that to do it through GNOME's shortcut config dialog, you first have to go to System -> Preferences/Administration -> Keyboard and click on the "Layout Options" button in the "Layouts" tab. Go to "Alt/Win key behavior" and select "Hyper is mapped to Win-Keys". Then the Win key can be used as a modifier.



                                        Edit: reread the question, this won't work for just "Win" (I assumed Win+R). Sorry.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered May 15 '11 at 20:06









                                        Not SureNot Sure

                                        44623




                                        44623























                                            0














                                            Pretty old question but with CentOS and Gnome 2.x nowadays, there is a pretty simple menu for it. It's under System -> Preferences -> Keyboard Shortcuts and you just have to choose the choice "Desktop" and then under that, "Run Dialog". When you click it, it lets you press the keys you want. It originally has "ALT+F2" listed but if you happen to choose the right Windows key + R, it says "Mod4+R" under the shortcut area and works like a champ.






                                            share|improve this answer




























                                              0














                                              Pretty old question but with CentOS and Gnome 2.x nowadays, there is a pretty simple menu for it. It's under System -> Preferences -> Keyboard Shortcuts and you just have to choose the choice "Desktop" and then under that, "Run Dialog". When you click it, it lets you press the keys you want. It originally has "ALT+F2" listed but if you happen to choose the right Windows key + R, it says "Mod4+R" under the shortcut area and works like a champ.






                                              share|improve this answer


























                                                0












                                                0








                                                0







                                                Pretty old question but with CentOS and Gnome 2.x nowadays, there is a pretty simple menu for it. It's under System -> Preferences -> Keyboard Shortcuts and you just have to choose the choice "Desktop" and then under that, "Run Dialog". When you click it, it lets you press the keys you want. It originally has "ALT+F2" listed but if you happen to choose the right Windows key + R, it says "Mod4+R" under the shortcut area and works like a champ.






                                                share|improve this answer













                                                Pretty old question but with CentOS and Gnome 2.x nowadays, there is a pretty simple menu for it. It's under System -> Preferences -> Keyboard Shortcuts and you just have to choose the choice "Desktop" and then under that, "Run Dialog". When you click it, it lets you press the keys you want. It originally has "ALT+F2" listed but if you happen to choose the right Windows key + R, it says "Mod4+R" under the shortcut area and works like a champ.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Jul 8 '14 at 20:21









                                                jammer777jammer777

                                                1




                                                1






























                                                    draft saved

                                                    draft discarded




















































                                                    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%2f10660%2fcan-i-change-a-shortcut-key-to-windows-key%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

                                                    CARDNET

                                                    Boot-repair Failure: Unable to locate package grub-common:i386

                                                    濃尾地震