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

    Does /home/phablet/.local get overwritten with updates?

    Scheduled Pinned Locked Moved Solved Support
    7 Posts 5 Posters 1.1k Views 3 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.
    • M Offline
      MajesticFudgie
      last edited by

      I've found a possible solution for myself to install applications without needing to change the read only permissions on the rootfs of Ubuntu Touch.

      The solution I'm using is copying the executables from the Libertine containers rootfs to "/home/phablet/.local/bin" which has allowed me to use git and htop without having to do anything to my installation.

      The question remains, would this persist through updates or is .local cleared when updating OTA?

      If not, this may be a good solution to get git, htop and similar working. Obviously this excludes anything that requires X11 support but allows terminal applications to run. Is there any obvious drawbacks?

      arubislanderA D 2 Replies Last reply Reply Quote 1
      • arubislanderA Offline
        arubislander @MajesticFudgie
        last edited by arubislander

        @majesticfudgie /home/phablet/.local does not get overwritten by updates, nor anything else truly in your /home/phablet folder

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        JingPad (24.04-1.x daily)
        OnePlus Nord N10 5G (24.04-2.x daily)
        PinePhone OG (20.04)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 1
        • M Offline
          MajesticFudgie
          last edited by

          Ah, thanks for clarifying.

          Any thoughts on my above approaches to get git and other terminal applications running under the main shell?

          Are there any obvious issues?

          1 Reply Last reply Reply Quote 0
          • jezekJ Offline
            jezek
            last edited by

            @MajesticFudgie Try reading this: https://forums.ubports.com/topic/6283/snap-crackle-and-pop-readwrite-rootfs-is-overrated

            jEzEk

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

              @majesticfudgie said in Does /home/phablet/.local get overwritten with updates?:

              I've found a possible solution for myself to install applications without needing to change the read only permissions on the rootfs of Ubuntu Touch.

              The solution I'm using is copying the executables from the Libertine containers rootfs to "/home/phablet/.local/bin" which has allowed me to use git and htop without having to do anything to my installation.

              In the past I've set PATH to include the folders in the libertine container, without having to copy anything around. didn't notice any issues from it

              1 Reply Last reply Reply Quote 1
              • M MajesticFudgie has marked this topic as solved on
              • M Offline
                MajesticFudgie
                last edited by

                Thanks for the feedback.
                I may have just shelled out Β£60 on a Google Pixel 2 XL ;D
                I'll be trying Crackle with that πŸ˜›

                N 1 Reply Last reply Reply Quote 1
                • N Offline
                  nero355 @MajesticFudgie
                  last edited by

                  @majesticfudgie
                  People over here are asking € 120 for the same phone! 😞

                  Time for some gambling and bidding half of that! πŸ˜„

                  My phones :

                  • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                  • ZUK Z2 Pro - ZUI Android 8.x
                  • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                  P.S. : I am NOT a developer! ;)

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better πŸ’—

                  Register Login
                  • First post
                    Last post