This forum has been archived. All content is frozen. Please use KDE Discuss instead.

need dolphin service menu to create new item in KDE menu

13

Votes
15
2
Tags: dolphin, item, menu, service, kickoff, desktop dolphin, item, menu, service, kickoff, desktop dolphin, item, menu, service, kickoff, desktop
(comma "," separated)
tjk
Registered Member
Posts
54
Karma
0
OS
I've looked through the service menu options for Dolphin on KDE-apps.org, but haven't found what I'm looking for...

Is it possible to create a service that would make a selected file (eg wikidpad.py or GTD-free.jar) a "new item" in the KDE menu? There are java and python apps that I haven't put in the KDE menu (but should) because there's no easy way that I've found to do it (other then actually opening up KDE menu editor and adding it). I would like to do it directly from within Dolphin. Can it be done? Or is there already a service for this?
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
Moved to brainstorm, since this is a feature request.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
TheBlackCat wrote:Moved to brainstorm, since this is a feature request.


I am not sure this is a feature request per-se, the thread creator might have just asked whether it is possible to do it themselves.

The answer to that is that this if of course possible with a service menu.
Path and filename of can be passed to e.g. a script and this script can create a .desktop file with that information in the appropriate directory.


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
You will need a script an either have it create a .desktop file for the application or use a template .desktop file and just insert the information about the given file.

Then use this as a service menu entry in Dolphin


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
google01103
Manager
Posts
6668
Karma
25
Tutorial for creating service menus:

http://techbase.kde.org/Development/Tut ... vice_Menus


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]