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

Libertine tested apps, hacks, tips and tricks

Scheduled Pinned Locked Moved Libertine
25 Posts 12 Posters 9.5k Views 7 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.
    • F Offline
      FakeShell @FakeShell
      last edited by FakeShell 3 Nov 2022, 14:34 10 Mar 2022, 12:20

      Well it looks like i cannot edit my own post so I'm gonna post updates in posts.
      First off
      The "Fixes that i found for various issues:" must be executed in:

      libertine-container-manager exec -i xenial -c bash
      

      The ones that are needed to fix applications not working for example terminator package or wireshark one must be ran in:

      libertine-launch -i xenial bash
      

      I can also confirm that the following apps work fine in libertine:
      mypaint
      evince
      xournal
      gthumb
      gtick
      abiword
      medit
      hardinfo

      Also there is a little alias i use which i wanted to share with yall:
      open ~/.bashrc in terminal app and add the following in:

      nano ~/.bashrc
      alias libertine-shell='libertine-launch -i xenial bash'
      

      then save and edit

      source ~/.bashrc
      

      Now to access libertine shell from terminal app or ssh or adb, the commnad libertine-shell can be used.

      When inside the container, to use dpkg or apt to install / upgrade packages you can use the 'fakeroot' command to get a fake uid 0 as root doesn't exist in the container (it's an unprivileged container after all)

      these two fixes are required for this to work properly:

      echo "phablet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
      
      awk '{gsub("geoclue geoclue 755 /var/lib/geoclue", "");print}' /var/lib/dpkg/statoverride > /var/lib/dpkg/statoverride && awk '{gsub("root ssl-cert 710 /etc/ssl/private", "");print}' /var/lib/dpkg/statoverride > /var/lib/dpkg/statoverride && sed -i -E '/^$/d' /var/lib/dpkg/statoverride 
      

      I also setup an alias from 'fakeroot' to 'su' as su is useless in an unprivileged container.

      Get phablet shell from libertine: libertine-launch -i xenial bash (or libertine-shell if you also setup the alias for that) and open ~/.bashrc

      nano ~/.bashrc
      

      put the following in:

      alias su='fakeroot'
      

      save and exit

      This will also fix a few issues in apps that require pkexec or gksu (I have absolutely no idea why but it does so lets roll with that)

      You can copy your hosts (UT) bashrc file before setting the aliases up using the Libertine Tweak Tool

      I was also thinking to ask the Libertine Tweak Tool developer and maintainer to add some of these fixes into the app.
      So that might happen in some time.... (maybe)

      D 1 Reply Last reply 14 Mar 2022, 08:44 Reply Quote 0
      • F Offline
        Fuseteam @FakeShell
        last edited by 10 Mar 2022, 15:54

        @fakeshell yeah no easy task, and we'll migrate to systemd anyway xd

        1 Reply Last reply Reply Quote 0
        • F Offline
          FakeShell
          last edited by FakeShell 3 Nov 2022, 14:45 11 Mar 2022, 14:25

          Apps that run fine:
          file-roller
          rhythmbox
          easytag
          parole
          totem
          banshee
          xine-ui (must be opened from a terminal)
          snappy (must be opened from a terminal)
          brasero
          putty (must be opened from a terminal if its opened from app drawer it will crash after starting a ssh or telnet session)

          Apps that run but broken:
          evolution (broken on touch screens must use a keyboard and mouse)

          Working with manual steps:
          mplayer: first off these packages must be installed: mplayer mplayer-gui first get a root shell from libertiine: libertine-container-manager exec -i xenial -c bash
          then execute the following the commands:

          apt install wget -y
          wget https://launchpad.net/~mc3man/+archive/ubuntu/mplay-skins/+files/mplayer-skins_3.2.1~xenial_all.deb
          rm -rf /usr/share/mplayer/skins/default
          rm /usr/share/doc/mplayer-skins/copyright
          dpkg -i mplayer-skins_3.2.1~xenial_all.deb
          

          Also mplayer can only be launched from a terminal app
          so to remove the mplayer icon from app drawer this command can be used:

          rm /usr/share/applications/mplayer.desktop
          

          There is also a fix for apt "No sandbox user '_apt' on the system, can not drop privileges" (use at your own risk)

          On your host run the following command:

          sudo echo "_apt:x:104:65534::/nonexistent:/bin/false" >> /etc/passwd
          sudo echo "_apt:*:19056:0:99999:7:::" >> /etc/shadow
          
          1 Reply Last reply Reply Quote 1
          • P Offline
            Pulsar33
            last edited by Pulsar33 3 Dec 2022, 07:00 12 Mar 2022, 06:58

            Hello,
            For your information, related threads in Libertine sub-forum :
            https://forums.ubports.com/post/57032
            https://forums.ubports.com/post/53546
            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
            • P Offline
              Pulsar33
              last edited by Pulsar33 3 Dec 2022, 10:28 12 Mar 2022, 10:25

              Attempt to summarize the tests (click on pictures to see in full size)
              Highlighted in Yellow : not identical result
              Highlighted in Blue : I should try to ajust according to your tips
              Nota : FM = File Manager, NPA = Network Protocol Analyser, Term = Terminal

              Libertine - OK.png

              Libertine - Adjust or KO.png

              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)

              F 1 Reply Last reply 12 Mar 2022, 10:50 Reply Quote 1
              • F Offline
                FakeShell @Pulsar33
                last edited by 12 Mar 2022, 10:50

                @pulsar33
                Oh great
                good job.

                F 1 Reply Last reply 12 Mar 2022, 20:37 Reply Quote 0
                • F Offline
                  FakeShell @FakeShell
                  last edited by FakeShell 12 Mar 2022, 20:37

                  Ayyy a new update to the thread:

                  Works fine:
                  zenmap
                  atril
                  qalculate
                  liferea
                  deluge (must be opened from a terminal)
                  synaptic (must be opened from a terminal)
                  mate-utils (contains a dictionary, screenshot tool (useless), log file viewer disk usage tool(useless and shows wrong values), search tool)
                  artha
                  gnome-dictionary
                  wordnet (wordnet-gui) only works with mouse and keyboard
                  xfce4-dict
                  gftp
                  gnome-commander
                  kodi

                  Working with manual steps:
                  bashtop terminal app (top and htop don't work in libertine but bashtop does! strange... bash 4.4 must be compiled and installed manually)
                  To compile bash 4.4 execute the following commands
                  First get a libertine root shell:
                  libertine-container-manager exec -i xenial -c bash
                  Then execute the following commands:

                  apt update && apt install wget -y && wget https://ftp.gnu.org/gnu/bash/bash-4.4.tar.gz && tar xf bash-4.4.tar.gz && cd bash-4.4 && ./configure && make && make install
                  

                  then exit out and of libertine and get libertine shell but this time from phablet user:
                  libertine-launch -i xenial bash

                  apt update && apt install git software-properties-common -y && git clone https://github.com/aristocratos/bashtop.git && cd bashtop && make && make install

                  inkscape:
                  apt update && apt install software-properties-common -y && add-apt-repository ppa:inkscape.dev/stable && apt update && apt install inkscape -y

                  Runs but broken:
                  gnome-weather (must be opened from a terminal but even then location cannot be selected)

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    doniks @FakeShell
                    last edited by 14 Mar 2022, 08:44

                    @fakeshell said in Libertine tested apps, hacks, tips and tricks:

                    I was also thinking to ask the Libertine Tweak Tool developer and maintainer to add some of these fixes into the app.
                    So that might happen in some time.... (maybe)

                    Awesome ๐Ÿ˜‰

                    F 1 Reply Last reply 14 Mar 2022, 09:59 Reply Quote 0
                    • F Offline
                      FakeShell @doniks
                      last edited by 14 Mar 2022, 09:59

                      @doniks Oh yeah whats up
                      I was actually looking for you in Telegram and couldn't find you
                      Good to see you here
                      So what do you think?
                      I can give you some explanation of every command that i added if you want.

                      D 1 Reply Last reply 14 Mar 2022, 17:46 Reply Quote 0
                      • D Offline
                        doniks @FakeShell
                        last edited by 14 Mar 2022, 17:46

                        @fakeshell cool. Yeah. I immediately start proactively worrying about: not having the time to implement it, or the clunky architecture or the UI design of LTT crumbling under too many features ๐Ÿ˜‚ But, well, those are good problems to have.

                        Happy to talk here, or another thread, or LTT issue, or TG (dohniks), or wherever. Maybe the fixes you have could make sense in LTT, but frankly from scrolling through them, I can't see what they fix.

                        1 Reply Last reply Reply Quote 0
                        • F FakeShell referenced this topic on 15 Mar 2022, 21:01
                        • J Offline
                          Jite
                          last edited by 2 Oct 2022, 12:02

                          Hello Fakeshell, I can see that you have posted that you got kodi working ok. Did you manage to enable 3rd party add ons? Whenever I try to โ€˜add sourceโ€™ the dialog box does not seem to pop up. Not certain if it is because I have not gone through the whole process of giving sudo privileges within the libertine container...

                          Btw this is running ubuntu touch on a pixel 3a xl

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fungie
                            last edited by fungie 10 Feb 2022, 13:53 2 Oct 2022, 13:45

                            I got libpurple with the purple-facebook plugin working. I found both arm version on the web.
                            I can't remember correctly, but i think it was possible to to set an update period. However there were instant notifications when someone went online/offline. The notification was displayed system wide when the app was running in the background.

                            It was necessary to rearrange the ui elements with a preinstalled plugin.

                            There is also some sort of plugin which can resize the ui. I think it was installed but some modification to some files had to be done, but i didn't even found the directory and the libertine container also broke.

                            There is also a purple whatsapp plugin but i didnt manage to archive anything.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              David F
                              last edited by Moem 26 Feb 2023, 13:29

                              I'm new here, so apologies if I should have made a new topic.
                              Thanks for this great list of desktop apps to try.
                              I'm trying to get Signal-desktop to work in a Libertine container, on my Vollaphone, running UTouch 16.04 I tried Axolotl from the open store, without success.
                              I"ve managed to get Banshee working in a container, and I saw these install instructions on the Signal website.
                              Is it possible to add the package directories to a libertine container, as described in these intructions, using the key? I saw there is the option to add package directories in Libertine container manager.
                              Many thanks,
                              David

                              https://www.signal.org/download/linux/
                              Signal for Debian-based Distros

                              NOTE: These instructions only work for 64 bit Debian-based Linux distributions such as Ubuntu, Mint etc.

                              1. Install our official public software signing key

                              wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg```
                              cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null

                              2. Add our repository to your list of repositories

                              echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |
                              sudo tee -a /etc/apt/sources.list.d/signal-xenial.list

                              3. Update your package database and install signal

                              sudo apt update && sudo apt install signal-desktop

                              I N 2 Replies Last reply 5 Mar 2023, 21:58 Reply Quote 0
                              • I Offline
                                idj @David F
                                last edited by idj 3 May 2023, 22:23 5 Mar 2023, 21:58

                                Hello everyone.
                                I'm trying to use some Apps, but they halt at the load screen.
                                These are:

                                • htrraqt
                                • qbittorrent
                                • umbrello
                                • dia (crashes)

                                I just hope a workaround exists, like the one with dbus-launch explained earlier. Edit: the problem with the first 3 Apps is related to xcb QT platform, I discovered running from terminal. How can I solve?

                                Thanks for any help.
                                Have a nice day ๐Ÿ˜ƒ

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  carrabelloy
                                  last edited by 10 Mar 2023, 06:02

                                  I don't know if this is set quite right by me. For one thing, I'm writing and translating via DeepL. I still hope to learn some information about Libertine Tweak Tools. I find unfortunately too little at information also videos to it. As you goes and whether I on my PF4 what I have flashed on Ubuntu Touch, with Libertine me apps that I am missing. Alone from open source as for one so as Mastodon further from the Federivers is possible. Have flashed the same again under e and have there F-Droid and there I get more apps. Now I would be interested if I can install them with Libertine, so in container on my Ubuntu Touch. Who can tell me something about this? Since I have neither on YouTube or Peertube what found. Which is a pity, because I can and could often help me with this. Therefore, once again, who can help me on this and where the whole thing is explained somewhat understandable. I thank you in advance and apologize if it filed in the wrong area, in the forum.

                                  https://twitter.com/carrabelloy/photo

                                  arubislanderA 1 Reply Last reply 10 Mar 2023, 07:30 Reply Quote 0
                                  • arubislanderA Offline
                                    arubislander @carrabelloy
                                    last edited by arubislander 3 Oct 2023, 07:31 10 Mar 2023, 07:30

                                    @carrabelloy You will not be able to install any Android apps on UT in a Libertine container. You are probably wanting Waydroid for that.

                                    ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                                    Happily running Ubuntu Touch
                                    Google Pixel 3a (20.04 DEV)
                                    JingPad (24.04 preview)
                                    Meizu Pro 5 (16.04 DEV)

                                    C 1 Reply Last reply 11 Mar 2023, 18:40 Reply Quote 0
                                    • C Offline
                                      carrabelloy @arubislander
                                      last edited by 11 Mar 2023, 18:40

                                      @arubislander said in Libertine tested apps, hacks, tips and tricks:

                                      Libertine

                                      Okay but under ubports I just miss APPs. Like as an example element. I know that there is Fluffy, but in encrypted rooms is the end. I also use my own server with websites. And the Fedireserve network. Under F-Droid there is significantly more as under UbPorts..I think that should be maรค reconsidered. Because at postmarketos they seem to go a different way. So I think it can be just as good for ubports. Only wad do I then with Libertine? This is a container function. I thank you for your quick answer.

                                      https://twitter.com/carrabelloy/photo

                                      MoemM arubislanderA 2 Replies Last reply 11 Mar 2023, 19:52 Reply Quote 0
                                      • MoemM Offline
                                        Moem @carrabelloy
                                        last edited by 11 Mar 2023, 19:52

                                        @carrabelloy said in Libertine tested apps, hacks, tips and tricks:

                                        Under F-Droid there is significantly more as under UbPorts..I think that should be maรค reconsidered.

                                        It's not a matter of reconsidering.
                                        UT doesn't natively run .apk apps. There are a lot of those around, so it's not strange that F-droid offers a lot of them... simply because there are a lot of people who use them, and so, also a lot of people who make them.
                                        The number of people who make apps for UT is simply a whole lot smaller.

                                        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.

                                        C 1 Reply Last reply 12 Mar 2023, 01:24 Reply Quote 0
                                        • arubislanderA Offline
                                          arubislander @carrabelloy
                                          last edited by arubislander 3 Dec 2023, 01:26 12 Mar 2023, 01:09

                                          @carrabelloy If you are looking to install Android apps (which is what you get from F-Droid, then try Waydroid.

                                          Libertine is for installing traditional Linux Applications', which in this case means applications packaged as Debs in the Ubuntu Repository of the particular version of the OS. But be advised that not all applications play well with the X11 server Ubuntu Touch provides (XMir on xenial and XWayland on Focal).

                                          ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                                          Happily running Ubuntu Touch
                                          Google Pixel 3a (20.04 DEV)
                                          JingPad (24.04 preview)
                                          Meizu Pro 5 (16.04 DEV)

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            carrabelloy @Moem
                                            last edited by 12 Mar 2023, 01:24

                                            @moem This is perfectly clear to me and should not be a negative portrayal. But to achieve a hearing acceptance, it is better to bundle.so that Ubports gets a better spread. When I tell others why you do not use a Linux phone or I can not get them on it, is mostly the apps. I think the group Postmarketos goes here probably a different way. I also use a lot of things on open-souce myself and use Fediverse a lot. But unfortunately these occur just as little on UBports. That inhibits the whole system. As it is to be evaluated with Linux computers just the same. Although everyone makes a lot of effort. That must be changed finally times. On the one hand, it could bring more programmers to this system, who could bring their inovation to it from app building to basic system. This should all be reconsidered. With wayland, I myself have not yet got behind it. Since I can hardly English and must me everything รผberstzen in both directions. Thank you for your answer.

                                            https://twitter.com/carrabelloy/photo

                                            MoemM 1 Reply Last reply 12 Mar 2023, 09:15 Reply Quote 0
                                            • First post
                                              Last post