You are not logged in.

  • "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