I am working on a 'kiosk style' opencpn box with no other interface. No desktop manager just bare metal debian + opencpn on banana pi. I want wifi access point 'login' and config.
skkeith...
OpenCPN does not care at all how your machine is connected to the network. Is there any reason not to use the Launcher plugin to simply run some already available tool, like wicd, to do the network configuration?
The reason is there is no desktop manager. Opencpn is the sole interface. I didn't know about the launcher, have to look into that. If there is touch screen controllable gui available suppose that would work. Wouldn't it be less reliable and more clunky? I want no keyboard or mouse on this box and I want it rock solid. I don't want it fiddly at all.
problem is how do you switch focus to another application. I didn't know about the launcher before. I used the kiosk launcher but that is truly clunky and fiddly which is exactly what I am trying to avoid with this thing.
skkeith...
Probably xdotool and wmctrl is what you should be looking at. Of course writing a plugin, most likely just serving as a frontend for the CLI network configuration tools is also an option, but I would personally try to avoid it for the amount of work involved.