版面

  • The Meta category: Organizational or general discussion.

    1k 主題
    9k 貼文
    lduboeufL
    @_JCM_ said in No cell broadcast received on 24.04.1.0 Beta 2: @lduboeuf What was your network at that time ? ( gsm, umts, lte )? How can I find out my current network type? I have "2G/3G/4G/5G" selected in the mobile settings and did no have mobile internet active at the time of the broadcast. if terminal don't afraid you, you can get it with: /usr/share/ofono/scripts/get-tech-preference
  • Discuss news updates from Ubuntu Touch and its related projects

    1k 主題
    5k 貼文
    UBportsNewsU
    Due to security vulnerabilities we will upgrade our matrix rooms to level 12 step by step. This will result in a new room being created, where users need to join. You are then free to leave the old room. For some background please see this article: https://matrix.org/blog/2025/08/security-release/
  • Discuss and solve problems with other users

    4k 主題
    28k 貼文
    F
    @domubpkm Thanks for the info! calls are my biggest issue, they just keep calling all day every day.
  • 2k 主題
    18k 貼文
    D
    @Steinmoshe Yes ! Up to date tutorial for installing UBT on X3 Pro : https://forums.ubports.com/topic/11334/ubuntu-touch-ubt-tutorial-installation-guide-for-poco-x3-pro-vayu-and-help-channel
  • Discussions on development of Ubuntu Touch

    510 主題
    6k 貼文
    M
    @poVoq Unfortunately, that's very dependent on the device, I can do it with my OP5 and my Sennheiser BT headphones
  • Discuss the user experience or design of Ubuntu Touch or its apps

    165 主題
    2k 貼文
    L
    Hi, The Brax 3 "Artwork" model has been added to the gitlab project ... [image: 1748290593621-c4efc15c-cb27-45f6-8972-f2f9cd192d87-image.png] As always : free to use for "marketing purpose" / "spread the word" posts or videos
  • Creating Ubuntu Touch apps

    749 主題
    7k 貼文
    peat_psuwitP
    With Ubuntu Touch 24.04-1.0 nearing release, many app developers will probably want to make sure their applications are available after the users upgrade their phone. This post will answer a number of questions you might have in mind. Before we continue: version terminology Throughout this post, I may use 24.04-1.x and 24.04-1.0 interchangeably. Technically, 24.04-1.x is a series which represent 24.04-1.0, 24.04-1.1, 24.04-1.2 etc, while 24.04-1.0 is a specific version from the series. However, we intends to maintain application compatibility across all minor versions throughout 24.04-1.x series. So, from app developers perspective, what is true for 24.04-1.0 should be true for the entire 24.04-1.x series as well. I will indicate if I say something that is applicable for 24.04-1.0 but not for the rest of the series. Do I have to re-build my application against Ubuntu Touch 24.04-1.x? Surprisingly, the answer is complicated. At the most basic level, applications built against Ubuntu Touch 20.04 will still be downloadable on OpenStore for 24.04-1.x users, and applications that has already been installed will still be available on users' devices. However, depends on how the application is built, it might run fine on Ubuntu Touch 24.04-1.x, or it might outright crash from the beginning. The best way to answer this is to install Ubuntu Touch 24.04-1.0 RC 1 on one of your phone and then try to run your app on it. But the following are rules-of-thumb: If your application is completely QML-only: most likely, your application will just run fine on Ubuntu Touch 24.04-1.x. However, you may still have to slightly modify the code to stop using unsupported types. For example, if you use Lomiri.OnlineAccounts 0.1, you'll have to change that to SSO.OnlineAccounts 0.1 since the former is not supposed to be used, even on 20.04. If your application contains C or C++ code: now it depends on what library you're using: If your app uses only Qt libraries (such as libQt5Core, libQt5Gui, libQt5Quick etc.), then your application should run fine, unless you use private symbols for them. [^1] If your app uses other libraries, then we can't really say for sure if your application will work as-is; you'll have to test your application to be sure. In general, if your library's API/ABI is stable and used outside of Ubuntu Touch ecosystem (e.g. GLib), then chances are it'll work. But if you use some lesser-known one, then it's more likely that it won't. The following non-exhaustive list of libraries lists libraries known to have API/ABI changed between 20.04 and 24.04-1.x and requires rebuild: libssl1 (from OpenSSL) Boost (if you use non-header-only parts; see here) ICU (libicu*.so) libtiff, libwebp If your application is written in Rust or Go and you use Qt or QML, then you'll almost certainly have to rebuild your application. This is because the integration between Rust/Go and Qt uses Qt's private symbols which have changed between Qt 5.12 (20.04) and 5.15 (24.04-1.x). Note: if you intends to support armhf architecture (32-bit ARM), you'll have always have to recompile your application, as armhf binaries built against 20.04 will not run on 24.04-1.x. This is due to Ubuntu and Debian's 64-bit time_t transition. Note that there's currently no supported Ubuntu Touch devices with armhf architecture. [^1]: Ideally, the sdk-libs and sdk-libs-dev seeds should defines what is stable for applications to consume. In practice, this list is poorly maintained and most people don't think about this when writing their applications. There are things that we should not promise, and there are things that we should have promised, but doesn't. So for now this list is advisory. Also so see Canonical-era wiki page about Click frameworks. How do I build my applications against Ubuntu Touch 24.04-1.x? The steps are: Make sure you run Clickable version 8.4.0 or later, which include necessary fixes for uploading applications built against 24.04-1.x to OpenStore. In clickable.yaml, specify ubuntu-touch-24.04-1.x as the framework: framework: ubuntu-touch-24.04-1.x Alternatively, specify framework using CLICKABLE_FRAMEWORK environment variable (useful for dual-building against both 20.04 and 24.04-1.x, see below). export CLICKABLE_FRAMEWORK='ubuntu-touch-24.04-1.x' In your manifest.json, make sure to specify framework as "@CLICK_FRAMEWORK@". Most applications is probably doing this already, but it's worth checking to be sure. "framework": "@CLICK_FRAMEWORK@", In your AppArmor manifest file(s), specify policy_version as "@APPARMOR_POLICY@". This allows Clickable to fill in the correct AppArmor policy version corresponding to the Click framework. If you have multiple AppArmor manifiest files (e.g. for your main application and your push helper), make sure to update all of them. "policy_version": "@APPARMOR_POLICY@" Run clickable build as usual. Now the application should be built against Ubuntu Touch 24.04-1.x. Note that applications built against 24.04-1.x will not run on 20.04 devices. In fact, the device will outright refuse to install your Click. This is intended; your application might call APIs that has been added in between versions, so we prevent this to avoid surprises. If I upload applications built against 24.04-1.x to OpenStore, will it be offered to devices running 20.04? No. OpenStore will offer the latest version which is still compatible with a particular device. For example, if you uploaded version 1.2.2 built against 20.04, then subsequently upload version 1.3.0 built against 24.04-1.x, devices running 20.04 will receive version 1.2.2, while 24.04-1.x devices will receive version 1.3.0. I want to provide updates for my app to 20.04 devices after I upload a new version for 24.04-1.x. Can I do that? Yes. OpenStore has been updated to accept a new Click which is older than the current version, as long as the Click's framework is different. Using the previous example again, if you uploaded version 1.2.2 built against 20.04 then subsequently upload version 1.3.0 built against 24.04-1.x, you can then upload version 1.2.3 built against 20.04 and 20.04 devices will receive this update. At the same time, 1.3.0 will continue to be provided to 24.04-1.x users. I want to provide the same versions but built against both 20.04 and 24.04-1.x. Can I do that? Yes, with one caveat: your built Clicks must have unique versions. Wait, that's a "no", isn't it? Well, indeed. But here's the technique: with some configurations, you can build your application twice using the same code, and still get a different versions out of it. Here's the way I do it: Make manifest.json a "build-time configured file". Then, add a build-time flag to define a suffix to the version of the Click. In your build scripts/CI configuration, build your app twice, varying CLICKABLE_FRAMEWORK. This might be multiplied by architectures, so in practice you might build your apps 6 times. In clickable.yaml, set the Click's version suffix based on the ${SDK_FRAMEWORK} environment variable, which Clickable will set to the framework you defined earlier. Note that shell's command substitution/variable expansion is available for you, so you can modify this variable further. Make sure you leave "framework" in manifest.json as "@CLICK_FRAMEWORK@", and your "policy_version" in AppArmor manifest(s) as "@APPARMOR_POLICY@". This allows Clickable to fill in the appropriate values. For a concrete example, see this lomiri-calendar-app MR. Fun fact: Click package's version is not limited to just "major.minor.patch" format. Rather, it allows a full range of Debian package's version, including alphanumeric, ~, + and -. So you can include them in the version to help distinguish Git builds, Ubuntu Touch versions, and more. My app currently doesn't build against 24.04-1.x. The version built against 20.04 doesn't start on 24.04-1.x due to missing libraries. I'm currently short on time. Is there a workaround? There is one, indeed. Clickable has a feature to include libraries from the build environment into your Click (similar to Snapcraft's parts.<part-name>.stage). To do so, add the library names in the install-lib key of clickable.yml. install_lib: - libasound.so* When your application is launched, system will make sure that your Click's library is added into LD_LIBRARY_PATH environment variable, which will make your app look into your Click first for any library it wants. Note, however, that if you do this, you will want to make sure that the library you included is not actually depended on by one of the system library but under a different "soversion" [^2]. This is because 2 different soversions of the same library can have the same symbols; in that case, it's not guaranteed which version of the symbol will be used, and the behavior will be undefined [^3]. One way to check this is to install your Click on a 24.04-1.x device, then run: LD_LIBRARY_PATH=/opt/click.ubuntu.com/<Click id>/current/lib/* \ ldd /opt/click.ubuntu.com/<Click id>/current/<your app binary> | less Then, inspect the output to make sure the same library with different "soversion" does not appear twice e.g. make sure libwebp.so.6 and libwebp.so.7 does not appear together. (The exception to this rule is libicu*.so; ICU allows linking multiple versions of itself into one process by make sure all symbols have the version number appended. See ICU4C documentation.) [^2]: "soversion" is the first version number after .so in the file name. For example, if a library has a file name libcurl.so.4, its "soversion" is 4. [^3]: my understanding of the Click framework contract is that, if a library does not appear in sdk-libs or sdk-libs-dev, then you're supposed to bundle it in the Click package. However, due to this "soversion" clashing issue, I'm not sure this is the right approach to this problem... I hope this post answers some of your questions and ease a migration of your apps to 24.04-1.x. If you have any question, feel free to leave a reply to this post and I'll try to answer them as best as I can.
  • Porting Ubuntu Touch to new devices

    484 主題
    4k 貼文
    J
    @techwryte said in using Ubuntu Touch as o/s for IoT devices with RPi/Rockchip: Currently Debian with XFCE works, but it is clumsy to use. @techwryte said in using Ubuntu Touch as o/s for IoT devices with RPi/Rockchip: Debian+Mobile DE would be ideal - unfortunately not that literate to know how to go about it in a way that we can create and deploy in production and maintain/update it in a consistent way So if Debian works, but the desktop environment (XFCE) is to clumsy, it would maybe be the easiest and quickest solution to try out Debian+Gnome, before porting Ubuntu Touch or going for Ubuntu+Miriway (even if porting Ubuntu Touch or choosing Ubuntu+Miriway sounds much more exciting). It should be no problem to install Gnome onto your existing Debian system. You can also start Gnome in X11 mode, if Wayland is not suitable for your software. Additionally "touchegg" is often recommended online, for touch gestures under X11, but I never have tried it out. With the Gnome software center, you would also get graphical update notifications like you would get under Ubuntu, if you mean this with "maintain/update it in a consistent way". For automatic installation of security updates, you could also check out "unattended-upgrades". A specific mobile DE, you could also look into, is Phosh. But it will probably not work with your remote access software.
  • Lomiri, the operating environment for everywhere

    68 主題
    575 貼文
    K
    @developerbayman Sorry, QML of what?
  • Discussion on translating Ubuntu Touch and its core apps

    59 主題
    329 貼文
    B
    @Vlad-Nirky Thank you. Done.
  • A place to discuss ideas for promoting Ubuntu Touch

    56 主題
    716 貼文
    LakotaubpL
    @Jules We are aware of this and we are having a good look at it.
  • Other Projects

    Projects which are started by a group within the UBports community

    68 主題
    390 貼文
    K
    @Alain Oh wait, so you haven't unlocked the bootloader yet earlier? I assume only the toggle in Android?
  • For things that just don't fit in the other categories.

    835 主題
    5k 貼文
    LuksusL
    @musicologist you can also try MirVNCServer App, connect with vnc client from PC and record it there. But I am not sure about audio...