reTerminal front 4 buttons assign function

Apologies for such a simple question but I just can’t seem to figure this out. I’ve spent a lot of time going down a rabbit hole on how to assign functions to GPIO pins assuming that’s how these buttons work but I’ve gotten nowhere.

I’ve seen in the getting started wiki how to modify config.txt

Untimely I’m trying to change these keys so I can use one as a right click and another to start an app. Any help is appreciated even if it’s just pointing me in the right direction.

Never mind. Had a coffee and started fresh. Not sure why I over complicated it…

Edited /boot/config.txt to switch all four keys over to F1,F2,F3, and F4 using their V-Scan Code.


Copied the config for lxde key binding to ~/pi/.config/openbox

sudo cp /etc/xdg/openbox/lxde-pi-rc.xml /home/pi/.config/lxde-pi-rc.xml

Under the keyboard section I added the binding of the F keys to the app I wanted to start

Repeat for all 4