LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Remove 'Move to Trash' option from Konqueror context menu. (https://www.linuxquestions.org/questions/linux-software-2/remove-move-to-trash-option-from-konqueror-context-menu-659907/)

arizonagroovejet 08-02-2008 04:10 AM

Remove 'Move to Trash' option from Konqueror context menu.
 
Anyone know a way to remove the 'Move to Trash' (or Deleted Items or Wastebin depending on which distro you're using) option from Konqueror's context menu? I know it's possible to add a 'Delete' option but I have a situation where I would like to only give users the 'Delete' option and not the 'Move to Trash' option.

colucix 08-02-2008 03:57 PM

The default right-click menu is not customizable (I think the menu entries are hardcoded in the KDE executables). You can add a new menu section and customize that, but the default is untouchable. At least until KDE 3.5. However you can still delete files by holding the Shift key while calling 'Move to Trash'.

An useful document about Konqueror customization is "Creating Konqueror Service Menus".

arizonagroovejet 08-02-2008 05:12 PM

I was afraid the contents of the context menu was hard coded due to the total lack of any information I could find about customising it. I know all about the service menu thing, but that's no use for what I want to do. Oh well.


All times are GMT -5. The time now is 08:58 PM.