UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Gently setup a Libertine container and some applications

    Scheduled Pinned Locked Moved Libertine
    12 Posts 4 Posters 2.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • Pulsar33P Offline
        Pulsar33
        last edited by Pulsar33

        This is a following of a @ublique request in Administering the router and firewall on your phone while usb tethering ...

        @ublique said :
        So @pulsar33 could you briefly outline the steps for an average linux user to get your Libertine container set up and working? Anything would be helpful.

        After some disappointments following the documentation about the shell commands with OTA-18, I came to the following :

        My best suggest is to use the Preferences/Libertine GUI as many as possible. In order to succeed, my second suggest is to always look at the messages scrolling during the installation. The spinning wheel only says that it is not ended but can let think that something was wrong. Often, it is just not ended and we are too impatient.

        As it was my spare BQ E5, I was able to reinstall it freshly and I suggest to do so if you can (save your data if needed). At the very least, if you have a container in the GUI, remove it to (try to) avoid any residual problem. Swipe the name of the container to the right and hit the "trashcan". When you see "Get started" create a new container and let it do its job. To see what's happening, swipe the container name to the left and hit "information" then "view" if necessary and go down to see the log. Wait until completion ...!

        Once it's over, the GUI shows the name that you proposed but you have now a clean container named "xenial". The name you proposed is ignored, as well as the root password if you defined it (I'm not sure). Here is your new container :
        root folder : ~/.cache/libertine-container/xenial/rootfs/
        data folder : ~/.local/share/libertine-container/user-data/xenial/

        You must be aware that you are running applications as root, but inside the container, except for some home folders.

        Install for example gnome-system-monitor (good tool to see what's happening on you phone). Hit the spinning wheel to see the log as above and wait until completion ...!

        At this time, I don't think that Libertine Tweak Tool is usefull and I suspect that changing the dpi has a bad impact on the sensitivity of widgets in the right part of the screen. see comments here
        According to me, you should preferably set the font to the right size in each software you install (this option generally exists).

        Here is the list of what I've installed after gnome-system-monitor. All this works despite a few drawbacks.

        • hardinfo
        • pcmanfm (FM)
        • lxterminal (term) : some problems with software and bluetooth keyboards
        • libtls-padding0 (for error message in terminal)
        • gedit
        • pkg-config (before the libraries !)
        • libgtk-3-dev
        • libxml2-dev
        • my CheckLog source code => compiled and linked OK => running
        • net-tools
        • nmap
        • curl
        • host

        If you compile your code from your source, you can put the launcher in :
        /home/phablet/.cache/libertine-container/xenial/rootfs/usr/share/applications/ and in
        /userdata/user-data/phablet/.cache/libertine-container/xenial/rootfs/usr/share/applications/

        Keyboard :
        it is better to remove the automatic correction in the general keyboard settings. When using a Bluetooth keyboard, it is also better to disable the software keyboard

        Windowed mode if you don't have UTTT :
        In the UBtouch Terminal (not in Libertine), type :
        gsettings set com.canonical.Unity8 usage-mode Windowed
        gsettings set com.canonical.Unity8 launcher-width 6
        gsettings set com.canonical.Unity8 autohide-launcher true

        Can launch but unusable or quite :
        nemo (FM), emelFM2 (FM), spacefm (FM), caja (FM), Xfe (FM), Xfe-i18n (FM), gentoo (FM), scite (edit), xterm (term), sakura (term), gpsprune, gpsbabel ...

        Doesn't launch :
        htop, gnome-terminal, freeplane, filezilla, fs-uae, thunar (FM), pcmanfm-qt (FM), Konsole (term), Terminator (term), xsensors

        Doesn't install :
        Konqueror (FM), Dolphin (FM), Polo (FM), Pantheon (FM), 4pane (FM), fman (FM), peazip (FM)
        Wireshark (NPA) is a special case. When installing from the GUI, the process asks a question and you can't answer it, unfortunately. So the installation process never ends. And if you try to install it otherwise, you can't create the Wireshark group that is required for it to work. it's really a shame.

        Here is another list of applications published by @TotalSonic in Running desktop applications on UBTouch

        I hope all this will be usefull and without (too many) errors !
        BR
        Pulsar33

        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

        D Pulsar33P 2 Replies Last reply Reply Quote 3
        • D Offline
          doniks @Pulsar33
          last edited by

          @pulsar33 said in Gently setup a Libertine container and some applications:

          Konqueror (FM), Dolphin (FM), Polo (FM), Pantheon (FM), 4pane (FM), fman (FM), peazip (FM)
          Wireshark (NPA) is a special case. When installin

          What does FM and NPA mean?

          Pulsar33P 1 Reply Last reply Reply Quote 0
          • Pulsar33P Offline
            Pulsar33 @doniks
            last edited by

            @doniks
            FM = FileManager
            NPA = Network Protocol Analyser

            BR
            Pulsar33

            PS : readers are encouraged to tell us their own experience in this thread, but please try to be synthetic and avoid detailing bugs (if any) in depth here.

            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

            E 1 Reply Last reply Reply Quote 1
            • E Offline
              Emphrath @Pulsar33
              last edited by

              @pulsar33 you can install htop from the openstore, so you know

              Pulsar33P MoemM 2 Replies Last reply Reply Quote 0
              • Pulsar33P Offline
                Pulsar33 @Emphrath
                last edited by

                @emphrath : thank you
                But my goal was to experiment Libertine capabilities ... So that's it
                BR
                Pulsar33

                Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                1 Reply Last reply Reply Quote 0
                • MoemM Offline
                  Moem @Emphrath
                  last edited by

                  @emphrath said in Gently setup a Libertine container and some applications:

                  @pulsar33 you can install htop from the openstore, so you know

                  Is that so? I can't find it there.

                  Is currently using an Op5t
                  Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                  1 Reply Last reply Reply Quote 0
                  • Pulsar33P Pulsar33 referenced this topic on
                  • Pulsar33P Pulsar33 referenced this topic on
                  • Pulsar33P Pulsar33 referenced this topic on
                  • Pulsar33P Pulsar33 referenced this topic on
                  • Pulsar33P Pulsar33 referenced this topic on
                  • Pulsar33P Pulsar33 referenced this topic on
                  • D Offline
                    doniks
                    last edited by

                    @pulsar33 said in Gently setup a Libertine container and some applications:

                    At this time, I don't think that Libertine Tweak Tool is usefull and I suspect that changing the dpi has a bad impact on the sensitivity of widgets in the right part of the screen.

                    could you elaborate?

                    1 Reply Last reply Reply Quote 0
                    • Pulsar33P Offline
                      Pulsar33 @Pulsar33
                      last edited by Pulsar33

                      @pulsar33 said in Gently setup a Libertine container and some applications:

                      At this time, I don't think that Libertine Tweak Tool is usefull and I suspect that changing the dpi has a bad impact on the sensitivity of widgets in the right part of the screen. According to me, you should preferably set the font to the right size in each software you install (this option generally exists).

                      @doniks AFAI Remember, during my early tests of Libertine, I used the dpi settings to increase the readability of some applications (term, ...). At this time, I noticed that some graphical applications had a non sensitive area in the right of the screen. It seemed to me that modifying the dpi with LTT had a bad impact on the size of this area. But I'm not very sure and I gave up quickly with the DPI setting, trying to set the font size separately in each concerned application

                      BR
                      Pulsar33

                      Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                      Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                      Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                      D 1 Reply Last reply Reply Quote 1
                      • D Offline
                        doniks @Pulsar33
                        last edited by

                        @pulsar33 do you happen to remember a specific application, device (screen size&resolution) and dpi value that would be handy for retesting?

                        Pulsar33P 3 Replies Last reply Reply Quote 0
                        • Pulsar33P Offline
                          Pulsar33 @doniks
                          last edited by

                          @doniks Hello
                          Will try to experiment again and go back here but don't know when ...
                          BR
                          Pulsar33 (overbooked)

                          Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                          Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                          Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                          1 Reply Last reply Reply Quote 1
                          • Pulsar33P Offline
                            Pulsar33 @doniks
                            last edited by

                            @doniks sorry for the delay, I was far away from home for 3 weeks ...
                            I don't forget you
                            BR
                            Pulsar33

                            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                            1 Reply Last reply Reply Quote 1
                            • Pulsar33P Offline
                              Pulsar33 @doniks
                              last edited by

                              @doniks snapshots are done and commented.
                              I have now to explain with some words. Trying to do that tomorrow
                              BR
                              Pulsar33

                              Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                              Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                              Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                              1 Reply Last reply Reply Quote 0
                              • Pulsar33P Pulsar33 referenced this topic on
                              • First post
                                Last post