https://bugs.kde.org/show_bug.cgi?id=427214

torsteinws <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde-bugs.rover413@simplelog
                   |                            |in.com

--- Comment #50 from torsteinws <[email protected]> ---
I just wanted to share a workaround that works well for me.
It works on emoji picker as well.

1. Install keyd: https://github.com/rvaiya/keyd
    - Make sure to do the steps for "Application Specific Remapping".

2. Paste the following text into ~/.config/keyd/app.conf 
-------------------------------------

[org-kde-plasmashell|clipboard-popup]
#
# If klipper has keyboard focus, typing enter will:
# - Copy the selected item by typing: enter
# - Wait 10 milliseconds for Klipper to actually copy the item.
# - Close the window by typing: Alt+f4
# - Wait 300ms for the underlying application to receive keyboard focus.
# - Paste the content by typing: Ctrl+v
# 
# * If it doesn't work, try increasing the timers.
# * If you have a fast computer, you might want to decrease the timers for a
snappier experience.
#
enter = macro(enter 10ms A-f4 300ms C-v)

# Typing Ctrl+enter will result in normal behaviour.
# I.E. Just a copy without paste
control.enter = enter

[org-kde-plasma-emojier]
# Same as above, but for emoji picker
enter = macro(enter 10ms A-f4 500ms C-v)
control.enter = enter

-------------------------------------
3. Launch the program with the following command:

keyd-application-mapper --daemonize

- I recommend using KDE Autostart settings to automatically launch the program
on login.

Limitations: The workaround does not work with mouse click.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to