UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. chris
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 22
    • Groups 0

    chris

    @chris

    6
    Reputation
    339
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    chris Unfollow Follow

    Best posts made by chris

    • RE: OTA 3 suggestions: your wanted features

      +1 for updated browser ( possibly better webgl support on aquaris 4.5)
      +1 for nextcloud/owncloud sync of calendar and contacts)
      aethercast for aquaris 4.5 ( also possible in future OTA)

      posted in OS
      C
      chris
    • RE: Updating apps to 16.04

      @doniks
      http://blog.bhdouglass.com/openstore/ubuntu-touch/2018/05/10/openstore-xenial-support.html

      posted in App Development
      C
      chris
    • Build docviewer with libreoffice support for xenial

      while pdf files should already work, it was not yet possible to build a docviewer packages with libreoffice support.
      I wanted to post the steps I already did and the results

      posted in App Development
      C
      chris

    Latest posts made by chris

    • RE: Cannot get root shell in new Libertine container

      @nom
      strange, on xperia x (focal) stable (OTA-3) it worked for me with a new focal container:
      (I used the name focal2 because I have a focal container already)

      phablet@xperia:~$ libertine-container-manager create -i focal2 -t chroot
      ...
      phablet@xperia:~$ libertine-container-manager exec -i focal2 -c "/bin/bash"
      groups: cannot find name for group ID 32011
      I have no name!@xperia:~$ fakeroot
      groups: cannot find name for group ID 32011
      root@xperia:~# apt install nano
      ... (installs without error)
      

      as mentioned in the post the missing id problem is solved by adding extrausers to the first 4 lines of /etc/nsswitch.conf within the container

      passwd:         files systemd extrausers
      group:          files systemd extrausers
      shadow:         files extrausers
      gshadow:        files extrausers
      

      it could be that this only works for libertine containers of type chroot. I've updated the command above accordingly.

      posted in Libertine
      C
      chris
    • RE: Howto : chroot debian with X support instead libertine ubuntu

      @Bouleetbil
      I've seen that with the fakeroot command it is possible to get a root shell for libertine:
      https://forums.ubports.com/topic/8797/libertine-focal-don-t-find-group-id/3?_=1703843158870

      posted in Support
      C
      chris
    • RE: libertine Focal don't find group ID

      @Bouleetbil
      I struggled with getting a root shell as well and tried many things, but suddenly found a quite easy way:
      after logging in to the libertine focal container with

      libertine-container-manager exec -i focal -c "/bin/bash"
      

      type the command "fakeroot" and press return. I could then run apt within the container without the dpkg "requires superuser" errors.

      or it is possible to use the following command to log in to libertine with user root:

      libertine-container-manager exec -i focal -c "/bin/fakeroot"
      

      EDIT: it might only work for libertine containers of type 'chroot'. (-t chroot when creating the container)

      posted in Libertine
      C
      chris
    • RE: Does MS Authenticator work under Waydroid?

      Did you know that the microsoft 2FA can be used with an alternative app as well (https://answers.microsoft.com/en-us/msoffice/forum/all/using-a-different-authenticator-app-for-2fa/9202e8b5-d859-445c-80fa-61c0e04a1ebf) E.g. I'm using authenticator NG for it. As I remember I've manually entered that long token that is included in the mentioned QR code to authenitcator NG and use that app now for microsoft 2FA logins.

      posted in Waydroid
      C
      chris
    • RE: UT is ram-hungry

      a question: do some of you that have only morph open and it uses very much memory use uadblock ? For me (BQ Aquaris 4.5) uadblock (with all lists) added a high memory footprint to morph and webapps for me. https://github.com/ubports/ubuntu-touch/issues/1265 / https://github.com/ubports/morph-browser/issues/263
      Removing the lists / turning uadblock off did not revert the effect for me, only reflashing (and then no longer use uadblock) helped.

      posted in Support
      C
      chris
    • RE: Build docviewer with libreoffice support for xenial

      Yesterday I tried the same for the amd64 clickable container (adding the dependendies manually and run in desktop mode), and got:
      [FILE] Extracting information from the file...
      [FILE] Requested file mime type: QVariant(QString, "application/vnd.oasis.opendocument.text")
      [FILE] Path parsed as: "/tmp/Documents/hello.odt"
      Loading document...
      LibreOffice binaries found at: "/home/chris/git/docviewer-app/build/tmp/lib/x86_64-linux-gnu/libreoffice/program"
      LibreOffice profile path: "file:///tmp/.config/com.ubuntu.docviewer/libreoffice/4"
      Bootstrapping exception 'component context fails to supply singleton com.sun.star.configuration.theDefaultProvider of type com.sun.star.lang.XMultiServiceFactory'
      /home/chris/git/docviewer-app/build/tmp/lib/x86_64-linux-gnu/bin/ubuntu-docviewer-app: line 5: 10 Segmentation fault (core dumped) ubuntu-docviewer-app

      posted in App Development
      C
      chris
    • RE: Build docviewer with libreoffice support for xenial

      Here some screenshots to the steps described in https://github.com/ubports/docviewer-app/pull/25

      If you uncomment the line "#INSTALL( DIRECTORY ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice )" in Click.cmake, you get a click package without libreoffice support (e.g. text and pdf files work).

      If you try to open an odt file, you get the message:
      0_1532933086926_817d8460-f142-4954-8189-316b7e3de512-image.png

      If you add (e.g. in a chroot environment with clickable --container-mode) libreoffice to the dependencies, and put the line " #INSTALL(DIRECTORY /usr/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice )" to the Click.cmake, you get an about 80MB click package.

      Again opening an example odt file, you now get:
      0_1532933299206_8fb63d12-50df-420a-a1eb-1f9e827182fd-image.png

      In the logviewer you see, for example:
      0_1532933418726_278dec83-9e5e-4966-a94e-bb0c58546ec9-image.png

      After adding the missing dependencies, at some point it was no longer complaining, the screen looked like:
      0_1532933511056_3b1ef51b-2db6-440a-a525-bd1897193ea8-image.png

      and the corresponding log:
      qml: Path of the document: /media/phablet/7873-B162/Documents/example.odt
      [FILE] Extracting information from the file...
      [FILE] Requested file mime type: QVariant(QString, "application/vnd.oasis.opendocument.text")
      [FILE] Path parsed as: "/media/phablet/7873-B162/Documents/example.odt"
      Loading document...
      LibreOffice binaries found at: "/opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.docviewer/lib/arm-linux-gnueabihf/libreoffice/program"
      LibreOffice profile path: "file:///home/phablet/.config/com.ubuntu.docviewer/libreoffice/4"
      Document loaded successfully !

      But at that point docviewer crashed. I will not have much time currently to look into that in more detail, but at least that is where I got on Saturday...

      posted in App Development
      C
      chris
    • Build docviewer with libreoffice support for xenial

      while pdf files should already work, it was not yet possible to build a docviewer packages with libreoffice support.
      I wanted to post the steps I already did and the results

      posted in App Development
      C
      chris
    • RE: Updating apps to 16.04

      @doniks
      http://blog.bhdouglass.com/openstore/ubuntu-touch/2018/05/10/openstore-xenial-support.html

      posted in App Development
      C
      chris
    • RE: ubports.com at Alexa Traffic Global Rank

      oh it does even belong to amazon now, that was new to me...

      posted in General
      C
      chris