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.

  • "deelip_prusty" started this thread

Posts: 3

Location: Kolkata

Occupation: Student

  • Send private message

1

Friday, May 11th 2007, 8:23am

how to add a menu in context menu list...

Hi...

How can i add a menu in the existing context menu list.
here i have created a application cdwriter.. by right click on the mouse my application should b display on the context menu list ..like (crear folder,open terminal...etc)

i got som information from google ...by adding a .desktop file in the below directory can do tat.

~/.kde/share/apps/konqueror/servicemenus/............desktop.
and the contains of my .desktop file is

[Desktop Entry]
Encoding=UTF-8
ServiceTypes=application/cdwriter
Actions=cdwriter
Name=cdwriter
Exec=/usr/bin/cdwriter
Icon=/usr/share/pixmaps/apple-red.png

but i couldnt.. worked.................. kindly help...

i want it portable for all distributions...

__________________
DEELIP
30.04.2007 10:54 deelip_prusty is offline Send an Email to deelip_prusty Homepage of deelip_prusty Search for Posts by deelip_prusty Add deelip_prusty to your Buddy List AIM Screen Name of deelip_prusty: OOO YIM Account Name of deelip_prusty: OO
jucato jucato is a male
Chief Software Engineer


Location: Philippines


http://developer.kde.org/documentation/t utorials/dot/servicemenus.html Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator Go to the top of this page
Not sure if this is the same thing you found from Google, but I think it's the only tutorial around that does what you're asking:

http://developer.kde.org/documentation/t...rvicemenus.html

__________________
OS: Kubuntu 6.06 LTS (Dapper Drake) | KDE 3.5.3
Computer Specs: AMD Sempron 2200 1.5Ghz | VIA KM266 Pro 8235 chipset | nVidia GeForce MX 4000 128MB DDR-RAM 32-bit AGP 8x
30.04.2007 14:27 jucato is offline Send an Email to jucato Search for Posts by jucato Add jucato to your Buddy List
deelip_prusty deelip_prusty is a male
Assistant


Location: Kolkata

Thread Starter Thread Started by deelip_prusty

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator Go to the top of this page
thanx a lot....

This exact document i had got from google.. i hav tried with this.. but its not working..

This one is for KDE only.. not fot GNOME so i mean to say how can i do it for both session according to user login...

could u guide me this regarding
DEELIP

2

Saturday, May 12th 2007, 11:58am

You can find lots of examples of servicemenus on kde-apps.org (search for 'servicemenu')
Help mee om KDE 3.5.5 in het Nederlands te vertalen

This post has been edited 2 times, last edit by "Rinse" (May 12th 2007, 12:01pm)