Version: (using KDE KDE 3.1.1a) Installed from: Compiled From Sources I use manual actions for Klipper, but it would be nice if Klipper wouldn't prompt if there's only one action. For example ^[a-z]+\([1-9]\)$ indicates a man page, and as soon as I press alt+ctrl+r it should just open that man page, because that's the only action specified anyway. Of course this is too annoying if you don't use manual actions, so an option for automatic opening when there's only one action specified would be the best.
Created attachment 1592 [details] Patch to add the desired functionality to klipper. This attachment adds the following options to Klipper: - If an action is invoked (either manually or not) and only one pattern and one command applies to the text in the clipboard, always run that command. - If an action is invoked (either manually or not) always run the first command from the first pattern that matches. The description of the options (in the configuration dialog) is perhaps a bit unfortunate though. For the second point patterns and commands have to be ordered of course, so it is now possible to move the patterns and comments around. A new shortcut key has been defined also (by default ctrl+alt+shift+r), which forces a popup, so you can open .html by default with konqueror, only in some special cases you can force the popup to use mozilla. The patch is against the 3.1.1a source.
The patch doesn't apply anymore. Anyway, I would rather get rid of that annoying popup alltogether, which would also fix this bug.
Agreed, that popup should be eliminated :) I plan to do something about it in near future...
Hi there. I'm using Logitech G510s keyboard and it has LCD panel. I would like to display my clipboard content on it, but right now Klipper cannot do it because of that popup. I'm commenting here so that you just knew that there are real use cases for this setting. Without it, I will probably be forced to write a daemon checking clipboard content every second and it's the ugliest solution possible.
This bug is for KDE 3.1.1a, not for Plasma 5.15.3. I don't think we should add this option because many actions won't be appropriate for automatic activation, even if there's only one. We'd need options for each individual action to keep users from accidentally doing something unsafe. There doesn't seem to be much demand for this feature, so I'm marking it as resolved and intentionally not implemented.