[wiki] [sites] Document the 1 clipboard solution || Kai Hendry

From: <git_AT_suckless.org>
Date: Fri, 03 Jul 2015 09:42:11 +0200

commit c3fe258eca7294bd10357c19ae751e7a48705f87
Author: Kai Hendry <hendry_AT_webconverger.com>
Date: Fri Jul 3 15:41:56 2015 +0800

    Document the 1 clipboard solution

diff --git a/st.suckless.org/patches/1clipboard.mdwn b/st.suckless.org/patches/1clipboard.mdwn
new file mode 100644
index 0000000..a53a853
--- /dev/null
+++ b/st.suckless.org/patches/1clipboard.mdwn
_AT_@ -0,0 +1,21 @@
+# One clipboard
+
+## Description
+
+<abbr title="simple terminal">st</abbr> since [March 2015 only sets PRIMARY on
+selection](http://git.suckless.org/st/commit/?id=28259f5750f0dc7f52bbaf8b746ec3dc576a58ee),
+in accordance to the [Freedesktop
+standard](http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt).
+
+However I don't like this <abbr title="User eXperience">UX</abbr>. I don't like
+having to think about two clipboards. I don't like having to use typically
+three key combination to copy my selected text into the clipboard used by my
+browser.
+
+## Fix
+
+Append `clipcopy(NULL);` to the end of the xsetsel function in [st.c](http://git.suckless.org/st/tree/st.c).
+
+## Author
+
+[Kai Hendry](http://hendry.iki.fi/)
Received on Fri Jul 03 2015 - 09:42:11 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 03 2015 - 09:48:11 CEST