Installation and setup of Remote Control Keybinds and PseudoChannel
Original Blog Post @medium.com
- You must have pseudo-channels ready to go in the
~/channelsdirectory. - Install this on the same Pi as the "controller" Pi, along-side your pseudo-channels "~/channels" dir.
- Your "controller" Pi must be running x-server (i.e. not be headless).
- x-server cannot run without a display attached to your Pi (attach a display to the HDMI port or somehow spoof it).
- Open the
./channels/config.cachefile and manually edit the plex server info before beginning this. - Go to the original blog post to learn more about testing/setup/configuration.
- If you are using "RasPlex" as a client device the default username/password is:
root/rasplex - You may have to manually edit the
lxde-pi-rc.xmlfile noted in the above post if that file is not located in the/home/pi/.config/openboxdirectory (or if that dir doesn't exist).-
You must manually find this file by searching your OS:
% sudo find / -name "lxde-pi-rc.xml".On my install (Raspian "Buster" with Desktop), it was located here:
/etc/xdg/openbox/lxde-pi-rc.xml. -
Edit the
/etc/xdg/openbox/lxde-pi-rc.xmlfile by adding the output XML found in~/remote/temp.xmlto the right place in the file as described in the blog post ("temp.xml" is generated after running the belowsetup.shfile).Using vim:
-
% cat ~/remote/temp.xml- then copy the XML output. -
% sudo vim /etc/xdg/openbox/lxde-pi-rc.xml -
:/Launch Task- search for the string "Launch Task". -
</keybind>- find the closing tag and press "i" to get into "insert mode". Place your cursor right after and make a space for pasting in the new XML. -
shift + ins- while in "insert mode" in vim to paste the XML from the system clipboard (~/remote/temp.xml). -
:wq- save and quit. -
% sudo service lightdm restart
-
-
-
Clone this repository on your controller Pi along-side the pseudo-channels "~/channels" directory:
-
% git clone https://github.com/FakeTV/remote.git -
% cd remote
-
-
Make the "setup.sh" script executable:
% chmod +x setup.sh
-
Run the script and follow the prompts:
% ./setup.sh
