From ade5c274b180b72fcea97a678f16f7d2eb7f89fd Mon Sep 17 00:00:00 2001 From: Emil Johansson Date: Thu, 20 Oct 2016 22:33:11 +0200 Subject: [PATCH] Added the option "-selection clip" to the xclip command. This fixes the bugg that the automatic copying to the clipboard accesible with ctrl-V in applications like in e.g firefox is not working in OpenSUSE 41.1 and i suspect in other Linux distros as well. --- MasterPassword/C/mpw.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MasterPassword/C/mpw.bashrc b/MasterPassword/C/mpw.bashrc index 4fb71d11..a03c4c7c 100644 --- a/MasterPassword/C/mpw.bashrc +++ b/MasterPassword/C/mpw.bashrc @@ -5,7 +5,7 @@ mpw() { if hash pbcopy 2>/dev/null; then pbcopy elif hash xclip 2>/dev/null; then - xclip + xclip -selection clip else cat; echo 2>/dev/null return