If you stop an application where something is selected (using the mouse typically), e.g. a terminal (using the PID from echo $PPID) with kill -STOP $pid, trying to paste this selection somewhere else will block, until you kill -CONT the application with the selection.
Could CopyQ handle this case?
This is related to awesomeWM/awesome-www#111, where I dynamically stop e.g. browsers when they are not focused.
I've tried using xsel --keep --primary before the kill -STOP to work around this, but it appears to cause issues with Neovim, which uses xsel itself for clipboard management.
If you stop an application where something is selected (using the mouse typically), e.g. a terminal (using the PID from
echo $PPID) withkill -STOP $pid, trying to paste this selection somewhere else will block, until youkill -CONTthe application with the selection.Could CopyQ handle this case?
This is related to awesomeWM/awesome-www#111, where I dynamically stop e.g. browsers when they are not focused.
I've tried using
xsel --keep --primarybefore thekill -STOPto work around this, but it appears to cause issues with Neovim, which usesxselitself for clipboard management.