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

    Posts

    Recent Best Controversial
    • 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
    • RE: ubports.com at Alexa Traffic Global Rank

      @3arn0wl no alexa.com has statistics for website visitors (popularity of websites), it has been around longer than Amazons Alexa 🙂

      posted in General
      C
      chris
    • RE: Ubuntu Touch Programming Course

      @talkless In my containers I replaced all urls by http://old-releases.ubuntu.com/ubuntu
      also the ports ones
      vivid vivid-security vivid-backports vivid-updates (main / multiverse / restricted / universe) are all included there

      posted in App Development
      C
      chris
    • build oxide

      I'm really new to this, so I have some questions about building oxide:

      • Which branch of https://github.com/ubports/oxide/ is currently used for 15.04 stable (OTA-2) ?
      • do I need to follow the build instructions here https://wiki.ubuntu.com/Oxide/BuildInstructions ?

      my goal would be investigating a bug by doing a modification of the oxide code, and test it on a device (Aquaris 4.5).

      posted in OS
      C
      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: indicator-rotation-lock

      just an update: my battery went empty and after I booted the phone the indicator was back again. (problem gone) Not sure what solved it, maybe the toggle of the rotation lock switch in system settings followed by a reboot...

      posted in Support
      C
      chris
    • RE: indicator-rotation-lock

      the problem is also described here:
      https://lists.launchpad.net/ubuntu-phone/msg22619.html

      posted in Support
      C
      chris
    • indicator-rotation-lock

      From time to time the rotation lock icon disappears from my quick settings. ( a wheel with the text indicator-rotation-lock appears instead)
      A device reboot does not help here.
      I know that some file has to be deleted in a cache or config folder to make it work again. Could someone point me to this ? Thank you !

      posted in Support
      C
      chris
    • RE: GPS on Aquaris 4.5

      the following seems to solve it:

      import QtQuick 2.2
      import QtPositioning 5.2
      import Ubuntu.Components 1.3                                       
                                                                         
      Page {                                                             
          id: positiontestpage                                           
                                                                         
           PositionSource {                                              
                                                                         
          id: geopos
          active: true
         preferredPositioningMethods: PositionSource.SatellitePositioningMethods
      
         onPositionChanged: {
      
         postxt.text = "posupdate: " + geopos.position.timestamp
      }
      
      }
      
      Text {
      id: postxt
      color: "green"
      }
      }
      posted in OS
      C
      chris
    • RE: GPS on Aquaris 4.5

      the following QML Page does show the effect:

      import QtQuick 2.2
      import QtPositioning 5.2
      import Ubuntu.Components 1.3                                       
                                                                         
      Page {                                                             
          id: positiontestpage                                           
                                                                         
           PositionSource {                                              
                                                                         
          id: geopos
          active: true
        
         onPositionChanged: {
      
         postxt.text = "posupdate: " + geopos.position.timestamp
      }
      
      }
      
      Text {
      id: postxt
      color: "green"
      }
      }
      posted in OS
      C
      chris
    • RE: GPS on Aquaris 4.5

      thank you for your responses ! Actually I have been able to do some testing here on vacation, and for me getting a lock takes some minutes, which is OK for me.
      Only for UNav I had some problems that the position sometimes is no longer updated after a few minutes ( there is an open issue that this could happen if other GPS apps are used in parallel).
      I've adopted the app SensorsStatus and put it to OpenStore. With that I have experienced the following: After the connection is found, the GPS position is updated once per second. But that stoppes after 2 to 3 minutes, and then it jumps to ( what I think) AGPS position and no longer updates from GPS.

      posted in OS
      C
      chris