Package Details: kodi-standalone-service 1.116-1

Git Clone URL: (read-only, click to copy)
Package Base: kodi-standalone-service
Description: Systemd services to run kodi in stand-alone mode without a DE
Upstream URL:
Licenses: MIT
Replaces: kodi-standalone-gbm-service, kodi-standalone-wayland-service, kodi-standalone-x11-service
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 65
Popularity: 1.31
First Submitted: 2014-11-05 20:25
Last Updated: 2020-11-08 13:36

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

graysky commented on 2020-09-14 19:46

Hmmm... I just pushed 1.105 but perhaps I can ship a commented /etc/conf.d/kodi-standalone containing a few you mentioned plus some commented text. That might be helpful for folks.

EDIT1: maybe the wiki is a better place. EDIT2:

ghen commented on 2020-09-14 19:42

Unfortunately not, it seems rather scattered.

I found KODI_DATA in /usr/bin/kodi itself (overridable), others can be found here and there on the Kodi wiki (or Arch wiki) discussing specific issues and workarounds, like KODI_AE_SINK, KODI_GL_INTERFACE, ...

Also several non-Kodi-specific variables can have effect on Kodi as well, like SDL_VIDEO_FULLSCREEN_HEAD (for multiscreen use), or LIBVA_DRIVER_NAME, VAAPI_MPEG4_ENABLED and others related to X11 direct rendering.

graysky commented on 2020-09-14 19:36

@ghen - Right, I am saying it might be nice to link to kodi-specific vars.

graysky commented on 2020-09-14 19:31

@ghen - Are you aware of a list of common environment variables kodi uses? Might be nice to provide some documentation.

ghen commented on 2020-09-14 19:27

Thanks! Maybe name it kodi-standalone rather than kodi, because it will be specific to the standalone invocation - running kodi directly will not involve this file.

graysky commented on 2020-09-14 19:24

@ghen - I'm thinking /etc/conf.d/kodi might be a more standard option. I'll go ahead and make the addition.

ghen commented on 2020-09-14 19:12

I verified with KODI_DATA=/tmp/kodifoo and it fired up a "new"/empty kodi instance. ;-) This allows me to move my kodi installation out of /var/lib/kodi without using symlinks.

graysky commented on 2020-09-14 19:08

@ghen - Have you verified that your proposed modification works? Is the contents of your /etc/default/kodi simply KODI_AE_SINK=ALSA? I would need to read up to verify that the file that the user would edit is working as expected?

ghen commented on 2020-09-14 18:18

Some low-level aspects of Kodi's behaviour (mostly hardware/driver workarounds, but also global paths like KODI_DATA or CRASHLOG_DIR) can be controlled through environment variables, it would be nice if the systemd unit could include an EnvironmentFile to put such settings in, rather than having to override the unit with individual Environment= flags, or worse, editing the /usr/bin/kodi-standalone script as suggested in

Just add to each .service file something like:


(The leading dash implies the file is not required, so no need to supply a default empty file.)

Not sure if /etc/default/, /etc/conf.d/ or even /etc/sysconfig/ is preferred...

graysky commented on 2020-09-08 15:06

@jimbob - that is a mistake