Add irexec.service for the user session

This commit is contained in:
Alexander Grothe
2017-12-20 10:43:15 +01:00
parent ea39de7a21
commit 3aadc14dbb
4 changed files with 58 additions and 3 deletions

View File

@@ -87,6 +87,15 @@
src: templates/systemd/user/osd2web.service.j2
dest: '{{ vdr.home }}/.config/systemd/user/osd2web.service'
- name: create irexec configuration for the session
block:
template:
src: templates/systemd/user/irexec.service.j2
dest: '{{ vdr.home }}/.config/systemd/user/irexec.service
template:
src: templates/.lircrc.j2
dest: '{{ vdr.home }}/.lircrc
- name: link /usr/bin/start-desktop to /var/lib/vdr/plugins/desktop/starter
file:
src: /usr/bin/start-desktop

View File

@@ -0,0 +1,5 @@
begin
prog = irexec
button = KEY_HOME
config = frontend-dbus-send switchbetween kodi vdr
end

View File

@@ -0,0 +1,9 @@
[Unit]
Description=LIRC command handler
[Service]
Type=simple
ExecStart=/usr/bin/irexec %h/.lircrc
[Install]
WantedBy=yavdr-desktop.target