Bug 125176 - service menu management to kcontrol
Summary: service menu management to kcontrol
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Daniel Molkentin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 15:53 UTC by Theodore Imre
Modified: 2018-09-04 18:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theodore Imre 2006-04-08 15:53:45 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Slackware Packages

I started a thread here:
many people seem to agree that this feature is a must have for kde!!!Someone told me to report it here!
~~~~~~~~~~
http://kde-apps.org/content/show.php?content=37465
~~~~~~~~~~
MOCKUP screenshot:

http://img127.imageshack.us/img127/7207/sevicemenumanagementtokcontrol.jpg

mirror:
http://kde-apps.org/content/preview.php?preview=1&id=37465&file1=37465-1.jpg&file2=37465-2.jpg&file3=&name=service+menu+management+to+kcontrol
~~~~~~~~~~~
Description:
i suggested a kcontrol option for enabling and disabling ACTIONS for different file types.This way,service menus would be installed and managed easier (if that control center window has that function too,it would be nice) aand maybe you will have the option to choose which actions that KIM (kde image service menu)(for example) is capable of is shown in your right click menu when you choose a jpg file...

also an option to install the service menu just for the user that opened kcontrol (somewhere in /home/~/.kde/.../konqueror/services...) or for all users [the checkbox],requiring a root password (to copy the needed files in the needed by the service menu directories)...

Also the service menu management control center should have the option to move up and down a service menu in the -right-click-ACTIONS> sub menu.
There should be the option to pick selectably the submenus from the installed service menu and add only the ones you would like to have for the file type(for instance you can add kim-resize picture and under it you can take a submenu from a k3b service menu (add to data disc) and put it right under it for the jpg filetype (see the screenshot).

Some service menus,like kim's selected "webexport" should have a '>' sign at the end of their names,showing that they have an included submenu,that cannot be picked/changes sepparatelly.So if 'web export is added',you dont have the option to pick which 'webexport' options should be included in the 'web export' submenu (we have to have some borders,right?)..

Another suggestion is that if a service menu is installed for all users (using the root password),it should be marked with red fonts in the service list and if promped for uninstallation,it should ofcourse ask for the root password.
And...since the kde service menus were handled the old fashionate way since this idea popped into my mind (with install.sh scripts that coppied a bunch of files,orr by hand with a READme instruction (which is a pain in the neck really)),service menus should be able to be installed the old fashionate way too,but they should be packed in special 'kde service menu' packages,that are handled by kcontrol.This would greatly improve kde's support for service menus.

This will also resolve the clutterness/bloatness that some service menus tend to create,giving the choice in the hands of the user as to what from the service menu he/she would like to be included in the right-click menu.

Mockup Edit:
 I included a discription box in the mockup.It will show:name,description,depends on,version,author,homepage....it is important to differ the different services and have knowledge on their version number and homepage.
Comment 1 James Richard Tyrer 2006-04-08 19:43:08 UTC
This seems like a good idea.  I don't know if it can be easily realized.
Comment 2 Thiago Macieira 2006-04-10 19:08:49 UTC
This is a new KDE Control Centre module. Do we have any volunteers to write such code?
Comment 3 Peter 2006-04-16 06:29:41 UTC
I think the idea is great and would solve a significant problem but honestly the mockup at KDE-Look is frightening complicated and the suggested implementation too. I would vote for this idea if it could be shown more simply. 

What do you consider the essential or core components to look like? behave like?

Note - I am not saying you must cater to newbies or that your idea is too difficult, I am saying can you keep this high-level and let the coders worry about implementation?
Comment 4 Theodore Imre 2006-04-17 17:23:06 UTC
well,you do have point.It does seem abit complicated,but its only the
first mockup idea.You can do it in anyway you consider possible.I am
not a developer.

What i can think of the behaving of the script ..

*installing new service menus (for one user(~/.kde/...) or for all
users -if possible)
*enabling and disabling their menus

the installation should just read a script within the service menu
package (tar.gz archive) and copy the files within to proper
directories...and ask for root password if needed of course.
enabling and disabling their submenus should be done harder i
think.The scripts are usually placed in the konqueror/services folder
and i am not absolutelly sure how they can be handled by the module.

So yeah.I just give you the idea,you are the developers,you should
know a better way to implement this...even if it is partially.
Comment 5 Theodore Imre 2006-04-27 16:08:39 UTC
How do I edit this page?I want to edit what i wrote.

Hi,I made a NEW MOCKUP IDEA,which is Much simpler and effective!!

You can see my edit at:
http://www.kde-look.org/content/show.php?content=37465

New MockUP:
http://img284.imageshack.us/img284/8389/mockup2legend6ss.jpg

Comment 6 Vichar B. "E@zyVG" 2006-05-21 18:07:05 UTC
Would love to see this integrated in the next version of KDE. Perhaps 3.5.3, if it's not too late.
Comment 7 Theodore Imre 2006-09-05 13:28:20 UTC
somebody said:
"You`re right, thats really a needfull feature, but it can get into KDE not before 3.5.5 ;)"

hope it gets.
I am gonna work out a better mockup later.It needs a simpler interface. =D
Comment 8 Theodore Imre 2006-09-17 16:17:32 UTC
MOCKUP 3 (screenshot1/download)

================
in this version of the mockup,I added my idea for adding custom actions,which was driven by Thunars' User Customizable Actions (thunar-uca):
http://thunar.xfce.org/plugins.html#thunar-uca
i think that a sepparate dialogue for making a custom action is better in this case,but you know,it can also be done with only one input text box (and a short HowTo for the sintax) =)

I was hasty and I couldnt think of a better sintax than:

servicename= 
/action1(command1;command2;etc...)&action2(command1;command2;etc)&...

and for submenus:
/>submenu1-action1(...)&action2(...)>submenu2-same/>submenutosubmenu2.... etc etc

or something like that.Where submenu* stands for the name of the menu and action* stands for the name of the action (the things we will see in the right click menu) and (*) are the commands that are being executed for the action name before the () ...

or something simple like that. =)

===============
check it out here:
http://www.kde-apps.org/content/preview.php?preview=1&id=37465&file1=37465-1.jpg&file2=37465-2.jpg&file3=37465-3.jpg&name=service+menu+management+to+kcontrol

or
http://www.kde-apps.org/content/show.php?content=37465
(download link)
Comment 9 Digital Alterego 2007-04-07 19:47:46 UTC
Stumbled apon this bug via a comment of the author. I've created a Korundum app which enables the user to manage servicemenus, although not implemented as a KControl module but as a standalone application.
Currently it's not possible to automatically install scripts (only the .desktop file), because many of them require a configure/make/make install cycle. 
Like the Theodore Imre pointed out, this would require a special package format.
Take a look at: http://kde-apps.org/content/show.php/Themis+Action+Editor?content=55644
Feedback welcome.
Comment 10 Andrew Crouthamel 2018-09-04 18:02:20 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Kcontrol has been replaced by System Settings in Plasma. Please give the latest version of that a try, and open a new bug in "systemsettings" if you continue to have an issue. Thank you!