08-05-2022, 12:32 AM
I’ve got a question that’s currently above my head.
I’m fairly new with Linux and python but learning very fast.
So my question: Can you have an extrernal button that will start chromium …kodi?
*Background
I’ve gotten very close to accomplishing this task.
I created a python script that watches for a gpio pin and starts chromium in kiosk mode. Then I can close the window with a ctrl+shift+w in the controller service .ini file. That worked great thought I had it beat but then I tried it with CarPlay running. And CarPlay is running over the top of everything. I’ve watched the logs and see what happens when CarPlay stops and resumes but that’s a little over my head of how to duplicate that. So I added a new application and it works to my desired webpage but not sure if there’s a “way” “command” to start an app.
Full context:
My ultimate goal is to have buttons that key up webpages. This particular button will pop up WLED that will control my underbody LEDs. Another Idea I had is to pop up node red UI to control my lightbar and other controls. Having to stop CarPlay to see the app would be a little disappointing.
Hope you can help.
Thanks
I’m fairly new with Linux and python but learning very fast.
So my question: Can you have an extrernal button that will start chromium …kodi?
*Background
I’ve gotten very close to accomplishing this task.
I created a python script that watches for a gpio pin and starts chromium in kiosk mode. Then I can close the window with a ctrl+shift+w in the controller service .ini file. That worked great thought I had it beat but then I tried it with CarPlay running. And CarPlay is running over the top of everything. I’ve watched the logs and see what happens when CarPlay stops and resumes but that’s a little over my head of how to duplicate that. So I added a new application and it works to my desired webpage but not sure if there’s a “way” “command” to start an app.
Full context:
My ultimate goal is to have buttons that key up webpages. This particular button will pop up WLED that will control my underbody LEDs. Another Idea I had is to pop up node red UI to control my lightbar and other controls. Having to stop CarPlay to see the app would be a little disappointing.
Hope you can help.
Thanks