summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-12-31 23:37:25 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-12-31 23:38:29 +1100
commit049c32b66b69754dfe795d0b2496ef45a4338f48 (patch)
treee2f558a6e3be236f194c317c4382d2fd5623c6d1 /kde-plasma/plasma-workspace/files
parentnet-print/cndrvcups-lb: stabilize (diff)
downloadgentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.gz
gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.bz2
gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.zip
kde-plasma: version bump 5.5.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r--kde-plasma/plasma-workspace/files/10-agent-shutdown.sh13
-rw-r--r--kde-plasma/plasma-workspace/files/10-agent-startup.sh29
2 files changed, 42 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh b/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh
new file mode 100644
index 000000000000..fff8056df2cf
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at plasma shutdown.
+# Uncomment the following lines to kill the agents
+# that were started at session startup.
+
+#if [ -n "${GPG_AGENT_INFO}" ]; then
+# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
+#fi
+
+#if [ -n "${SSH_AGENT_PID}" ]; then
+# eval "$(ssh-agent -s -k)"
+#fi
diff --git a/kde-plasma/plasma-workspace/files/10-agent-startup.sh b/kde-plasma/plasma-workspace/files/10-agent-startup.sh
new file mode 100644
index 000000000000..03e017ac4e94
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/10-agent-startup.sh
@@ -0,0 +1,29 @@
+# Agents startup file
+#
+# This file is sourced at plasma startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at plasma startup.
+# If you do so, do not forget to uncomment the respective
+# lines in PLASMADIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent --daemon)"
+#fi
+
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -s)"
+#fi
+
+# Uncomment the following lines to start rxvt-unicode which has the ability to
+# run multiple terminals in one single process, thus starting up faster and
+# saving resources.
+# The --opendisplay ensures that the daemon quits when the X server terminates,
+# therefore we don't need matching lines in agent-shutdown.sh.
+
+#if [ -x /usr/bin/urxvtd ]; then
+# /usr/bin/urxvtd --opendisplay --fork --quiet
+#fi