escaping Function keys for terminal applications












1















I'm trying to use F keys (F1,F10,F11) keys in terminal applications (e.g. mutltitail , mc) in terminal emulator (xfce4-terminal) but these keys are assigned to terminal emulator GUI (for help, menu & fullscreen)



how can I send F1,F10,F11 to terminal applications in an terminal emulator ?










share|improve this question























  • Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

    – Lew Rockwell Fan
    May 15 '17 at 22:49











  • @LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

    – RYN
    May 15 '17 at 22:53













  • Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

    – Lew Rockwell Fan
    May 15 '17 at 23:29
















1















I'm trying to use F keys (F1,F10,F11) keys in terminal applications (e.g. mutltitail , mc) in terminal emulator (xfce4-terminal) but these keys are assigned to terminal emulator GUI (for help, menu & fullscreen)



how can I send F1,F10,F11 to terminal applications in an terminal emulator ?










share|improve this question























  • Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

    – Lew Rockwell Fan
    May 15 '17 at 22:49











  • @LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

    – RYN
    May 15 '17 at 22:53













  • Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

    – Lew Rockwell Fan
    May 15 '17 at 23:29














1












1








1








I'm trying to use F keys (F1,F10,F11) keys in terminal applications (e.g. mutltitail , mc) in terminal emulator (xfce4-terminal) but these keys are assigned to terminal emulator GUI (for help, menu & fullscreen)



how can I send F1,F10,F11 to terminal applications in an terminal emulator ?










share|improve this question














I'm trying to use F keys (F1,F10,F11) keys in terminal applications (e.g. mutltitail , mc) in terminal emulator (xfce4-terminal) but these keys are assigned to terminal emulator GUI (for help, menu & fullscreen)



how can I send F1,F10,F11 to terminal applications in an terminal emulator ?







keyboard shortcut-keys xfce4-terminal






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 15 '17 at 22:40









RYNRYN

1443623




1443623













  • Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

    – Lew Rockwell Fan
    May 15 '17 at 22:49











  • @LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

    – RYN
    May 15 '17 at 22:53













  • Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

    – Lew Rockwell Fan
    May 15 '17 at 23:29



















  • Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

    – Lew Rockwell Fan
    May 15 '17 at 22:49











  • @LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

    – RYN
    May 15 '17 at 22:53













  • Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

    – Lew Rockwell Fan
    May 15 '17 at 23:29

















Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

– Lew Rockwell Fan
May 15 '17 at 22:49





Could you split up the logic of what you are doing so that you could start another script to do just the part where you need to do this with nohup SOMESCRIPT.SH & so that THAT script ran in the background and used xdotool to send the key simulations you want?

– Lew Rockwell Fan
May 15 '17 at 22:49













@LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

– RYN
May 15 '17 at 22:53







@LewRockwellFan: no; for example i'm using mc and it uses F10 for exiting mc; or I'm using multiterm and i uses F1 for help; but I can't use them because when i press F10 terminal emulator's File menu displays up

– RYN
May 15 '17 at 22:53















Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

– Lew Rockwell Fan
May 15 '17 at 23:29





Just guessing, but have you looked at the documentation for these apps? Usually there is a config file somewhere that will let you change keybindings to avoid exactly that kind of conflict.

– Lew Rockwell Fan
May 15 '17 at 23:29










1 Answer
1






active

oldest

votes


















1














The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.



This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop



I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.






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%2f915525%2fescaping-function-keys-for-terminal-applications%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









    1














    The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.



    This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop



    I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.






    share|improve this answer




























      1














      The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.



      This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop



      I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.






      share|improve this answer


























        1












        1








        1







        The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.



        This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop



        I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.






        share|improve this answer













        The F10 key can be disassociated with the terminal GUI by going to Preferences -> General, and then unchecking 'Enable the menu accelerator key'.



        This answer has more information: Ubuntu 18.04 Terminal F10 function key conflict with htop



        I'm unsure about the F1 or F11 keys, but I suspect @LewRockwellFan may have the best solution by suggesting to look at the configuration for the applications you are trying to use.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 24 at 18:27









        WxPilotWxPilot

        6362922




        6362922






























            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%2f915525%2fescaping-function-keys-for-terminal-applications%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?