aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-14 01:03:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-14 01:03:28 -0300
commite5419d0096ed7380b7f7872b5a22c3404eb7b9a5 (patch)
tree6e179807a7d89171cc40e518ebe3a0a5ee811496
parent81ea15f6248b7905507092f568984568ef31597e (diff)
downloadprofile-e5419d0096ed7380b7f7872b5a22c3404eb7b9a5.tar.gz
profile-e5419d0096ed7380b7f7872b5a22c3404eb7b9a5.tar.bz2
Clipboard sync using autocutsel
-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