I have multiple lircd.conf files on my Pi and I’d like to switch the “currently used one” from the command line for testing reasons. How can I do this?
I guess that I’d have to adjust the file location in some settings file and restart the lircd service afterwards using systemctl restart lircd_helper@lirc0 but I don’t know which settings file to change.
I know that I can use the My OSMC -> Remotes menu for this as well but being able to do this via command line (ssh) would be much more convenient for me.
Thanks & best regards!
We just activate the chosen one with a symbolic link in the add-on.
So you could do the same via the command line.
Ok, that’s easy then 
Where do I need to create the symlink exactly? I’m not sure what you mean by “in the add-on”.
osmc@kodicave:/etc/lirc$ ls -la
total 1508
drwxr-xr-x 2 root root 4096 Jan 18 17:22 .
drwxr-xr-x 79 root root 4096 Feb 28 22:51 ..
-rw-r--r-- 1 root root 1089 Dec 29 05:38 apple-silver-A1294-lircd.conf
-rw-r--r-- 1 root root 26870 Dec 29 05:38 apple-silver-A1294-lircd.png
-rw-r--r-- 1 root root 1038 Dec 29 05:38 apple-white-A1156-lircd.conf
-rw-r--r-- 1 root root 39796 Dec 29 05:38 apple-white-A1156-lircd.png
-rw-r--r-- 1 root root 23092 Dec 29 05:38 atilibusb-lircd.conf
-rw-r--r-- 1 root root 169574 Dec 29 05:38 atilibusb-lircd.png
-rw-r--r-- 1 root root 1586 Dec 29 05:38 dell-travel-remote-nu851.lircd.conf
-rw-r--r-- 1 root root 157000 Dec 29 05:38 dell-travel-remote-nu851.lircd.png
-rw-r--r-- 1 root root 0 Dec 29 05:38 dvicoo-lircd.conf
-rw-r--r-- 1 root root 42554 Dec 29 05:38 dvicoo-lircd.png
-rw-r--r-- 1 root root 4394 Dec 29 05:38 hauppage45-pvr350-lircd.conf
-rw-r--r-- 1 root root 39180 Dec 29 05:38 hauppage45-pvr350-lircd.png
-rw-r--r-- 1 root root 2013 Dec 29 05:38 kls-1.6-lircd.conf
-rw-r--r-- 1 root root 54790 Dec 29 05:38 lircd-full.conf
lrwxrwxrwx 1 root root 25 Jan 18 17:22 lircd.conf -> /etc/lirc/lircd-full.conf
-rw-r--r-- 1 root root 1175 Dec 29 05:38 osmc-remote-lircd.conf
-rw-r--r-- 1 root root 142537 Dec 29 05:38 osmc-remote-lircd.png
-rw-r--r-- 1 root root 2717 Dec 29 05:38 philips-srm-7500-lircd.conf
-rw-r--r-- 1 root root 59276 Dec 29 05:38 philips-srm-7500-lircd.png
-rw-r--r-- 1 root root 11197 Dec 29 05:38 rc6-mce-lircd.conf
-rw-r--r-- 1 root root 29164 Dec 29 05:38 rc6-mce-lircd.png
-rw-r--r-- 1 root root 5450 Dec 29 05:38 samsung-lircd.conf
-rw-r--r-- 1 root root 131181 Dec 29 05:38 samsung-lircd.png
-rw-r--r-- 1 root root 10146 Dec 29 05:38 ttusbir-lircd.conf
-rw-r--r-- 1 root root 1470 Dec 29 05:38 wdtvlive-remote-lircd.conf
-rw-r--r-- 1 root root 113255 Dec 29 05:38 wdtvlive-remote-lircd.png
-rw-r--r-- 1 root root 992 Dec 29 05:38 xbox-lircd.conf
-rw-r--r-- 1 root root 157549 Dec 29 05:38 xbox-lircd.png
-rw-r--r-- 1 root root 1670 Dec 29 05:38 xbox-one-lircd.conf
-rw-r--r-- 1 root root 120143 Dec 29 05:38 xbox-one-lircd.png
-rw-r--r-- 1 root root 2698 Dec 29 05:38 xbox360-lircd.conf
-rw-r--r-- 1 root root 109895 Dec 29 05:38 xbox360-lircd.png
-rw-r--r-- 1 root root 1045 Dec 29 05:38 yausbirv2_frontswitch.conf
osmc@kodicave:/etc/lirc$
He just meant that if you select a remote in the My OSMC add-on, or have it browse for some other conf, then it just changes the lircd.conf symlink as can seen above.
Perfect, that clarifies it!
Thank you very much!