X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e22173524baf981a01ec4a9c29c8a717f9c4139c..b6916fcd97ab132495e36b97ccac28c285906a68:/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service diff --git a/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service index ab91f0a..b455e60 100644 --- a/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service +++ b/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service @@ -7,6 +7,10 @@ Conflicts=getty@tty1.service [Service] User=kodi Group=kodi + +# It seems that udev events aren't propagated to sdl within nspawn. So udev hotplug doesn't work. +# SDL offers alternative methods to discover new devices, inotify and polling, use one of those. +Environment=SDL_JOYSTICK_DISABLE_UDEV=1 Environment=WINDOWING=wayland RuntimeDirectory=kodi