X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e22173524baf981a01ec4a9c29c8a717f9c4139c..8e3c8f1a0a5ba3e52bb62bd8c4820e9ae28b35e7:/mkosi/kodi/mkosi.extra/etc/systemd/system/kodi-wayland.service?ds=sidebyside 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