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

    lomiri-system-settings

    Scheduled Pinned Locked Moved OS
    21 Posts 3 Posters 3.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.
      • N Offline
        nibzy26 @lduboeuf
        last edited by

        @lduboeuf Thanks

        Actually I used the native option and not the arm64 because I wanted to test my changes locally on the PC before making a deb package for the phone.
        So I guess the flow would be

        make changes locally ,
        build amd64 package
        install and run it in chroot environment (if its possible )
        once happy with the changes build a deb package for the phone

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          nibzy26 @nibzy26
          last edited by nibzy26

          I tried to do dpkg -i lomiri-system-settings_1.0.2_amd64.deb
          and it complained about missing dependency packages which were under depends: section in the control file like
          Depends:
          accountsservice,
          accountsservice-ubuntu-schemas (>= 0.0.7),
          bluez (>= 5.23),
          click | ubuntu-snappy-cli,

          I thought these required packages are automatically installed in chroot during build process No ?

          the goal is to test my changes locally first

          lduboeufL 1 Reply Last reply Reply Quote 0
          • lduboeufL Offline
            lduboeuf @nibzy26
            last edited by

            @nibzy26 said in lomiri-system-settings:

            I tried to do dpkg -i lomiri-system-settings_1.0.2_amd64.deb
            and it complained about missing dependency packages which were under depends: section in the control file like
            Depends:
            accountsservice,
            accountsservice-ubuntu-schemas (>= 0.0.7),
            bluez (>= 5.23),
            click | ubuntu-snappy-cli,

            I thought these required packages are automatically installed in chroot during build process No ?

            the goal is to test my changes locally first

            humm, you don't start with the easiest thing πŸ™‚

            If you start trying to install that package on your host, you will end up installing the whole UT :).
            Not and easy way.

            For lomiri system settings, there are not plenty of way.
            Either build and install on your device or maybe use the PDK https://github.com/ubports/ubports-pdk ( i never tried that personnaly )

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nibzy26 @lduboeuf
              last edited by

              @lduboeuf Thanks

              Actually I tried to install it in chroot environment not directly on my host and it complained about missing dependencies.
              Is this not the right way to do ? as the title of this link
              https://docs.ubports.com/en/latest/systemdev/testing-locally.html
              says "making changes and testing them locally "

              lduboeufL 1 Reply Last reply Reply Quote 0
              • lduboeufL Offline
                lduboeuf @nibzy26
                last edited by

                @nibzy26 maybe there is a way to auto install dependencies via dpkg, idk.
                btw how will you test UI in your build environment ?

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  nibzy26 @lduboeuf
                  last edited by

                  @lduboeuf Thanks

                  well I dont have any answers at the moment just questions πŸ™‚
                  I though this lomiri system settings will be a stand alone app with just the UI and no hardware/device connection .
                  Actually I just want to change the background ,foreground colors and some icons only so just cosmetics changes and dont intend to change functionality

                  lduboeufL 2 Replies Last reply Reply Quote 0
                  • lduboeufL Offline
                    lduboeuf @nibzy26
                    last edited by

                    @nibzy26 said in lomiri-system-settings:

                    @lduboeuf Thanks

                    well I dont have any answers at the moment just questions πŸ™‚
                    I though this lomiri system settings will be a stand alone app with just the UI and no hardware/device connection .

                    It loads all settings plugins and have some shared QML components in

                    Actually I just want to change the background ,foreground colors and some icons only so just cosmetics changes and dont intend to change functionality

                    colors and icon are defined in Theme, which is system wide. system settings use default ones. You can still hardcore colors of course for your own playground.

                    1 Reply Last reply Reply Quote 0
                    • lduboeufL Offline
                      lduboeuf @nibzy26
                      last edited by

                      @nibzy26

                      I personally use Crossbuilder, but i test it directly on the device, not able to test anything on local host for UI things for that kind of app.

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        nibzy26 @lduboeuf
                        last edited by nibzy26

                        @lduboeuf

                        Thanks. lets see what I can accomplish under the circumstances.
                        I am running the pdk VM now and as first step I am just trying to transfer files from my host pc and the pdk VM.
                        so trying to get ssh and scp commands to work. what is the ip address of the VM ??. I can see two interfaces like

                        ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                        inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
                        inet6 fec0::71ee:d2dc:6283:2b08 prefixlen 64 scopeid 0x40<site>
                        inet6 fe80::e294:f17d:2325:bfc3 prefixlen 64 scopeid 0x20<link>
                        inet6 fec0::13fc:fa48:cc7f:13ea prefixlen 64 scopeid 0x40<site>
                        ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet)
                        RX packets 73912 bytes 107573944 (107.5 MB)
                        RX errors 0 dropped 50 overruns 0 frame 0
                        TX packets 10300 bytes 612779 (612.7 KB)
                        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 50634

                        lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
                        inet 127.0.0.1 netmask 255.0.0.0
                        inet6 ::1 prefixlen 128 scopeid 0x10<host>
                        loop txqueuelen 1000 (Local Loopback)
                        RX packets 290 bytes 24209 (24.2 KB)
                        RX errors 0 dropped 0 overruns 0 frame 0
                        TX packets 290 bytes 24209 (24.2 KB)
                        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                        lxcbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
                        inet 10.0.3.1 netmask 255.255.255.0 broadcast 10.0.3.255
                        ether 00:16:3e:00:00:00 txqueuelen 1000 (Ethernet)
                        RX packets 0 bytes 0 (0.0 B)
                        RX errors 0 dropped 0 overruns 0 frame 0
                        TX packets 0 bytes 0 (0.0 B)
                        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                        phablet@ubuntu-phablet:/pdk/sources$

                        arubislanderA 1 Reply Last reply Reply Quote 0
                        • arubislanderA Offline
                          arubislander @nibzy26
                          last edited by

                          @nibzy26 if I recall correctly the pdk shows up as a device of you do adb devices on your host with the pdk running.

                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                          Happily running Ubuntu Touch
                          Google Pixel 3a (20.04 DEV)
                          JingPad (24.04 preview)
                          Meizu Pro 5 (16.04 DEV)

                          N 1 Reply Last reply Reply Quote 0
                          • N Offline
                            nibzy26 @arubislander
                            last edited by

                            @arubislander Thanks

                            Yes I can see it .
                            So I guess I can use adb shell and setup ssh using ssh keys as per the documentation
                            https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

                            N 1 Reply Last reply Reply Quote 0
                            • N Offline
                              nibzy26 @nibzy26
                              last edited by nibzy26

                              okay I managed to build the lomiri-systems-settings-1.0.2.deb package and installed it.
                              Now for some reason I cant open any of the apps like calculator, phone, system-settings when i click on them inside the VM ?
                              wonder whats wrong
                              I have restarted the VM but still cant run any app

                              Note: It was not building the systems-settings package and was complaining about these packages
                              libqt5quick5-gles
                              libqt5gui5-gles

                              so I removed these packages and it built fine.

                              Question#2: Can we run this pdk VM inside another Ubuntu VM ?

                              N 1 Reply Last reply Reply Quote 0
                              • N Offline
                                nibzy26 @nibzy26
                                last edited by

                                It seems that these packages have conflict
                                libqt5quick5-gles with libqt5quick5
                                libqt5gui5-gles with libqt5gui5

                                N 1 Reply Last reply Reply Quote 0
                                • N Offline
                                  nibzy26 @nibzy26
                                  last edited by

                                  Can i edit files directly on the phone ?
                                  I checked under /usr/share/lomiri-system-settings
                                  some files are present in qml-plugin but some src files are not there ?

                                  N 1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nibzy26 @nibzy26
                                    last edited by

                                    @lduboeuf

                                    I am using crossbuilder t omake deb packages of lomirisystem-settings it built the packages but having issues installing it on ubports-pdk VM for testing
                                    where can i specify my own version of the package
                                    currently version 1.0.2+ is installed

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post