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.
This commit is contained in:
parent
b050cc4994
commit
ade5c274b1
@ -5,7 +5,7 @@ mpw() {
|
|||||||
if hash pbcopy 2>/dev/null; then
|
if hash pbcopy 2>/dev/null; then
|
||||||
pbcopy
|
pbcopy
|
||||||
elif hash xclip 2>/dev/null; then
|
elif hash xclip 2>/dev/null; then
|
||||||
xclip
|
xclip -selection clip
|
||||||
else
|
else
|
||||||
cat; echo 2>/dev/null
|
cat; echo 2>/dev/null
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user