You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, February 26th 2004, 5:58pm

Service Menu Customization

I would like to 'customize' the service menu.
I know how to 'add' options [such as :::



cat xmm_options.desktop

# KDE Config File
[KDE Desktop Entry]
Actions=Enque (xmms);Play (xmms)
ServiceTypes=audio/x-mp3
[Desktop Action Play (xmms)]
Name=Play (xmms)
Exec=xmms %F
Icon=xmms.xpm
[Desktop Action Enque (xmms)]
Name=Enque (xmms)
Exec=xmms -e %F
Icon=xmms.xpm


But where/how do I remove options? Such as 'Add to Bookmarks' as I don't use this feature, and it's a waste of real estate on the right click.
I've grep'd in /opt/kde3 to no avail trying to find the 'add to bookmarks' :(

How do I add a multi-tier option, say 'Open with editor --> 1) kate 2) Open Office 3) VIM'

many thanks

TroyC

[/code]

2

Friday, February 27th 2004, 1:00am

1. "Add to Bookmarks" is a hardcoded option you cannot remove it.
2. Other servicemenus reside in share/apps/konqueror/servicemenus directory under $HOME/.kde or /usr or /opt/kde3. You can add or remove in that.
3. "Open with.." is a special menu. Its behavior is controlled by mime types installed. To configure that u have set the options in "Settings->Configure Konqueror->File Associations" for the specific mime type.
4. To form multitier menus you have to use the option "X-KDE-Submenu". For detailed info see this excellent tutorial by Aaron Seigo http://developer.kde.org/documentation/tutorials/dot/servicemenus.html

3

Wednesday, March 3rd 2004, 6:33pm

Many thanks...great info