I use Kubuntu. In other to optimize some workflows I'd like to do two different (but related) things.
- select some files in dolphin, right click on them, and have a custom menu option that calls a script of mine with the filenames as parameters.
- select some text in konsole, right click it, and have a custom menu option that calls a script of mine with the selected text as parameter.
I hope those things are doable, I know how to write the scripts, but I have no idea how to do the right-click option thing.