
Service Menu Editor
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org
KDE Service Menu Editor is a simple way of editing the right-click menus that you see when using Dolphin. It has simple but flexible way of selecting the "mime types" (type of file) that the menu should appear on. Then adding the menu is as simple as typing a name and the command to be run.
The reason I wrote this application is because I noticed a lot of menus had not been ported to KDE4, rather than port them, I thought "why not write an application so everyone can make these menus easily.". So I did.
The website has more information and download links.
http://www.sharpley.org.uk/page/software/servicemenu
It's got plenty more work left to do, but if I don't release it soon it'll end up lost at the bottom of my projects folder and I'll forget all about it :-)
Please comment on bugs.
8 years ago
Version 0.2
* Installer
* Debian packages (see page for details)
* Completely redesigned interface
* Bug Fixes
8 years ago
Version 0.2
* Installer
* Debian packages (see page for details)
* Completely redesigned interface
* Bug Fixes
emplate430
May 19 2018
TY!
itsjustarumour2
Mar 15 2012
warrob
Sep 03 2011
gfretes
Jun 18 2011
Fitzgerald
May 21 2011
infectedsoundsystem
Mar 27 2011
denisq
Dec 31 2010
SeaJey
Dec 30 2010
deabru
Dec 29 2010
mutlu
Nov 03 2010

Nano-Ocelot
Nov 20 2018
Alskor
Mar 25 2018
mxttie
Jan 27 2011
denisq
Dec 31 2010
maidis
Dec 30 2010
hteles
Feb 02 2010
Orodreth
Jan 31 2010
Nano-Ocelot
2 months ago
Report
emplate430
8 months ago
Report
phd21
3 years ago
Nice program, except the install.
I had a heck of a time installing this. You would think there would be an easier method for editing or creating the right-click menus that you see when using Dolphin file manager.
I installed all the python stuff (suggested requirements), edited the install script as also suggested (if needed), no errors during install, it still did not work, could not find "ui" files. I ended up as one user did, copying the extracted "kservicemenueditor" folder to various folders, and it now works.
Here is exactly what I did: I renamed the folder to "Kservicemenueditor" made an exact copy called "servicemenueditor". I ran "kde4-config --path data" to find the folders on my system that this needs to go to, it spat out 3 different folders, separated by colons ":".
/home/phil/.kde/share/apps/:/usr/share/mintkde-default-settings/kde4-profile/default/share/apps/:/usr/share/kde4/apps/
I then copied the "servicemenueditor" and "Kservicemenueditor" folders to each of these folders, and it now works.
Then, I found this article:
"How to add new items in the context menu -> Create New"
https://forum.kde.org/viewtopic.php?f=224&t=111760&p=267749&hilit=service+menu+editor#p267749
Hope this helps some of you ...
Report
mxttie
4 years ago
for people having trouble with install: first, you need python and pyqt. Then I only had to install python-Distutils2 and python-distutils-extra package on opensuse. then run "sudo ./setup.py install"
Report
itsjustarumour2
6 years ago
Traceback (most recent call last):
File "/usr/bin/servicemenueditor", line 24, in <module>
from PyQt4 import QtCore, QtGui,uic
ImportError: No module named PyQt4
Have tried installing all the PyQt4 bits but still no dice. Also tried installing manually as per warrob's post, but first it complains of a missing /home/(username)/.kde/share/applnk/ folder, and when I create it manually, I then get the "No module named PyQt4" error again.
Report
itsjustarumour2
6 years ago
Traceback (most recent call last):
File "/usr/bin/servicemenueditor", line 24, in <module>
from PyQt4 import QtCore, QtGui,uic
ImportError: No module named PyQt4
Have tried installing all the PyQt4 bits but still no dice. Also tried installing manually as per warrob's post, but first it complains of a missing /home/(username)/.kde/share/applnk/ folder, and when I create it manually, I then get the "No module named PyQt4" error again.
Report
warrob
7 years ago
1) unpackage the kservicemenu source and cd into its dir
2) mkdir ~/.kde/share/apps/servicemenueditor
3) cp *.ui ~/.kde/share/apps/servicemenueditor/
4) cp servicemenueditor.desktop ~/.kde/share/applnk/
5) cp servicemenueditor ~/bin
done. it works fine on debian sid x86_64
Report
warrob
7 years ago
Traceback (most recent call last):
File "./setup.py", line 7, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command
python-setuptools and python-kde4 are installed.
(debian sid x86_64)
Report
floopy1962
7 years ago
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command'
somebody ?????????????????????? i just wanna make one service menu why i have to going through hell
Report
DavidEdmundson
7 years ago
(I think)
Report
floopy1962
7 years ago
Report
Fitzgerald
7 years ago
('share/kde4/apps/servicemenueditor', glob.glob("*.ui")),
to:
('share/apps/servicemenueditor', glob.glob("*.ui")),
Report
infectedsoundsystem
7 years ago
Is there a repo anywhere with the latest source?
Cheers :)
@kickass - remove the "from DistUtilsExtra.command import *" line from setup.py (or install python-distutils-extra, but it isn't needed)
Report
kickass
8 years ago
When i run python setup.py i get
'File "setup.py", line 7, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command'
and when I try to copy the files manually, I can't get past:
'QApplication::qAppName: Please instantiate the QApplication object first
could not find one or more of the required .ui files. Make sure these files are installed to a directory listed by `kde4-config --path data`'
although I copy the .ui files into the --path data directories.
Help.
Report
kickass
8 years ago
When i run python setup.py i get
'File "setup.py", line 7, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command'
and when I try to copy the files manually, I can't get past:
'QApplication::qAppName: Please instantiate the QApplication object first
could not find one or more of the required .ui files. Make sure these files are installed to a directory listed by `kde4-config --path data`'
although I copy the .ui files into the --path data directories.
Help.
Report
dglent
8 years ago
http://www.mandrivalinux.gr/rpm/2010.1/noarch/kservicemenueditor-0.2a-1mgr2010.2.noarch.rpm
Report
maidis
8 years ago
Thanks for Service Menu Editor.
I'm going to make a package for Pardus [0]. Do you have a road map / release date for next release.
Some wishes and others:
* Translation support for Service Menu Editor GUI.
* Translation support for service menus:
X-KDE-Submenu=Pack
X-KDE-Submenu[tr]=Paketle
Name=Start to Packing
Name[tr]=Paketlemeye BaÅŸla
...
* Easy access for applications and dbus entries from action [1].
* http://www.sharpley.org.uk/page/software/servicemenu doesn't work and image doesn't shown at current page [2].
* Install script realy needs for DistUtilsExtra? I removed it with a patch for now [3].
* Could you add Turkish translation to desktop file [4].
[0] http://bugs.pardus.org.tr/show_bug.cgi?id=12225
[1] http://i.imgur.com/4Eim4.png
[2] http://www.sharpley.org.uk/node/3
[3] http://svn.pardus.org.tr/pardus/playground/maidis/kservicemenueditor/files/setup.py.diff
[4] http://svn.pardus.org.tr/pardus/playground/maidis/kservicemenueditor/files/servicemenueditor.desktop.diff
Report
wolfshift
8 years ago
Report
DavidEdmundson
8 years ago
Report
wolfshift
8 years ago
Report
DanielEKFA
8 years ago
Thank you so much for doing this one, even if it has a bug or two (like selected icon being reset when you edit an entry).
I hope you'll keep working on this one. AFAICT, there's very little to do before it should be a standard item in the larger settings app, as suggested previously in this thread.
It would be nice with some more parameters, to add to %u and %U. At least, I hope that's not all there are. The Gnome equivalent has a lot more options, like relative paths, workdir, etc.
Thanks again! Very nice :)
Report
DavidEdmundson
8 years ago
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
This may well be different from the Gnome equivalent, as the two file managers get their service menus from different files which store data in different ways.
I haven't worked on this program in a while, I'll try and at least find time to fix the icon issue.
Report
markwege
9 years ago
Report
DavidEdmundson
9 years ago
As you've asked I'll go investigate trying to make one :-). I don't (currently) know how to package a python app, but I'll take a look for you.
Report
DavidEdmundson
9 years ago
Debian packages are available for the new version of kservicemenueditor (0.2)
I've written PPA details on my site.
http://www.sharpley.org.uk/page/software/servicemenu
Please report back (even if just to say it works)
I'll update this page shortly.
Report