LinuxQuestions.org
Register a domain and help support LQ
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: SLED, openSUSE
Posts: 1,024

Rep: Reputation: 173Reputation: 173
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
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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: SLED, openSUSE
Posts: 1,024

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 09:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration