From 562233d363164c46ebf54d4808baeee95b9935c2 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 1 Sep 2016 14:48:17 +0100 Subject: [PATCH] Only start autoculsel if it's installed --- .profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.profile b/.profile index 685dff8..ba65466 100644 --- a/.profile +++ b/.profile @@ -16,8 +16,10 @@ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.su export QT_STYLE_OVERRIDE=GTK+ # Merge system clipboards -autocutsel -fork & -autocutsel -selection PRIMARY -fork & +if which autocutsel &>/dev/null; then + autocutsel -fork & + autocutsel -selection PRIMARY -fork & +fi if [ -z $SSH_AUTH_SOCK ]; then eval `ssh-agent`