UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. pparent
    3. Best
    Online
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 255
    • Groups 0

    Posts

    Recent Best Controversial
    • New App: Chromium PDF

      Hi,

      I just wrote a PDF reader based on Chromium PDF engine.

      It's pretty dummy, written in 30 minutes. But quite useful (at least for me) given the limitations of Document viewer, and that sturmreader is currently broken on noble.

      I think it will greatly benefit from Qt6 upgrade, when it comes, because of improvement of the engine in chromium.

      It is published in the openstore:

      https://github.com/pparent76/chromiumpdf

      mini.png

      OpenStore

      Regards,
      Pierre.

      posted in App Development
      pparentP
      pparent
    • RE: Crazy stuff: sudo snap install signal-desktop

      I've succeeded in opening the keyboard when editing text in signal-desktop !!!! 🎆 🍾

      I could do it reusing the work of @ChromiumOS-Guy in uWolf!

      I can officially send signal messages from a native Ubuntu Touch app, without Waydroid! 😀

      Even though for now it's not convenient , since keyboard hides the text area, and the enter button of the keyboard somehow does not trigger sending the message, and the "send" button in signal is hidden until you expend the editing area. But still very usable.

      For now everything is messy, but I will try to make it available soon (I think it should be possible to do a click package, but I'm not sure yet)

      Ps: Note that I could do it with Mobian version only for now.

      posted in General
      pparentP
      pparent
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      Anyway after all the investigations that I've made I'm extremely confident that we'll be able to have a fully responsive client based on Signal-Desktop landed in the openstore within few month. I see exactly how to make it perfectly adapted to the phone Interface like whatsweb. (Funny enough it is possible to use a modified version of the js script of whatsweb to make the interface responsive, because the interface has an extremely similar structure. )

      It's not anymore a question of "if" but a question of "when". But there are few tedious tasks in the way, and I need to go little by little, because I can't dedicate all my time to this.

      Of course I'm open to any offer for help and testing!

      posted in App Development
      pparentP
      pparent
    • Crazy stuff: sudo snap install signal-desktop

      Hi,

      Today I just figured why not try:

      sudo snap install signal-desktop
      

      And I realize it just works! This is crazy. With this simple command I can link my device and see my chats. Well it is certainly not a responsive interface (but not terrible either, there's just the left menu coming in the way) and the keyboard does not show for now. But I can consult messages, and this is major.

      It means:

      1°) We can certainly create quite easily a version of Signal-Desktop that is adapted to mobile display (with few patches to the interface to make it responsive), and that we can get a full-fledge signal client on Ubtunu touch, that way.

      2°) That Mir2.0 will certainly help with that.

      Ps: I guess the first easy thing to make it usable as a consul-only stuff is adapt the scale, which I guess must be easily doable.

      posted in General
      pparentP
      pparent
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      I've been able to recompile Signal-Desktop from source and apply my responsive script.

      Sans titre.png

      It is available in the Openstore alongside these other improvements:
      -Fix startup from OpenStore
      -Fix open url externaly
      -Fix battery problem
      -Fix double window problem

      There still are some keyboard issues, it's probably the next thing I will work on.

      posted in App Development
      pparentP
      pparent
    • RE: Ubuntu Touch Q&A177 call for questions

      First of, thank you so much for the development on Ubuntu Touch, it is becoming amazing!

      I have a question about Wayland/Xmir apps (e.g uWolf, Signal-desktop, Snap apps) in the context of the upcoming Mir2.0

      Will you consider implementing any of the following, to polish experience with Wayland apps:

      • Standard desktop notifications showing as UT notifications (with sound, vibration, status led, notification panel).
      • Easy Import/export files from content-hub by having a custom xdg-desktop-portal for content-hub.
      • Open url externally, by making an URLdispatcher app as default desktop browser.
      • Review and possibly adapt apparmor profiles to make sure they don't prevent confined Wayland/Xmir apps from accessing the hardware the way they normally do it (GPU ,microphone, camera, ,...), when they should be allowed to access it. (Eg: Signal-Destkop can access microphone when unconfined, but not when it has the confined + microphone profile.)

      Would you need/accept some help to do that?

      posted in News
      pparentP
      pparent
    • French ID app interoperability.

      Hi,

      Just wanted to mention that I contacted the in-development French identity mobile app, to ask them for interoperability, and remind them their duty to make sure public service is available for everybody, and that their role was not to enforce the choice of mobile OS of their citizens.

      https://france-identite.gouv.fr/

      Surprisingly I got a pretty open and positive reply, apologizing that their app was not compatible with my OS (Ubuntu Touch), and saying they shared the goal of interoperability, and would study that with the development team what was possible. I did not expect such a positive answer, although I don't know if anything concrete will get out of this.

      As a side note I wonder why for this kind of app, with a real need of interoperability, they don't use more Qt, because from what I understand Qt allows to develop apps for Android, iOS, Windows, Mac, Linux desktop, Linux mobile (Ubuntu Touch, Sailfishos, Mobian, postMarketOs, pureOs, ect...), all at once, with only few custom things to go for each platform. Any thoughts on that?

      posted in Off topic
      pparentP
      pparent
    • RE: Crazy stuff: sudo snap install signal-desktop

      Craziest thing:

      The calls are partially working out of the box!!!!
      Which means we can certainly get calls working one day!

      posted in General
      pparentP
      pparent
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      Ok I've found a way to solve keyboard bugs (in X, in a very hacky way) 🎊 . I will make a new release soon, Alongside optimizations to make the app less sluggish.

      With those, it will reach the stage of good client for text-only notification-less chat!

      (Other features will come later)

      posted in App Development
      pparentP
      pparent
    • RE: Send notification locally from QT/C++/QML App.

      Ok in this version of whatsweb I have the notifications working without being unconfined, and it gets to the system panel! (Provided the app is not suspended in background)

      🎉🎉

      https://github.com/pparent76/whatsweb/tree/82cd0c659af09bfad4315ba6c39e398d881451c3

      posted in App Development
      pparentP
      pparent
    • Whatsweb app upgrade.

      Hi,

      Whatsweb has been upgraded to version 0.3.0 and later 0.3.2 . @alefnode has merged my work including some improvements listed bellow 🥳. The app should work correctly for all the main features. If you see something not working please do not hesitate report, as I'm working on it these days.

      Improvements released in 0.3.0:

      • Support for notifications (if app suspending is disabled in Ubuntu Tweaks and app kept open)
      • Smoother navigation with transitions
      • Smoother keyboard appearance/appearance
      • Avoid opening the keyboard untimely, when navigating
      • Enable GPU acceleration
      • Hide left panel for more pleasant interface
      • Make Emoji panel usable
      • Better graphical integration of navigation buttons ( back in chatview )
      • Copy a message to clipboard quickly with a long push on message.
      • Screensaver when the app is not foreground: hide the webview to save battery
      • Fix "contact info" panel
      • Fix left menus.
      • Fix Upload files

      Improvements released in 0.3.2:

      • Fix screensaver background image ( When app is not in foreground )
      • Fix navigation icons&screensaver color in dark mode.
      • Fix "new conversation" + "Archived conversation" + "Chats in community panel"
      • Allow to download medias and export to other apps
      • Optimize scaling and font-size
      • Add a notice while the application is loading to inform users about the necessity to disable suspend with "Ubuntu tweaks" to get notifications.

      Improvements released in 0.3.4:

      • Adapt overlay dialog to screen-size ( Transfer message, delete conversation, config theme dark/light, new chanel, ect...)
      • Fix top right-hand corner menu items ( New Group, stared messages, archived messages )
      • Enable multiple-Files import
      • Make the association page responsive and neat ( scan Qr-code )
      • Add internal tweaks menu app ( Scaling + Notifications + Background behavior+ gpu+ quick copy )
      • Minor performance improvements
      • Minor bug corrections
      • Clean code and make it more maintainable.
      posted in App Development
      pparentP
      pparent
    • Signal UT: Signal-Desktop for Ubuntu Touch

      Edit:
      OpenStore

      The following is the first post of the topic and is now outdated, read the latest posts for latest news


      I'm building a new application for the openstore: Signal UT, which will be a custom version of signal-desktop for Ubuntu Touch. I've already succeeded to build an initial .click package of signal-desktop for Ubuntu Touch with basic tweaking to have a more acceptable scale and have the keyboard working. I've made scripts to build it automatically. Currently it is based on a reuse of the binaries from https://snapcraft.io/signal-desktop . But it does not require to use snap to work, it's a standalone click package (that we'll be able to publish openstore later).

      https://github.com/pparent76/SignalUT

      The app is currently not responsive (but I plan to work on it):

      • You can reduce the left menu to it's minimal size, as a temporary workaround
      • The keyboard will display on top of the textedit, so you won't see what you type
      • [EDIT] Somehow the "enter" and "back" buttons of the keyboard do not work after starting the app, but locking and unlocking the phone with Signal in foreground will solve it. (Probably and Xmir problem)
      • You should be able to fine tune zoom by plugin in a keyboard and use the shortcuts Ctrl+= & Ctrl+- (untested)

      But it is already usable to consult messages, and send small messages (in a sub-optimal way)

      What also works or kind of works:

      • Sending Audio messages, and listening to them (seems to work quite well)
      • Audio calls (and it's possible to see video from the other person but internal camera does not work), call quality untested.
      • Receiving non-Ut desktop notifications when keeping app in background (even when the phone is suspended)

      screenshot20251024_134147855.png

      WARNING: This is experimental, use at your own risks. The app currently needs to run unconfined. It contains binaries, that are free software but that I've not compiled personally (coming from snapcraft.io ) and that I have not checked. I do not take responsibility in case of any problem

      Knowing that, if you want to be a tester, I'd be glad to get feedback from testers to know if it runs on other phones. So you will find a pre-built .click package here ( ONLY RUN ON NOBLE (24.04) ) :

      https://github.com/pparent76/SignalUT/releases/tag/FirstRelease

      posted in App Development
      pparentP
      pparent
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      And I've published the confined version to openstore:

      OpenStore

      Any feedback about if it works for you, is welcome.

      screenshot.png

      posted in App Development
      pparentP
      pparent
    • RE: Idea: overlayfs for user terminal

      @Fuseteam said in Idea: overlayfs for user terminal:

      But i really reccomend joining us on matrix or telegram

      Yes thank you, I may join later, when I have a bit more time! 😉

      I find also that sharing infos on the forum is better for making things public and accessible in the long run, and that later we can know precisely what has been tried.

      posted in OS
      pparentP
      pparent
    • RE: Is there an easy way to dual boot Android and Ubuntu Touch?

      @Opolork Dual boot is possible on vollaphone, it's a feature provided by the manufacturer.

      https://wiki.volla.online/index.php?title=MultiBoot_mode_in_VollaOS_for_VollaPhone_Quintus

      posted in General
      pparentP
      pparent
    • RE: Send notification locally from QT/C++/QML App.

      ✔ My solution to the initial question:
      Here is my QML module to handle local notifications:

      https://github.com/pparent76/UbuntuTouch-qml-notify-module

      It contains a script setup-project.sh to install automatically all the requirements into the app project.


      Also this push request to the whatsweb app can be pretty informative:

      https://github.com/alefnode/ubports-apps/pull/44

      Especially this commit that corresponds to setting up the module with setup-project.sh:

      https://github.com/alefnode/ubports-apps/pull/44/commits/81d08baba14ed941ca0c9b246d0df543b0a452a6

      posted in App Development
      pparentP
      pparent
    • RE: New App: Chromium PDF

      Actually it's published in openstrore:
      https://open-store.io/app/chromiumpdf.pparent

      posted in App Development
      pparentP
      pparent
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      @klh said in Signal UT: Signal-Desktop for Ubuntu Touch:

      It's sluggish because you run it under Xorg - which is your choice, not a system limitation.

      Please if you have a better way to do things, show us how to improve the app, I'm more that open to contributions and help, and it's clear that the app is 3 weeks old, and is currently not in it's optimal state, far from it, and it is supposed to evolve rapidly.

      The only "choice" of my part, is trying to make it work, as soon as possible, and as good as possible, with the infos that I have at hand, and in that regard I just copied the way uWolf is working (And by the way the snap version of signal-desktop also starts with X11). In the code of uWolf ( that is the most famous port of a desktop app in the store and one of the only one), it says explicitly "# Explicitly force X11 backend for GTK applications like LibreWolf (will remove when mir2.x comes out)". Which led me to belive it's not possible to have a GTK app working properly with Wayland until the release of Mir2.x, and I did plan to switch to Wayland then, so I don't see why copy and paste would not work then. If you have any example of a GTK app working properly (including keyboard) in Wayland mode with Mir1.2, please share!

      What I can say is that in my initial tests, if I run the app unconfined I can get it hardware accelerated even with X, so it seems the apparmor does prevents the app from accessing the GPU at least in an X11 context and without specific configuration. You can try it I do publish the unconfined version in github releases. So my statement is just a mere observation. Maybe if the app can be started with wayland the GPU would be accessible even in a confined context, but I still haven't found how to do it, despite my attempts.

      Please if you have solutions to make it work better than it currently does, then show them to make things go forward! It's not helping to suggest that I make on purpose bad choices so that it does not work properly, while I'm spending a lot of my time contributing an app that somehow nobody has made until now, despite being an important need for many Ubuntu Touch users.

      Ps: by the way I've also asked general questions about electron apps with Wayland In Ubuntu Touch, in the context of upcoming Mir2.0 realease, more than one month ago, before starting this app, without seemingly a consensus about what was possible or not, so I'm just experimenting. https://forums.ubports.com/topic/4507/electron-apps-on-ubuntu-touch/4

      posted in App Development
      pparentP
      pparent
    • RE: Merezhyvo browser

      @naz.R

      Well first thank you so much for publishing the code! 😊

      Well you are free to choose a license that suit you, whether a proprietary license or a free and open-source license. (You can also decide not to put any license but then what we are allowed to do with your code and app can be a bit ambiguous, although normally standard copyright applies by default) . Be "the owner of the app" can mean several things, you would need to precise what you mean by that in order to define your license. For exemple most Free software licenses (Free software refers to freedom not price), will require to keep the copyright of the original author, and give credit. Owning the app in the open-store is also a different matter.

      For me Free and Open-source software is fondamental to control individually and collectively the software we use, and guaranty that the software is doing what we want it to do, and not something the developer has added in its own interest to exploit users, their data, and their device ( That of course, I'm sure is not the case of your app at all 😊 , but is unfortunately very common in the proprietary world ).

      Basically everything in Ubuntu Touch system is Free and Open-source software, except binary blobs, given by the manufacturers, that are needed for the hardware, and it's kind of a trade-off to have to use them, because unfortunately in the mobile it's currently very hard to have acceptable hardware running without proprietary blobs drivers or firmware.

      The Free software philosophy is personally the reason that I prefer Ubuntu Touch over Android. If it wasn't for that, I would use Android.

      posted in App Development
      pparentP
      pparent
    • RE: Signal-Desktop - Setup for Devices without waydroid using Libertine (More or less fully functional. Better than nothing)

      @CatWithUT

      Thank you for your work it seems very interesting to me!

      Just a quick question: do you think it would be feasible to create a .click package and have it in the Openstore? In a similar fashion that uWolf and uFirefox does? Can we avoid libertine containers? Do you think upcoming Mir2.0 will change anything in this regard as it supports Wayland?

      Do you use Mobian build scripts for ARM, for signal-desktop? https://github.com/0mniteck/Signal-Desktop-Mobian/releases

      And also note: if we can get an initial version to build and make an UT package I'm willing to work on making patches to make the interface responsive as I have done with whatsapp web. I think this is the easy part.

      But we should first make a set of scripts to build automatically a binary, and then a click package that can run on UT.

      posted in Libertine
      pparentP
      pparent