@lduboeuf Thanks a lot for your help, It's being an uphill battle, but I am confident of making it
Posts made by ATTESA
-
RE: Ubuntu Touch Q&A 139 Call for Questions
-
RE: Ubuntu Touch Q&A 139 Call for Questions
Would a development related question be ok?
I'm trying to develop a system application for Ubuntu Touch, but between my little experience with the technologies (Qt, C++, D-Bus, Lomiri ...) and the peculiar architecture, I am a bit lost.
The app communicates with Ofono though the system bus, that part is more or less done and running fine on a PC, but now I have to communicate with the GUI, and I don't have a clear picture of how this should be done, especially so that it feels "integrated" with the system.
I would like to know if there is any core application that follows a similar schema that I could take as a reference, or the go-to tutorial for core system development.
Best regards.
-
RE: Call for testing: Ubuntu Touch Focal OTA-4
@peat_psuwit said in Call for testing: Ubuntu Touch Focal OTA-4:
- Whether the permission request works for a new app.
Do you mean the new policikit/pkexec feature for apps with elevated privileges?
If so, any app we can take as example to update the code of our apps?
Thanks for your hard work.
-
RE: Looking for help to finish my first UT app
@Keneda said in Looking for help to finish my first UT app:
@ATTESA
Did you try UBports telegram for help ?I honestly have never used Telegram, not a fan of sharing my phone number with them, but I will have a look into it. Ty
Some screenshots to illustrate:
-
Looking for help to finish my first UT app
Hi everyone,
I have almost finished my first Ubuntu Touch app, but I would like some help to finish up some functionalities and if possible to also have feedback and advice on how to solve some of the shortcomings it has.
The app is a port of GUFW by @costales (This is actually pure coincidence, I discovered later that @costales was also the uNAV developer).
In short, it is a QML+Python frontend to manage the preinstalled ufw firewall that ships disabled by default in UT. It is my first UT app, my first QML app, my first GUI app, and so on, so don't expect anything fancy.What I would like help with is the following:
Normally, on a desktop or laptop, you have 3 or 4 interfaces like eth0, lo and wlan0, wlan1. However, on those smartphones there is a myriad of interfaces like "rmnet_data0" that the SoC uses internally that would also be affected by the firewall if enabled, so I added some functionality to automatically add those internal interfaces to a list of whitelisted interfaces so they are not affected by the rules and only internet facing interfaces are affected.
Since every device has different interfaces, if someone wishes to use the app on their phone, I can add the list of internal interfaces for that device, so contributions of these interface names are more than welcome.
Right now the device is hardcoded for "sargo" but modifying the "devices.cfg" file with your device interfaces should also work, note that interfaces with a @ in the name are not supported yet.Also, since the app needs obviously elevated privileges, it must open a root shell every time it has to do something, and for some reason this is very slow on the phone while instant on the computer, It there is another way to run root command, or a way to speed it up I would like to know.
The report functionality works with clickable on the desktop but it does not in my phone, but I am afraid this is a ufw problem and not a problem with the app.
The logo and name are provisional, I tried to create an icon following Suru guidelines and failed, the name sucks, but I hope to simply rename it to "Firewall" even if not accurate, or simply to "Wallmiri".
I have yet to do some attributions and license remarks regarding original code from GUFW and from some other projects that I used as a source.
Code can be found at codeberg as "qtpyufw" by "attesa", and since the forum seems to not allow me to post if I use links, I will try to post it another way or if someone can edit this one and add the link I would be grateful.
EDIT: codeberg -> /attesa/qtpyufw
Hope somebody finds it useful.
Best regards. -
RE: Ubuntu Touch Q&A 125 call for questions
Not sure if the question belongs here, but feel free to ignore it if it doesn't.
I have almost finished my first UT app, however, the app must run unconfined and with elevated privileges. To do this I looked at solutions used in other apps and basically they pass the password and call sudo in a shell session, which works..., but feels whaky...
Is there, and I don't know about, or will be, an "official" way of running apps that need elevated privileges? something along the likes of gksu?
-
RE: [How-To] Record Calls
@Br1 I don't know if it is just me, but the download link does not seem to work, I get a Not Found error.