#!/usr/bin/env bash # # autoclip.sh - automatically sync X and GTK clipboards # # (1) sudo apt-get install autocutsel # (2) add this script as an Autostart # # SPDX-License-Identifier: MIT autocutsel -s CLIPBOARD -f autocutsel -s PRIMARY -f # Example autostart for MATE # ~/.config/autostart/autoclip.desktop # [Desktop Entry] # Type=Application # Exec=/home//bin/autoclip.sh # Name=autoclip # Name[en_US]=autoclip # Comment= # Comment[en_US]= # Hidden=false # X-MATE-Autostart-enabled=true # X-MATE-Autostart-Delay=0