Ubuntu 17.10 issue with F10 shortcut












3















I did a fresh install of 17.10 and have an issue with the F10 shortcut. I need the F10 to close Midnight Commander in terminal. In Unity I knew how to disable the shortcut, but in gnome this seems not to work at all. I did tried:



Settings > Devices > Keyboard > Keyboard Shortcuts


and disabled anything containing F10 with no luck. In terminal I disabled the shortcuts as well. Also some old solutions like this:



~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
}

* {
gtk-key-bindings: NoKeyboardNavigation
}


seems not to work.



Any help will be appreciated, thks.










share|improve this question

























  • I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

    – egmont
    Oct 22 '17 at 10:47











  • No I did not, please post this as an answer. This was it.

    – emvidi
    Oct 22 '17 at 10:52
















3















I did a fresh install of 17.10 and have an issue with the F10 shortcut. I need the F10 to close Midnight Commander in terminal. In Unity I knew how to disable the shortcut, but in gnome this seems not to work at all. I did tried:



Settings > Devices > Keyboard > Keyboard Shortcuts


and disabled anything containing F10 with no luck. In terminal I disabled the shortcuts as well. Also some old solutions like this:



~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
}

* {
gtk-key-bindings: NoKeyboardNavigation
}


seems not to work.



Any help will be appreciated, thks.










share|improve this question

























  • I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

    – egmont
    Oct 22 '17 at 10:47











  • No I did not, please post this as an answer. This was it.

    – emvidi
    Oct 22 '17 at 10:52














3












3








3


1






I did a fresh install of 17.10 and have an issue with the F10 shortcut. I need the F10 to close Midnight Commander in terminal. In Unity I knew how to disable the shortcut, but in gnome this seems not to work at all. I did tried:



Settings > Devices > Keyboard > Keyboard Shortcuts


and disabled anything containing F10 with no luck. In terminal I disabled the shortcuts as well. Also some old solutions like this:



~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
}

* {
gtk-key-bindings: NoKeyboardNavigation
}


seems not to work.



Any help will be appreciated, thks.










share|improve this question
















I did a fresh install of 17.10 and have an issue with the F10 shortcut. I need the F10 to close Midnight Commander in terminal. In Unity I knew how to disable the shortcut, but in gnome this seems not to work at all. I did tried:



Settings > Devices > Keyboard > Keyboard Shortcuts


and disabled anything containing F10 with no luck. In terminal I disabled the shortcuts as well. Also some old solutions like this:



~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
}

* {
gtk-key-bindings: NoKeyboardNavigation
}


seems not to work.



Any help will be appreciated, thks.







command-line gnome shortcut-keys 17.10






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 28 '17 at 21:43









N0rbert

23k649110




23k649110










asked Oct 22 '17 at 10:27









emvidiemvidi

1708




1708













  • I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

    – egmont
    Oct 22 '17 at 10:47











  • No I did not, please post this as an answer. This was it.

    – emvidi
    Oct 22 '17 at 10:52



















  • I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

    – egmont
    Oct 22 '17 at 10:47











  • No I did not, please post this as an answer. This was it.

    – emvidi
    Oct 22 '17 at 10:52

















I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

– egmont
Oct 22 '17 at 10:47





I assume you're talking about gnome-terminal. Have you turned off its Prefereces -> "Enable the menu accelerator key (F10 by default)"?

– egmont
Oct 22 '17 at 10:47













No I did not, please post this as an answer. This was it.

– emvidi
Oct 22 '17 at 10:52





No I did not, please post this as an answer. This was it.

– emvidi
Oct 22 '17 at 10:52










4 Answers
4






active

oldest

votes


















11














You can disable the handling of F10 in GNOME Terminal's Preferences dialog, General tab.



While at it, you might also want to disable Alt+letter mnemonics here, as well as F1 (and if required, F11 too) under the Shortcuts tab.






share|improve this answer



















  • 1





    Thanks, I don't know how I did not see that with the menu accelerator :)

    – emvidi
    Oct 22 '17 at 12:14



















4














To disable F10 to access Terminal menu:



1) sudo apt install dconf-tools



2) run dconf-editor > browse to org/gnome/terminal/legacy



3) turn off menu-acceletator-enabled (Custom Value -> false)



4) close the terminal, open it again



Thanks firepol for your suggestion.






share|improve this answer


























  • Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

    – firepol
    Dec 12 '17 at 20:34













  • it works ubuntu 18.04

    – inzem77
    Sep 10 '18 at 8:54



















2














Though I feel egmont's answer is the best solution, maybe this additional option may be useful to someone.



If you don't want to:




  • perform any mouse clicks

  • disable F10 opening menu (for some reason)


You can also (as DarkDust points out) emulate F10 key press by pressing: ESC followed by 0






share|improve this answer
























  • Good to know this, thks.

    – emvidi
    Jan 23 at 10:33



















1














You need not disable F10. You can simply click (with the mouse) on the Quit 'button' in the bottom right corner to quit from Midnight Commander.



enter image description here






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',
    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%2faskubuntu.com%2fquestions%2f967537%2fubuntu-17-10-issue-with-f10-shortcut%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    11














    You can disable the handling of F10 in GNOME Terminal's Preferences dialog, General tab.



    While at it, you might also want to disable Alt+letter mnemonics here, as well as F1 (and if required, F11 too) under the Shortcuts tab.






    share|improve this answer



















    • 1





      Thanks, I don't know how I did not see that with the menu accelerator :)

      – emvidi
      Oct 22 '17 at 12:14
















    11














    You can disable the handling of F10 in GNOME Terminal's Preferences dialog, General tab.



    While at it, you might also want to disable Alt+letter mnemonics here, as well as F1 (and if required, F11 too) under the Shortcuts tab.






    share|improve this answer



















    • 1





      Thanks, I don't know how I did not see that with the menu accelerator :)

      – emvidi
      Oct 22 '17 at 12:14














    11












    11








    11







    You can disable the handling of F10 in GNOME Terminal's Preferences dialog, General tab.



    While at it, you might also want to disable Alt+letter mnemonics here, as well as F1 (and if required, F11 too) under the Shortcuts tab.






    share|improve this answer













    You can disable the handling of F10 in GNOME Terminal's Preferences dialog, General tab.



    While at it, you might also want to disable Alt+letter mnemonics here, as well as F1 (and if required, F11 too) under the Shortcuts tab.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 22 '17 at 11:57









    egmontegmont

    3,85611024




    3,85611024








    • 1





      Thanks, I don't know how I did not see that with the menu accelerator :)

      – emvidi
      Oct 22 '17 at 12:14














    • 1





      Thanks, I don't know how I did not see that with the menu accelerator :)

      – emvidi
      Oct 22 '17 at 12:14








    1




    1





    Thanks, I don't know how I did not see that with the menu accelerator :)

    – emvidi
    Oct 22 '17 at 12:14





    Thanks, I don't know how I did not see that with the menu accelerator :)

    – emvidi
    Oct 22 '17 at 12:14













    4














    To disable F10 to access Terminal menu:



    1) sudo apt install dconf-tools



    2) run dconf-editor > browse to org/gnome/terminal/legacy



    3) turn off menu-acceletator-enabled (Custom Value -> false)



    4) close the terminal, open it again



    Thanks firepol for your suggestion.






    share|improve this answer


























    • Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

      – firepol
      Dec 12 '17 at 20:34













    • it works ubuntu 18.04

      – inzem77
      Sep 10 '18 at 8:54
















    4














    To disable F10 to access Terminal menu:



    1) sudo apt install dconf-tools



    2) run dconf-editor > browse to org/gnome/terminal/legacy



    3) turn off menu-acceletator-enabled (Custom Value -> false)



    4) close the terminal, open it again



    Thanks firepol for your suggestion.






    share|improve this answer


























    • Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

      – firepol
      Dec 12 '17 at 20:34













    • it works ubuntu 18.04

      – inzem77
      Sep 10 '18 at 8:54














    4












    4








    4







    To disable F10 to access Terminal menu:



    1) sudo apt install dconf-tools



    2) run dconf-editor > browse to org/gnome/terminal/legacy



    3) turn off menu-acceletator-enabled (Custom Value -> false)



    4) close the terminal, open it again



    Thanks firepol for your suggestion.






    share|improve this answer















    To disable F10 to access Terminal menu:



    1) sudo apt install dconf-tools



    2) run dconf-editor > browse to org/gnome/terminal/legacy



    3) turn off menu-acceletator-enabled (Custom Value -> false)



    4) close the terminal, open it again



    Thanks firepol for your suggestion.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 21 '17 at 13:09

























    answered Nov 3 '17 at 20:06









    GabrielGabriel

    412




    412













    • Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

      – firepol
      Dec 12 '17 at 20:34













    • it works ubuntu 18.04

      – inzem77
      Sep 10 '18 at 8:54



















    • Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

      – firepol
      Dec 12 '17 at 20:34













    • it works ubuntu 18.04

      – inzem77
      Sep 10 '18 at 8:54

















    Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

    – firepol
    Dec 12 '17 at 20:34







    Or rewritten in a way for people to follow it 1:1 (& copy paste the commands) 1) sudo apt install dconf-tools 2) run dconf-editor > browse to org/gnome/terminal/legacy 3) turn off menu-acceletator-enabled 4) close the terminal, open it again. F10 is now free again. Enjoy. I upvoted your answer anyway, since I could finally get rid of that annoyng shortcut and be able to close midnight commander via F10 again. Thx for that.

    – firepol
    Dec 12 '17 at 20:34















    it works ubuntu 18.04

    – inzem77
    Sep 10 '18 at 8:54





    it works ubuntu 18.04

    – inzem77
    Sep 10 '18 at 8:54











    2














    Though I feel egmont's answer is the best solution, maybe this additional option may be useful to someone.



    If you don't want to:




    • perform any mouse clicks

    • disable F10 opening menu (for some reason)


    You can also (as DarkDust points out) emulate F10 key press by pressing: ESC followed by 0






    share|improve this answer
























    • Good to know this, thks.

      – emvidi
      Jan 23 at 10:33
















    2














    Though I feel egmont's answer is the best solution, maybe this additional option may be useful to someone.



    If you don't want to:




    • perform any mouse clicks

    • disable F10 opening menu (for some reason)


    You can also (as DarkDust points out) emulate F10 key press by pressing: ESC followed by 0






    share|improve this answer
























    • Good to know this, thks.

      – emvidi
      Jan 23 at 10:33














    2












    2








    2







    Though I feel egmont's answer is the best solution, maybe this additional option may be useful to someone.



    If you don't want to:




    • perform any mouse clicks

    • disable F10 opening menu (for some reason)


    You can also (as DarkDust points out) emulate F10 key press by pressing: ESC followed by 0






    share|improve this answer













    Though I feel egmont's answer is the best solution, maybe this additional option may be useful to someone.



    If you don't want to:




    • perform any mouse clicks

    • disable F10 opening menu (for some reason)


    You can also (as DarkDust points out) emulate F10 key press by pressing: ESC followed by 0







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 22 at 15:16









    Cillian MylesCillian Myles

    1213




    1213













    • Good to know this, thks.

      – emvidi
      Jan 23 at 10:33



















    • Good to know this, thks.

      – emvidi
      Jan 23 at 10:33

















    Good to know this, thks.

    – emvidi
    Jan 23 at 10:33





    Good to know this, thks.

    – emvidi
    Jan 23 at 10:33











    1














    You need not disable F10. You can simply click (with the mouse) on the Quit 'button' in the bottom right corner to quit from Midnight Commander.



    enter image description here






    share|improve this answer






























      1














      You need not disable F10. You can simply click (with the mouse) on the Quit 'button' in the bottom right corner to quit from Midnight Commander.



      enter image description here






      share|improve this answer




























        1












        1








        1







        You need not disable F10. You can simply click (with the mouse) on the Quit 'button' in the bottom right corner to quit from Midnight Commander.



        enter image description here






        share|improve this answer















        You need not disable F10. You can simply click (with the mouse) on the Quit 'button' in the bottom right corner to quit from Midnight Commander.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 20 '18 at 7:14

























        answered Nov 3 '17 at 20:26









        sudodussudodus

        24.1k32875




        24.1k32875






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f967537%2fubuntu-17-10-issue-with-f10-shortcut%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕