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

Monday, April 30th 2007, 9:54am

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

jucato

Trainee

Posts: 155

Location: Philippines

  • Send private message

2

Monday, April 30th 2007, 1:27pm

http://developer.kde.org/documentation/tutorials/dot/servicemenus.html

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

  • "deelip_prusty" started this thread

Posts: 3

Location: Kolkata

Occupation: Student

  • Send private message

3

Tuesday, May 1st 2007, 6:10am

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