LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2008, 04:10 AM   #1
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
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.
 
Old 08-02-2008, 03:57 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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".

Last edited by colucix; 08-02-2008 at 03:59 PM. Reason: Added reference
 
Old 08-02-2008, 05:12 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Original Poster
Rep: Reputation: 198Reputation: 198
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.
 
  


Reply

Tags
konqueror, trash



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move to trash works beautifully, but empty trash .. different story. kd5eax Mandriva 2 12-04-2007 02:52 PM
how to add konsole context menu option kahn Linux - Software 1 12-01-2007 09:08 AM
edit context menu+Konqueror Trio3b Linux - Newbie 1 09-27-2005 12:41 PM
Remove the Lower option from the pop-up menu? fuzelogic Programming 0 03-30-2004 08:33 AM
Help with icewm - Remove RightClick context menu from taskbar Glenn Albrecht Linux - Software 2 11-15-2002 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration