Remove context menu options in Files, Ubuntu Gnome 16.04
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
add a comment |
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
add a comment |
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
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
16.04 nautilus context-menu
edited Jan 13 at 13:18
vanadium
5,56111429
5,56111429
asked Jan 13 at 12:02
morecoffeemanmorecoffeeman
234
234
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited Jan 13 at 13:19
answered Jan 13 at 12:24
vanadiumvanadium
5,56111429
5,56111429
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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