[plasmashell] [Bug 427214] Add ability to paste Klipper's contents on selection

"Abraham Velazquez" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=427214

Abraham Velazquez <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #51 from Abraham Velazquez <[email protected]> ---
(In reply to torsteinws from comment #50)
> 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.

Bro, Thanks a lot, followed your recommendation, fixed somethings with ai and
did an script to install it and configure it alone, working like charm.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.