Service Menu Editor

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

8
Score 74.3%
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:

8 years ago

Version 0.2
* Installer
* Debian packages (see page for details)
* Completely redesigned interface
* Bug Fixes

Nano-Ocelot

1 year ago

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.

Report

9

emplate430

1 year ago

9 TY!

Report

phd21

4 years ago

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 ...

Report

mxttie

5 years ago

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"

Report

3

itsjustarumour2

7 years ago

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.

Report

3

itsjustarumour2

7 years ago

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.

Report

9

warrob

8 years ago

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

Report

9

warrob

8 years ago

$ ./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)

Report

floopy1962

8 years ago

'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

Report

C

DavidEdmundson

8 years ago

Install python-setuptools

(I think)

Report

floopy1962

8 years ago

how to use it... same results trying to install the servise menu editor :(

Report

9

Fitzgerald

8 years ago

@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")),

Report

9

infectedsoundsystem

8 years ago

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)

Report

kickass

8 years ago

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.

Report

kickass

8 years ago

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.

Report

dglent

8 years ago

Here is a Mandriva rpm
http://www.mandrivalinux.gr/rpm/2010.1/noarch/kservicemenueditor-0.2a-1mgr2010.2.noarch.rpm

Report

maidis

8 years ago

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

Report

wolfshift

8 years ago

Is this still available to download anywhere? The download links are broken.

Report

C

DavidEdmundson

8 years ago

My fault, try now.

Report

wolfshift

8 years ago

It works, thanks!

Report

DanielEKFA

9 years ago

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 :)

Report

C

DavidEdmundson

9 years ago

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.

Report

markwege

10 years ago

Are there any Kubuntu packages? Or even better a repository?

Report

C

DavidEdmundson

9 years ago

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.

Report

markwege

9 years ago

Hi, thanks for the package. Unfortuneately I have run into following problem:

"Traceback (most recent call last):
File "/usr/bin/servicemenueditor", line 25, in <module>
from PyKDE4.kdecore import ki18n, KAboutData, KCmdLineArgs , KConfig, KConfigGroup, KDesktopFile, KMimeType, KServiceType, KGlobal
RuntimeError: the sip module implements API v7.0 but the PyKDE4.kdecore module requires API v6.0"
May be that is related to the fact that I am running KDE 4.4 RC2 (Karmic) which is still missing actual binding (which are still installed from KDE 4.3.5.

Something else: I think the best future for this would be as KCM-module in systemsettings. This is where it would really belong.

Report

8 years ago

Version 0.2
* Installer
* Debian packages (see page for details)
* Completely redesigned interface
* Bug Fixes

12345678910
19
product-maker emplate430 May 19 2018 9 excellent
TY!
product-maker itsjustarumour2 Mar 15 2012 3 bad
product-maker warrob Sep 03 2011 9 excellent
product-maker gfretes Jun 18 2011 9 excellent
product-maker Fitzgerald May 21 2011 9 excellent
product-maker infectedsoundsystem Mar 27 2011 9 excellent
product-maker denisq Dec 31 2010 9 excellent
product-maker SeaJey Dec 30 2010 9 excellent
product-maker deabru Dec 29 2010 9 excellent
product-maker mutlu Nov 03 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
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
saLOUtions
Jan 31 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Dec 29 2010
added Jul 12 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 11