aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxsession.dot.link7
1 files changed, 7 insertions, 0 deletions
diff --git a/xsession.dot.link b/xsession.dot.link
index 530bacf..ab0910a 100755
--- a/xsession.dot.link
+++ b/xsession.dot.link
@@ -69,6 +69,13 @@ if [ -f "$HOME/.config/Mumble/Mumble-$HOSTNAME.conf" ]; then
)
fi
+# Clipboard management
+# See http://mutelight.org/subtleties-of-the-x-clipboard
+if which autocutsel &> /dev/null; then
+ autocutsel -fork &
+ autocutsel -selection PRIMARY -fork &
+fi
+
# Execute window manager
if [ "$OSVERSION" = "7" ]; then
# See https://bugzilla.redhat.com/show_bug.cgi?id=783568