0

In application launchers that I have seen is Type=Application, in Dolphin actions (that I can create in ~/.local/share/kservices5) it is Type=Service.

Are there other possibilities beside these two for Dolphin and KDE/Plasma 5?

The context in which this interests me is that of a more specific question that I have posted at the same time:

How many sub-levels can there be in Dolphin actions/services?

but slso this on elementaryOS.

1 Answer 1

1

The Glorious Arch wiki has an answer and more detailed information about that.

The freedesktop.org specification consist of three .desktop Types:

  • Application: a shortcut to an application
  • Link: a shortcut to a web link.
  • Directory: a container of meta data of a menu entry

The KDE techbase mentions one extra type:

  • Service: an entry of the context menu, when you right-click a file or directory in your file manager
8
  • what about Type=Service?
    – user32012
    Feb 7, 2017 at 16:16
  • 1
    @cipricus - that's prolly part of a dolphin menu service... anyway to answer your question, yes, the possibilities are countless because basically anyone can implement and support their own Type which will (almost always) be ignored by other implementations Feb 7, 2017 at 17:57
  • As the don said, these are custom specifications, which will be recognized from different software (probably DE). I just showed you what the freedesktop specifications had in mind. You can write your own software, that needs to read Type=cipricus, for example, which then won't be recognized by "normal" software. :-)
    – Trollwut
    Feb 8, 2017 at 8:01
  • 1
    It seems like Type=Service is there only exception. Read in the KDE pages. :-) After that, they refer to the page in my answer.
    – Trollwut
    Feb 8, 2017 at 8:13
  • 1
    Also Type=Action, in desktop files (containing GConf settings) created in ~/.local/share/file-manager/actions when I add Nautilus actions with nautilus-actions-config-tool, which then appear in PCManFM, as indicated here. That doesn't seem to be specified anywhere in the posted links: here there is Action as a key, but not as an option for the Type key.
    – user32012
    Feb 8, 2017 at 9:16

You must log in to answer this question.