diff --git a/R/linux_clipboard.R b/R/linux_clipboard.R index 02fce7f..ab1f1d9 100644 --- a/R/linux_clipboard.R +++ b/R/linux_clipboard.R @@ -68,7 +68,7 @@ X11_write_clip <- function(content, object_type, breaks, eos, return_new, ...) { if (has_xclip()) { con <- pipe("xclip -i -sel p -f | xclip -i -sel c", "w") } else if (has_xsel()) { - con <- pipe("xsel -b -i", "w") + con <- pipe("xsel --clipboard --input", "w") } else { notify_no_cb() }