Question about clipboard, passwords and vulnerable information

wl-paste briefly creates a new window which receives focus when the focus mode is set to smart. This can be avoided by setting focus mode to strict: gsettings set org.gnome.desktop.wm.preferences focus-new-windows strict

1 Like

That works, though it hangs the terminal if it doesn’t have focus at the time wl-paste is run. When it does have focus wl-paste pops a notification that has to be clicked before it will continue. Not very usable either way.

As ‘smart’ is the default focus-new-window setting, can any app shortly create a new window like wl-paste does and copy the clipboard contents that way? That circumvents the “applications cannot read the clipboard, until focused themselves”.

1 Like