[kde-linux] Regarding Service Menus

Chakkaradeep C C chaks.yoper at gmail.com
Sat Dec 24 09:54:18 UTC 2005


Hi all,

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

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

[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".

Can i get this not under the "Actions" but as how are "Cut","COpy" and
"Paste" are placed.They dont have any submenus...so my servicemenu entry
should go there. And how to make my servicemenu available when clicked on
Desktop.Now my servicemenu appears when i click any image.

thanks in advance,

--
Regards,
Chaks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20051224/9c5f5fe1/attachment.html>


More information about the kde-linux mailing list