diff --git a/Manual.org b/Manual.org index 30cd0ab..116199d 100644 --- a/Manual.org +++ b/Manual.org @@ -2345,9 +2345,10 @@ EndSection {% endif %} #+END_SRC **** vdr -Set environment variables for user session on startup +Set environment variables for system locale and user session on startup #+BEGIN_SRC conf :tangle roles/yavdr-xorg/templates/systemd/vdr-environ.j2 [Service] +EnvironmentFile=-/etc/default/locale Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/ EnvironmentFile=-/var/lib/vdr/.session-env #+END_SRC diff --git a/roles/yavdr-xorg/templates/systemd/vdr-environ.j2 b/roles/yavdr-xorg/templates/systemd/vdr-environ.j2 index 9fc17e8..aae79e2 100644 --- a/roles/yavdr-xorg/templates/systemd/vdr-environ.j2 +++ b/roles/yavdr-xorg/templates/systemd/vdr-environ.j2 @@ -1,3 +1,4 @@ [Service] +EnvironmentFile=-/etc/default/locale Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/ EnvironmentFile=-/var/lib/vdr/.session-env