UBConnect: A native ubuntu touch application for KDE connect
-
@kugiigi I think some change on system is indeed needed. Android also introduced restriction to clipboard some years ago, and force KDE Connect to change to using persistent notification with a send clipboard button. The problem is Ubuntu Touch doesn't even allow apps to write to clipboard in background in a confined way. I tried (in a non-public branch) to use indicator to achieve a similar behaviour of persistent notification to abandon the daemon, however the allowed behavior of the indicator on Ubuntu Touch seems to be also rather limited (I could be wrong, I am new to Ubports and am still learning).
-
@Averiz I haven't updated my custom indicators for Noble yet so not sure how they work now but I think it is indeed a good thing to explore. You can have UI there to manage connections and such. And I believe you can also have something running all the time as replacement to the daemon. I am however not an expert with it so I might be wrong

-
v0.1.1 has been released on open-store. The battery consumption of UBConnect should now be negligible (and there is now an icon).
-
@Averiz I have the first version since yesterday and to be fair the battery seems good. I didn't use that device much though

-
@kugiigi There were certain corner cases like multiple devices in same LAN and not reliable network and clipboard happening all the time etc. Thanks for the feedback, good to know it works.
-
@Averiz Do we need to reinstall the daemon when there's a new app version or for example this latest version with battery optimizations?
-
@kugiigi The app update will update the daemon at the same time, I think.
-
@Averiz Ah so the app updates it at runtime?
I'm curious because it does install the daemon inside the app right? So that doesn't get installed with the click installer.Also, how do you disable clipboard syncing? It seems like clipboard totally broke in the system, pasting is always empty

-
@kugiigi Upon install, the daemon file will be installed but not enabled/started by systemd, that inside the app does enable+start. On update, the daemon file under systemd's ExecStart will be replaced, but due to the nature of systemd, the newer version will not be executed upon next restart/reinstall daemon.
What do you mean totally broke the system? What are your observations? How do you arrive at the conclusion it is caused by UBConnect? Could you share some logs and also create an issue?
At least on my device the clipboard is still working without problem.
-
@Averiz I didn't test extensively. I clicked on sync clipboard on my UT device. I tried copy pasting on both my phone and desktop but my phone kept on pasting blanks. Even the texts I copied internally won't work. After a while, the text I copied on the desktop got pasted on my phone but copy pasting internally was still broken. I don't think there's a way to disable it in the app so I disabled clipboard syncing on my desktop and the clipboad worked normally again.