You are not logged in.

#1 2008-04-02 16:43:11

Doc Angelo
Member
From: Germany
Registered: 2007-11-28
Posts: 52

KDE service menu isn't appearing

Hello,

i wrote a service menu for mounting an image as a drive for the CDemu daemon.

[Desktop Entry]
ServiceTypes=application/x-b6t,application/x-ccd,application/x-cdi,application/x-cue,application/x-iso,application/x-mds,application/x-nrg,application/x-toc
Actions=Abbild_virtuell_einlegen

[Desktop Action Abbild_virtuell_einlegen]
Name=Abbild als virtuelle CD einlegen
Icon=cdimage
Exec=dcop yakuake DCOPInterface slotRunCommandInSession 0 0 cdemu -b system load 0 %f

The problem is, that it doesn't appear in the RMB menu. If i replace the "%f" with a "%u", it appears. Does a service menu only accept "%u"?

Greets,
Doc Angelo

Last edited by Doc Angelo (2008-04-02 16:43:46)

Offline

#2 2008-04-02 20:49:15

Doc Angelo
Member
From: Germany
Registered: 2007-11-28
Posts: 52

Re: KDE service menu isn't appearing

Well, it seems, that if one is using anything other than "%u" in the exec command, then the action isnt visible in the menu, if you're rightclicking from a KDE system folder, like "system:/home/Desktop/Downloads". When i rightclick on the same file in a normal folder (like /home/USER/Desktop/Downloads/), then the action is visible.

Is this normal KDE behavior? The system folders a completely useless this way. Also, other builtin service menus behave the same way, like KRename or K3B.

Offline

Board footer

Powered by FluxBB