diff options
author | Mike Crute <mike@crute.us> | 2020-12-30 00:35:38 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-12-30 00:35:38 -0800 |
commit | 4e8d6f74b53d96d89ffa68c960a19d34a62cfa84 (patch) | |
tree | c2882845dd5598559689f30299393a9ee49e4607 /.linux | |
parent | 3f403b69f78e960451d6e758f962e0e078029538 (diff) | |
download | dotfiles-4e8d6f74b53d96d89ffa68c960a19d34a62cfa84.tar.bz2 dotfiles-4e8d6f74b53d96d89ffa68c960a19d34a62cfa84.tar.xz dotfiles-4e8d6f74b53d96d89ffa68c960a19d34a62cfa84.zip |
systemd GUI apps use an environment file
On certain Debian variants dbus-update-activation-environment does not
correctly set DISPLAY for GUI applications. On those systems this file
can inject the proper environment to the jobs before they start.
Diffstat (limited to '.linux')
-rw-r--r-- | .linux/systemd/autocutsel-clipboard.service | 1 | ||||
-rw-r--r-- | .linux/systemd/autocutsel-primary.service | 1 | ||||
-rw-r--r-- | .linux/systemd/blueman-applet.service | 1 | ||||
-rw-r--r-- | .linux/systemd/cups-browsed.service | 1 | ||||
-rw-r--r-- | .linux/systemd/nm-applet.service | 1 | ||||
-rw-r--r-- | .linux/systemd/pasystray.service | 1 | ||||
-rw-r--r-- | .linux/systemd/tab-server-alt-port.service | 1 | ||||
-rw-r--r-- | .linux/systemd/xscreensaver.service | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/.linux/systemd/autocutsel-clipboard.service b/.linux/systemd/autocutsel-clipboard.service index ede8f4d..a6a3eba 100644 --- a/.linux/systemd/autocutsel-clipboard.service +++ b/.linux/systemd/autocutsel-clipboard.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=%h/.local/bin/autocutsel -selection CLIPBOARD -cutbuffer 0 | 8 | ExecStart=%h/.local/bin/autocutsel -selection CLIPBOARD -cutbuffer 0 |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/autocutsel-primary.service b/.linux/systemd/autocutsel-primary.service index d896957..94483e8 100644 --- a/.linux/systemd/autocutsel-primary.service +++ b/.linux/systemd/autocutsel-primary.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=%h/.local/bin/autocutsel -selection PRIMARY -cutbuffer 3 | 8 | ExecStart=%h/.local/bin/autocutsel -selection PRIMARY -cutbuffer 3 |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/blueman-applet.service b/.linux/systemd/blueman-applet.service index a164052..0ce48ee 100644 --- a/.linux/systemd/blueman-applet.service +++ b/.linux/systemd/blueman-applet.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=/usr/bin/blueman-applet | 8 | ExecStart=/usr/bin/blueman-applet |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/cups-browsed.service b/.linux/systemd/cups-browsed.service index 52d18d9..37fbebe 100644 --- a/.linux/systemd/cups-browsed.service +++ b/.linux/systemd/cups-browsed.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=/usr/sbin/cups-browsed | 8 | ExecStart=/usr/sbin/cups-browsed |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/nm-applet.service b/.linux/systemd/nm-applet.service index ab0f921..c500397 100644 --- a/.linux/systemd/nm-applet.service +++ b/.linux/systemd/nm-applet.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=/usr/bin/nm-applet | 8 | ExecStart=/usr/bin/nm-applet |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/pasystray.service b/.linux/systemd/pasystray.service index 066108d..05ff0ac 100644 --- a/.linux/systemd/pasystray.service +++ b/.linux/systemd/pasystray.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=/usr/bin/pasystray | 8 | ExecStart=/usr/bin/pasystray |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/tab-server-alt-port.service b/.linux/systemd/tab-server-alt-port.service index 87422bf..733e618 100644 --- a/.linux/systemd/tab-server-alt-port.service +++ b/.linux/systemd/tab-server-alt-port.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=python3 %h/bin/tab_server.py -p 1425 | 8 | ExecStart=python3 %h/bin/tab_server.py -p 1425 |
8 | 9 | ||
9 | [Install] | 10 | [Install] |
diff --git a/.linux/systemd/xscreensaver.service b/.linux/systemd/xscreensaver.service index 3336cf5..88fe661 100644 --- a/.linux/systemd/xscreensaver.service +++ b/.linux/systemd/xscreensaver.service | |||
@@ -4,6 +4,7 @@ PartOf=graphical-session.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=simple | 6 | Type=simple |
7 | EnvironmentFile=-%h/.config/systemd/graphical.env | ||
7 | ExecStart=/usr/bin/xscreensaver | 8 | ExecStart=/usr/bin/xscreensaver |
8 | 9 | ||
9 | [Install] | 10 | [Install] |