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

Simple editing gui to addcustom command right click option

3

Votes
3
0
Tags: None
(comma "," separated)
User avatar
kevintee
Registered Member
Posts
25
Karma
0
I think that a simple easy gui to add your own custom command to the right click menu with drop down file association choice would be a great addition. This would make the user have quick access to often use commands. Root and run in terminal tick box is good too.

Quick drawing what it might looks like.
Image
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Reminds me of the KDE Service Menus: https://techbase.kde.org/Development/Tu ... vice_Menus

Image


Earlier KDE Forums - GUI utility for editing services menu: viewtopic.php?f=225&t=110907
Lachu
Registered Member
Posts
864
Karma
1
OS
I think, we need a tool to create dialog windows. We could strip rad tools. What user would do:
- Provide command in command prompt, adding command, parameters and variables
[command: dd] [parameter: /dev/zero] [variable: destination]
- Set types, default values and constraints of variables
- Set conditions, attaching macrodefinitions to it, like user input 0 into field a, then show message: divider couldn't been zero and disable command enabler
- Editing gui, by placing variables on windows
- Set path to application settings and select with variables should been stored in settings

That's all. Very fast way to create very simple GUI applications, with uses command prompt


Lachu, proud to be a member of KDE forums since 2008-Nov.
Lachu
Registered Member
Posts
864
Karma
1
OS
We could call it: fast service creator ;-) .


Lachu, proud to be a member of KDE forums since 2008-Nov.
ngiannip
Registered Member
Posts
13
Karma
0
Lachu wrote:I think, we need a tool to create dialog windows. We could strip rad tools. What user would do:
- Provide command in command prompt, adding command, parameters and variables
[command: dd] [parameter: /dev/zero] [variable: destination]
- Set types, default values and constraints of variables
- Set conditions, attaching macrodefinitions to it, like user input 0 into field a, then show message: divider couldn't been zero and disable command enabler
- Editing gui, by placing variables on windows
- Set path to application settings and select with variables should been stored in settings

That's all. Very fast way to create very simple GUI applications, with uses command prompt



It would be great
Lachu
Registered Member
Posts
864
Karma
1
OS

Maybe this tool will be answer.

Wed Jun 28, 2017 12:42 pm
I've create tool. There's link to movie.
https://youtu.be/yew8WUTVYEk

Sorry for writing this post - my tool doesn't used KDE Frameworks or Qt library directly, but used Qt lib by libgreattao, which could use Qt or GTK+ as backend.

I've created two tools:
Service builder tool (tool to create wizards)
Service builder (wizard file interpreter)

Of course, you can create your own scripts (wizard file to put it into interpreter) directly (without using Service builder tool).

Dependencies:
- Libgreattao
- Libsell (libgreattao requires it)
- Partnership (it is stripped shell for security reason, so nothing insecure could be ran)
- PolicyKIt (Partnership uses it), but Polkit is included in each modern GNU/Linux distribution

There's still things to do and it isn't integrated with plasma yet, but maybe in future.


Lachu, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

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