Remove context menu options in Files, Ubuntu Gnome 16.04












4















I would like to remove the E-mail and Compress options from the context menu of Files (nautilus) in Ubuntu Gnome 16.04.



Any idea which file/s I would need to edit and it's location?










share|improve this question





























    4















    I would like to remove the E-mail and Compress options from the context menu of Files (nautilus) in Ubuntu Gnome 16.04.



    Any idea which file/s I would need to edit and it's location?










    share|improve this question



























      4












      4








      4








      I would like to remove the E-mail and Compress options from the context menu of Files (nautilus) in Ubuntu Gnome 16.04.



      Any idea which file/s I would need to edit and it's location?










      share|improve this question
















      I would like to remove the E-mail and Compress options from the context menu of Files (nautilus) in Ubuntu Gnome 16.04.



      Any idea which file/s I would need to edit and it's location?







      16.04 nautilus context-menu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 13 at 13:18









      vanadium

      5,56111429




      5,56111429










      asked Jan 13 at 12:02









      morecoffeemanmorecoffeeman

      234




      234






















          1 Answer
          1






          active

          oldest

          votes


















          4














          Some of the right-click options in Files (nautilus) are determined by systemwide nautilus extensions, and may indeed be removed by removing that extension.



          To remove the "E-mail" option:



          sudo apt remove nautilus-sendto


          Removing the "Compress" option is less obvious. This comes installed with the file compression utility file-roller. You will remove the option with the following command, but you also will remove the file compression utility file-roller:



          sudo apt remove file-roller


          If you want to remove only the option, but keep the application file-roller, then you need to resort to an unsupported hack: delete the file `/usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so'. SO proceed at your own risk. In practice, it is better to rename the file rather than deleting it. Then you can easily restore to the previous state if needed.



          To move the file out of the way:



          sudo mv /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so.old


          To restore, just switch the two file paths.



          This is "unsupported", because you operate out of the packet management at the file level. An upgrade in file-roller will put the file back, so you then will need to repeat the process.






          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%2f1109347%2fremove-context-menu-options-in-files-ubuntu-gnome-16-04%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









            4














            Some of the right-click options in Files (nautilus) are determined by systemwide nautilus extensions, and may indeed be removed by removing that extension.



            To remove the "E-mail" option:



            sudo apt remove nautilus-sendto


            Removing the "Compress" option is less obvious. This comes installed with the file compression utility file-roller. You will remove the option with the following command, but you also will remove the file compression utility file-roller:



            sudo apt remove file-roller


            If you want to remove only the option, but keep the application file-roller, then you need to resort to an unsupported hack: delete the file `/usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so'. SO proceed at your own risk. In practice, it is better to rename the file rather than deleting it. Then you can easily restore to the previous state if needed.



            To move the file out of the way:



            sudo mv /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so.old


            To restore, just switch the two file paths.



            This is "unsupported", because you operate out of the packet management at the file level. An upgrade in file-roller will put the file back, so you then will need to repeat the process.






            share|improve this answer






























              4














              Some of the right-click options in Files (nautilus) are determined by systemwide nautilus extensions, and may indeed be removed by removing that extension.



              To remove the "E-mail" option:



              sudo apt remove nautilus-sendto


              Removing the "Compress" option is less obvious. This comes installed with the file compression utility file-roller. You will remove the option with the following command, but you also will remove the file compression utility file-roller:



              sudo apt remove file-roller


              If you want to remove only the option, but keep the application file-roller, then you need to resort to an unsupported hack: delete the file `/usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so'. SO proceed at your own risk. In practice, it is better to rename the file rather than deleting it. Then you can easily restore to the previous state if needed.



              To move the file out of the way:



              sudo mv /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so.old


              To restore, just switch the two file paths.



              This is "unsupported", because you operate out of the packet management at the file level. An upgrade in file-roller will put the file back, so you then will need to repeat the process.






              share|improve this answer




























                4












                4








                4







                Some of the right-click options in Files (nautilus) are determined by systemwide nautilus extensions, and may indeed be removed by removing that extension.



                To remove the "E-mail" option:



                sudo apt remove nautilus-sendto


                Removing the "Compress" option is less obvious. This comes installed with the file compression utility file-roller. You will remove the option with the following command, but you also will remove the file compression utility file-roller:



                sudo apt remove file-roller


                If you want to remove only the option, but keep the application file-roller, then you need to resort to an unsupported hack: delete the file `/usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so'. SO proceed at your own risk. In practice, it is better to rename the file rather than deleting it. Then you can easily restore to the previous state if needed.



                To move the file out of the way:



                sudo mv /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so.old


                To restore, just switch the two file paths.



                This is "unsupported", because you operate out of the packet management at the file level. An upgrade in file-roller will put the file back, so you then will need to repeat the process.






                share|improve this answer















                Some of the right-click options in Files (nautilus) are determined by systemwide nautilus extensions, and may indeed be removed by removing that extension.



                To remove the "E-mail" option:



                sudo apt remove nautilus-sendto


                Removing the "Compress" option is less obvious. This comes installed with the file compression utility file-roller. You will remove the option with the following command, but you also will remove the file compression utility file-roller:



                sudo apt remove file-roller


                If you want to remove only the option, but keep the application file-roller, then you need to resort to an unsupported hack: delete the file `/usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so'. SO proceed at your own risk. In practice, it is better to rename the file rather than deleting it. Then you can easily restore to the previous state if needed.



                To move the file out of the way:



                sudo mv /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so /usr/lib/x86_64-linux-gnu/nautilus/extensions-3.0/libnautilus-fileroller.so.old


                To restore, just switch the two file paths.



                This is "unsupported", because you operate out of the packet management at the file level. An upgrade in file-roller will put the file back, so you then will need to repeat the process.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 13 at 13:19

























                answered Jan 13 at 12:24









                vanadiumvanadium

                5,56111429




                5,56111429






























                    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%2f1109347%2fremove-context-menu-options-in-files-ubuntu-gnome-16-04%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

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix