adding autoclip
This commit is contained in:
parent
75b1f6aa96
commit
a2fcd7ecd6
1 changed files with 25 additions and 0 deletions
25
shell/autoclip.sh
Executable file
25
shell/autoclip.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
||||||
|
#!/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/<USER>/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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue