Xubuntu: How to reset a menu accelerator?












1















I'm running Xubuntu 15.10 and I recently discovered GTK menu accelerators (http://docs.xfce.org/faq) and find them incredibly useful. I can easily set them and I know that hitting Backspace will clear one. However, how can I reset it back to the original shortcut? I know that I could manually reset it to whatever it was but I was wondering if there was an easier way just to reset it back to the default shortcut.










share|improve this question





























    1















    I'm running Xubuntu 15.10 and I recently discovered GTK menu accelerators (http://docs.xfce.org/faq) and find them incredibly useful. I can easily set them and I know that hitting Backspace will clear one. However, how can I reset it back to the original shortcut? I know that I could manually reset it to whatever it was but I was wondering if there was an easier way just to reset it back to the default shortcut.










    share|improve this question



























      1












      1








      1








      I'm running Xubuntu 15.10 and I recently discovered GTK menu accelerators (http://docs.xfce.org/faq) and find them incredibly useful. I can easily set them and I know that hitting Backspace will clear one. However, how can I reset it back to the original shortcut? I know that I could manually reset it to whatever it was but I was wondering if there was an easier way just to reset it back to the default shortcut.










      share|improve this question
















      I'm running Xubuntu 15.10 and I recently discovered GTK menu accelerators (http://docs.xfce.org/faq) and find them incredibly useful. I can easily set them and I know that hitting Backspace will clear one. However, how can I reset it back to the original shortcut? I know that I could manually reset it to whatever it was but I was wondering if there was an easier way just to reset it back to the default shortcut.







      xubuntu xfce gtk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 7 '16 at 11:54







      Matt

















      asked Feb 6 '16 at 22:15









      MattMatt

      1329




      1329






















          1 Answer
          1






          active

          oldest

          votes


















          1














          The easiest way: delete the menu accelerators' configuration files, then restart the applications to take effect. No need to logout or reboot the system at all.



          Where are the config files



          The configuration files are found as accels.scm per application basis, per user. To list down all existing files for current user, run the following command and see its output.



          $ locate accels
          /home/USERNAME/.config/Mousepad/accels.scm
          /home/USERNAME/.config/Thunar/accels.scm
          /home/USERNAME/.config/ristretto/accels.scm


          USERNAME refers to the name of current user.



          There are only three matching results by default (in Xubuntu 14.04), which are menu acceleration configuration files for Mousepad text editor, Thunar file manager, and ristretto image viewer.



          Missing config files



          As hinted above, not all applications have the configuration files by default.



          For example, Xfce Terminal will not create accels.scm file for current user, unless the menu accelerators have been changed in Xfce Terminal. If you have already tried changing the menu accelerator in Xfce Terminal, then you will see one more additional line as follows.



          /home/USERNAME/.config/xfce4/terminal/accels.scm


          If the additional line is not seen immediately, then update the database for locate command by running sudo updatedb.mlocate in Terminal. Finally, run again locate accels and matching results will be updated as above.



          Tested working in Xubuntu 14.04 (Xfce 4.10).



          TL;DR Delete config files, then restart applications. Back to default.






          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%2f730597%2fxubuntu-how-to-reset-a-menu-accelerator%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 easiest way: delete the menu accelerators' configuration files, then restart the applications to take effect. No need to logout or reboot the system at all.



            Where are the config files



            The configuration files are found as accels.scm per application basis, per user. To list down all existing files for current user, run the following command and see its output.



            $ locate accels
            /home/USERNAME/.config/Mousepad/accels.scm
            /home/USERNAME/.config/Thunar/accels.scm
            /home/USERNAME/.config/ristretto/accels.scm


            USERNAME refers to the name of current user.



            There are only three matching results by default (in Xubuntu 14.04), which are menu acceleration configuration files for Mousepad text editor, Thunar file manager, and ristretto image viewer.



            Missing config files



            As hinted above, not all applications have the configuration files by default.



            For example, Xfce Terminal will not create accels.scm file for current user, unless the menu accelerators have been changed in Xfce Terminal. If you have already tried changing the menu accelerator in Xfce Terminal, then you will see one more additional line as follows.



            /home/USERNAME/.config/xfce4/terminal/accels.scm


            If the additional line is not seen immediately, then update the database for locate command by running sudo updatedb.mlocate in Terminal. Finally, run again locate accels and matching results will be updated as above.



            Tested working in Xubuntu 14.04 (Xfce 4.10).



            TL;DR Delete config files, then restart applications. Back to default.






            share|improve this answer






























              1














              The easiest way: delete the menu accelerators' configuration files, then restart the applications to take effect. No need to logout or reboot the system at all.



              Where are the config files



              The configuration files are found as accels.scm per application basis, per user. To list down all existing files for current user, run the following command and see its output.



              $ locate accels
              /home/USERNAME/.config/Mousepad/accels.scm
              /home/USERNAME/.config/Thunar/accels.scm
              /home/USERNAME/.config/ristretto/accels.scm


              USERNAME refers to the name of current user.



              There are only three matching results by default (in Xubuntu 14.04), which are menu acceleration configuration files for Mousepad text editor, Thunar file manager, and ristretto image viewer.



              Missing config files



              As hinted above, not all applications have the configuration files by default.



              For example, Xfce Terminal will not create accels.scm file for current user, unless the menu accelerators have been changed in Xfce Terminal. If you have already tried changing the menu accelerator in Xfce Terminal, then you will see one more additional line as follows.



              /home/USERNAME/.config/xfce4/terminal/accels.scm


              If the additional line is not seen immediately, then update the database for locate command by running sudo updatedb.mlocate in Terminal. Finally, run again locate accels and matching results will be updated as above.



              Tested working in Xubuntu 14.04 (Xfce 4.10).



              TL;DR Delete config files, then restart applications. Back to default.






              share|improve this answer




























                1












                1








                1







                The easiest way: delete the menu accelerators' configuration files, then restart the applications to take effect. No need to logout or reboot the system at all.



                Where are the config files



                The configuration files are found as accels.scm per application basis, per user. To list down all existing files for current user, run the following command and see its output.



                $ locate accels
                /home/USERNAME/.config/Mousepad/accels.scm
                /home/USERNAME/.config/Thunar/accels.scm
                /home/USERNAME/.config/ristretto/accels.scm


                USERNAME refers to the name of current user.



                There are only three matching results by default (in Xubuntu 14.04), which are menu acceleration configuration files for Mousepad text editor, Thunar file manager, and ristretto image viewer.



                Missing config files



                As hinted above, not all applications have the configuration files by default.



                For example, Xfce Terminal will not create accels.scm file for current user, unless the menu accelerators have been changed in Xfce Terminal. If you have already tried changing the menu accelerator in Xfce Terminal, then you will see one more additional line as follows.



                /home/USERNAME/.config/xfce4/terminal/accels.scm


                If the additional line is not seen immediately, then update the database for locate command by running sudo updatedb.mlocate in Terminal. Finally, run again locate accels and matching results will be updated as above.



                Tested working in Xubuntu 14.04 (Xfce 4.10).



                TL;DR Delete config files, then restart applications. Back to default.






                share|improve this answer















                The easiest way: delete the menu accelerators' configuration files, then restart the applications to take effect. No need to logout or reboot the system at all.



                Where are the config files



                The configuration files are found as accels.scm per application basis, per user. To list down all existing files for current user, run the following command and see its output.



                $ locate accels
                /home/USERNAME/.config/Mousepad/accels.scm
                /home/USERNAME/.config/Thunar/accels.scm
                /home/USERNAME/.config/ristretto/accels.scm


                USERNAME refers to the name of current user.



                There are only three matching results by default (in Xubuntu 14.04), which are menu acceleration configuration files for Mousepad text editor, Thunar file manager, and ristretto image viewer.



                Missing config files



                As hinted above, not all applications have the configuration files by default.



                For example, Xfce Terminal will not create accels.scm file for current user, unless the menu accelerators have been changed in Xfce Terminal. If you have already tried changing the menu accelerator in Xfce Terminal, then you will see one more additional line as follows.



                /home/USERNAME/.config/xfce4/terminal/accels.scm


                If the additional line is not seen immediately, then update the database for locate command by running sudo updatedb.mlocate in Terminal. Finally, run again locate accels and matching results will be updated as above.



                Tested working in Xubuntu 14.04 (Xfce 4.10).



                TL;DR Delete config files, then restart applications. Back to default.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 8 at 15:21

























                answered Feb 7 '16 at 9:47









                clearkimuraclearkimura

                3,88011954




                3,88011954






























                    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%2f730597%2fxubuntu-how-to-reset-a-menu-accelerator%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

                    Questions related to Moebius Transform of Characteristic Function of the Primes

                    List of scandals in India

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?