Linux Kodi portable mode on linux?
#1
On Windows if i start kodi with parameter `-p` it starts it in portable mode and creates `portable_data` folder. Can i do that on linux? I tried but kodi crashes. This is the log: https://paste.kodi.tv/ojocurofuv.kodi
Reply
#2
AFAIK, there is no portable option available on Linux.

Since there is no log file, which hardware and graphics card are you using Focal Fossa.
I take it you used our own PPA to install Kodi?
Reply
#3
Yes, i am using the official kodi PPA.

I have laptop Lenovo Thinkpad T420 with dual boot - Windows 7 and Xubuntu.
Reply
#4
(2020-05-04, 12:12)emil_6783 Wrote: I have laptop Lenovo Thinkpad T420

There are some 29 variations of the T420 laptop. Some with an Nvidia Quadro card, most with Intel HD Sandy Bridge graphics.
If you have a Quadro version, is it also properly support by 20.04, as the 'normal' Nvidia cards are?
Reply
#5
This are my laptop specifications: https://paste.kodi.tv/cepajequmi
Reply
#6
portable mode doesn't work with packaged kodi, but you can set the location of the user data directory like so:
KODI_DATA=/some/dir/for/kodi/userdata kodi
Reply
#7
(2020-05-04, 14:52)wsnipex Wrote: portable mode doesn't work with packaged kodi, but you can set the location of the user data directory like so:
KODI_DATA=/some/dir/for/kodi/userdata kodi

What exactly command to use to start kodi? I tried this, but it didn't worked: "kodi KODI_DATA=/home/xxxx/kodi1"
Reply
#8
you set the env var before starting a command, why did you turn it around?
Reply
#9
I thought i can do something similar to what firefox can do when using multiple profiles and starting them with the command "firefox -profile /path_to_profile". But i guess i can't do that with kodi.
Reply
#10
you can, but you must start it like this:
Code:
KODI_DATA=/home/xxxx/kodi1 kodi
Reply
#11
(2020-05-04, 20:38)wsnipex Wrote: you can, but you must start it like this:
Code:
KODI_DATA=/home/xxxx/kodi1 kodi

Thanks, that is what i was looking for.
By the way, when i open kodi with this command i get these notifications in the command line. What they mean:

libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
Reply
#12
it means that hardware video decoding via vaapi is likely to work fine. As long as va_openDriver() returns 0, that's nothing to worry about
Reply
#13
Good to know.
I have a question about using environment commands. Can i use environment command like this with other programs, to change the location for their user data folder, or this is just specific for kodi? I started using linux recently so i am still new to this stuff.
Reply
#14
(2020-05-05, 14:05)emil_6783 Wrote: Good to know.
I have a question about using environment commands. Can i use environment command like this with other programs, to change the location for their user data folder, or this is just specific for kodi? I started using linux recently so i am still new to this stuff.

Should be doable with any variable that the program recognizes.
Reply
#15
(2020-05-04, 14:52)wsnipex Wrote: portable mode doesn't work with packaged kodi, but you can set the location of the user data directory like so:
KODI_DATA=/some/dir/for/kodi/userdata kodi
Great, thanks!
How can I do that with the Flatpak version?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi portable mode on linux?0