
Service Menu Editor
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
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. Last changelog:
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.
Version 0.2
* Installer
* Debian packages (see page for details)
* Completely redesigned interface
* Bug Fixes
Ratings & Comments
32 Comments
It's a shame that the download link is broken and that it's apparently very difficult to install. Too bad I'll never get to test for sure.
9 TY!
Hi Everyone, 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 ...
didn't know this tool until today! 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"
Not working on Ubuntu 12.04 KDE 4.8.1 (32-bit) - can install from PPA, but complains: 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.
Not working on Ubuntu 12.04 KDE 4.8.1 (32-bit) - can install from PPA, but complains: 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.
I managed to install it. I cannot understand the meaning of the setup.py: I didn't use it. To install just follow these steps: 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
$ ./setup.py 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)
'File "setup.py", line 7, in <module> 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
Install python-setuptools (I think)
how to use it... same results trying to install the servise menu editor :(
@kickass: If the suggestion by infectedsoundsystem did not solve your problem, I had to edit the KDE Service Menu Editor installer (setup.py), which is in the source code tarball (kservicemenueditor-0.2a.tar.gz), and change the line: ('share/kde4/apps/servicemenueditor', glob.glob("*.ui")), to: ('share/apps/servicemenueditor', glob.glob("*.ui")),
I've created an Arch PKGBUILD here: http://aur.archlinux.org/packages.php?ID=47750 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)
Hello and thanks in advance, 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.
Hello and thanks in advance, 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.
Here is a Mandriva rpm http://www.mandrivalinux.gr/rpm/2010.1/noarch/kservicemenueditor-0.2a-1mgr2010.2.noarch.rpm
Hi, 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
Is this still available to download anywhere? The download links are broken.
My fault, try now.
It works, thanks!
I just recently had a go at Gnome and was so pleased to find that it provides a very easy-to-use context menu editor, not unlike this one. 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 :)
The Exec line supports the following: 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.
Are there any Kubuntu packages? Or even better a repository?
Not yet. I stopped doing any work on this because I didn't get that much interest back. 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.
Slightly late.. but: 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.