dixonary / draft-reMarkable

A launcher for the reMarkable tablet, which wraps around the standard interface.
Apache License 2.0
147 stars 19 forks source link

Wifi not running until xochitl is launched #31

Open Julaye opened 2 years ago

Julaye commented 2 years ago

As xochitl is disabled and draft enabled at startup, then the Wifi stack is not running !

If I launch Wikipedia (for example), nothing work because it is not able to fetch data, the wifi is not started.

If I launch first xochitl (from draft launcher) then quit (using Menu -> Settings -> Restart), as codex is still running the Wifi stay active, then launch of Wikipedia will be able to fetch data from the web.

Any workaround ? A way to start the Wifi stack from Draft launcher ?

Eeems commented 2 years ago

You would need to write a script to set things up on startup by starting wpa_supplicant and send it credentials over dbus.

Julaye commented 2 years ago

Thanks for your answer. This is exactly what tarnish/oxide is doing by connecting all spa_supplicant. Draft should do that also ..

Eeems commented 2 years ago

Draft doesn't run itself in the background like the tarnish daemon in Oxide. Draft is just a dumb launcher that doesn't know anything about the system other than how to launch applications. I know that @dixonary was going to work on a completely new version of draft that has more features, but I'm not sure if he's had time to do that recently.

I'd be willing to move the wifi management code out of tarnish into a daemon that could be used by other projects if there is enough interest. But that would require a request on the Oxide repo instead of here.