summarylogtreecommitdiffstats
path: root/autocutsel.install
diff options
context:
space:
mode:
authorStefan Husmann2011-04-14 10:45:17 +0000
committerStefan Husmann2011-04-14 10:45:17 +0000
commit79753d9fe732bdf0434fddd8140fc361f0b73acf (patch)
tree86a050c01fd55c2128c98b65e3b23184a75979a8 /autocutsel.install
parent32f79fd6b0b4acc70d17a14dfcaa803c018a44ef (diff)
downloadaur-79753d9fe732bdf0434fddd8140fc361f0b73acf.tar.gz
The file in /etc/X11/xinit/xinitrc.d/ was removed again according to the discussion in FS23747. An install-file with a short message was added instead.
Diffstat (limited to 'autocutsel.install')
-rw-r--r--autocutsel.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/autocutsel.install b/autocutsel.install
new file mode 100644
index 000000000000..56fde35d7bf8
--- /dev/null
+++ b/autocutsel.install
@@ -0,0 +1,20 @@
+post_install() {
+ cat << EOF
+ Add the following lines to your ~/.xinitrc or, for
+ system-wide use, to a new file, named, say, 40-autocutsel
+ in the directory /etc/X11/xinit/xinitrc.d/ :
+
+autocutsel -fork &
+autocutsel -selection PRIMARY -fork &
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+post_remove() {
+cat << EOF
+ you might want to remove autocutsel related files in
+ /etc/X11/xinit/xinitrc.d now.
+EOF
+}