From 72d5dc7a8f27e858d6af361d731b6f2c4f82a32d Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Mon, 7 Dec 2020 22:50:00 -0600 Subject: [PATCH] - Updated kinto to turn off natural copy & paste in Terminal for elementaryOS. Closes #346 --- xkeysnail_service.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xkeysnail_service.sh b/xkeysnail_service.sh index 0c79f92..d1e95cf 100755 --- a/xkeysnail_service.sh +++ b/xkeysnail_service.sh @@ -196,6 +196,9 @@ if [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then if [ -f /usr/local/bin/logoff.sh ];then sudo rm /usr/local/bin/logoff.sh fi + if [[ $distro == "elementaryos" ]]; then + gsettings set io.elementary.terminal.settings natural-copy-paste true + fi sudo systemctl daemon-reload # sudo systemctl --state=not-found --all | grep xkeysnail exit 0 @@ -234,6 +237,10 @@ if [[ $distro == 'popos' ]]; then fi fi +if [[ $distro == "elementaryos" ]]; then + gsettings set io.elementary.terminal.settings natural-copy-paste false +fi + if ! [ -x "$(command -v xhost)" ] || ! [ -x "$(command -v gcc)" ]; then if [ "$distro" == "manjarolinux" ]; then sudo ./system-config/unipkg.sh "xorg-xhost gcc"