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.

  • "chakkaradeepcc" started this thread

Posts: 2

Location: India

Occupation: Software Developer

  • Send private message

1

Wednesday, December 28th 2005, 8:35am

Regarding Service Menus

Hi all,

thought of writing some servicemenus for kde and started off with this tutorial,
http://developer.kde.org/documentation/t…rvicemenus.html

Its indeed a nice tutorial..and the service menu worked perfect...
here is the service menu file...

Source code

1
2
3
4
5
6
7
[Desktop Entry]
ServiceTypes=image/*
Actions=setAsWallpaper
[Desktop Action setAsWallpaper]
Name=Use as Wallpaper
Icon=background
Exec=dcop kdesktop KBackgroundIface setWallpaper %u 6


This brings the "Use As Wallpaper" under "Actions".

I'd like to know if there is a way to use .dekstop file to add item to the servicemenu on the first level and not under "Actions".
with regards,
C.C.Chakkaradeep

This post has been edited 1 times, last edit by "chakkaradeepcc" (Dec 28th 2005, 8:36am)