• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 546 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 27 Jan 2022, 09:55

      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?

      A D 2 Replies Last reply 27 Jan 2022, 11:08 Reply Quote 1
      • A Offline
        arubislander @MajesticFudgie
        last edited by arubislander 27 Jan 2022, 11:08

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

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        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 1
        • M Offline
          MajesticFudgie
          last edited by 27 Jan 2022, 15:36

          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
          • J Offline
            jezek
            last edited by 27 Jan 2022, 16:02

            @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 27 Jan 2022, 19:16

              @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 27 Jan 2022, 22:49
              • M Offline
                MajesticFudgie
                last edited by 27 Jan 2022, 22:50

                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 28 Jan 2022, 17:14 Reply Quote 1
                • N Offline
                  nero355 @MajesticFudgie
                  last edited by 28 Jan 2022, 17:14

                  @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
                  4 out of 7
                  • First post
                    4/7
                    Last post