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

    Customizing Icons

    Scheduled Pinned Locked Moved Google Pixel 3a/3a XL
    61 Posts 12 Posters 12.5k Views 4 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.
      • SalahS Offline
        Salah
        last edited by

        Dear Folks,

        I would to know if there is any way to add icons to UT device where I can create and modify icons without harming the device?

        Thanks.

        " Our Business, Is Life Itself,, "

        • Iphone X => Daily Use
        • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
        • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
        J saveurlinuxS 3 Replies Last reply Reply Quote 0
        • J Offline
          johndoe @Salah
          last edited by johndoe

          @Salah I saw your other post and the "hacky" way with remounting the file system is the way I would do it (https://forums.ubports.com/post/81981).
          I recommend to back up your data and to enable adb shell access, before doing so (you can often still access your device over adb shell, even if the GUI is broken).
          Please be aware that an OTA update could break your device, after you did some hacks, but it is probably unlikely after changing some icons.
          I don't think UT/Lomiri looks for any icons in the home folder (but I could be wrong), so it is either the "hacky" way or someone adds code to the system (pull request on GitLab), that lets Lomiri look for icon packages in a folder like $HOME/.icons/ (similar to what gnome-tweaks does).

          1 Reply Last reply Reply Quote 1
          • J Offline
            johndoe @Salah
            last edited by johndoe

            @Salah Maybe iteresting for hacking your device: All installed applications can be found under: /opt/click.ubuntu.com/
            And the icons of the applications are often under: /opt/click.ubuntu.com/[AppName]/current/assets/

            But if you install a new version of the app, any changes you do here will most likely be gone.

            SalahS 1 Reply Last reply Reply Quote 1
            • SalahS Offline
              Salah @johndoe
              last edited by

              @johndoe Thanks for your reply

              I will check it out. But the golden question is, how to move these files or change them If I can not access file system files, it gives me error or permission denied.

              Could you please tell me how?

              Thanks

              " Our Business, Is Life Itself,, "

              • Iphone X => Daily Use
              • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
              • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
              MrT10001M ikozI 2 Replies Last reply Reply Quote 1
              • MrT10001M Offline
                MrT10001 @Salah
                last edited by

                @Salah To access the file system and change it you have to make the system rewritable. This is not advised as it will break your system. It will also stop future OTA updates.

                Xiaomi Redmi Note 7.... And more...
                I have too many devices...

                IanI 1 Reply Last reply Reply Quote 0
                • IanI Offline
                  Ian @MrT10001
                  last edited by

                  @MrT10001 Or you could make the file system writrable. Make the changes you want and take backup copies to your PC along with a note of where they need to be. Then remount the filesytem as read only.

                  OK the next OTA would probably wipe your changes, but you can put them back from your PC. πŸ€“

                  KenedaK 1 Reply Last reply Reply Quote 1
                  • ikozI Offline
                    ikoz @Salah
                    last edited by ikoz

                    @Salah Another way is to edit the port. In the overlay filesystem replace the images with a symbolic link to the home directory where you should put the files.
                    I know this is a bit overkill, will not persist after updates and is harder, but you don't have to remount the filesystem every time.

                    May the source be with you

                    1 Reply Last reply Reply Quote 0
                    • KenedaK Offline
                      Keneda @Ian
                      last edited by Keneda

                      @Ian
                      As OTA updates only concern files that where modified by Devs since last update, only those files are overwritten.

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                      πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                      1 Reply Last reply Reply Quote 0
                      • MrT10001M Offline
                        MrT10001
                        last edited by

                        You could do all of these things, the caveat would be if you know what you are doing, so you should know the filesystem is not writeable and how to make it so, the risks involved and so on. I could do this so far and I know I would end up having a non-booting device and have to re-install as I am not a developer or even a script kiddie.

                        Xiaomi Redmi Note 7.... And more...
                        I have too many devices...

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          johndoe @MrT10001
                          last edited by johndoe

                          @Salah
                          The others are competly right about the potential risks.
                          But I do not want to discourage you from hacking the device, if you wish to do so and if you know that it could maybe break some things.

                          Put this in the terminal, if you want to have fun hacking and potentialy breaking your device:

                          sudo mount -o rw,remount /
                          
                          KenedaK 1 Reply Last reply Reply Quote 0
                          • KenedaK Offline
                            Keneda @johndoe
                            last edited by

                            @johndoe
                            Or use Ubuntu Touch Tweak Tool ^^

                            2015-2023 : Meizu MX4 ☠️⚰️✝️
                            2023-2024 : Nexus 5 ☠️⚰️✝️
                            2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                            πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                            1 Reply Last reply Reply Quote 1
                            • SalahS Offline
                              Salah
                              last edited by

                              Thank you guys for all your replies

                              I guess I do not wish to brick or screw my device.

                              But FYI, Nokia N900 AKA "The Monster" was and still the best Linux device ever created. Still have it as daily device for calling and texting as well as working around and changing themes & icons in the most easiest way.

                              Hope next update will allow us to change themes & icons as well.

                              It is not a rocket science.

                              in my Laptop I have changed a LOT of icons without breaking it by upcoming updates.

                              Thanks again folks

                              " Our Business, Is Life Itself,, "

                              • Iphone X => Daily Use
                              • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                              • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                              arubislanderA KenedaK 2 Replies Last reply Reply Quote 0
                              • arubislanderA Offline
                                arubislander @Salah
                                last edited by arubislander

                                @Salah said in Customizing Icons:

                                Hope next update will allow us to change themes & icons as well.

                                I wouldn't count on it. Customizability of the look and feel of the OS is not (high) on the agenda for UT.

                                It is not a rocket science.

                                I would have to disagree. Because this is simple to do in some Linux desktop environments does not mean it is simple to implement or to maintain.

                                There are also on the desktop quite a few Linus DE's or Distro's that discourage customization. Elementary OS with their Pantheon DE come to mind. But even Gnome is moving more firmly in this directions.

                                Officially allowing customization represents a bigger QA testing and support burden. This is not something the community can bear at the moment.

                                Having said all of that, there are community members that have dug in and gone all out customizing Lomiri according to their view and liking. One such member even offers a convenient way to install their customizations.

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

                                SalahS 1 Reply Last reply Reply Quote 1
                                • KenedaK Offline
                                  Keneda @Salah
                                  last edited by

                                  @Salah
                                  I don't think changing some icons is the kind of customisation that could break the system πŸ˜‰

                                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                                  2023-2024 : Nexus 5 ☠️⚰️✝️
                                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                                  SalahS 1 Reply Last reply Reply Quote 2
                                  • SalahS Offline
                                    Salah @arubislander
                                    last edited by

                                    @arubislander I see, Thank God I am using Ubuntu Mate which allows customization and freedom of changing appearance as per user's tase.

                                    If Gnome and other distros going to be firm and strict regarding customization and thinking about Q/A. Then what makes difference than using windows 11 or other Mac. with boring UI and boring themes and so.

                                    It is not a burden from my point of view. Check previous Ubuntu and Ubuntu Mate distros and will figure out what I am talking about.

                                    Thanks again.

                                    " Our Business, Is Life Itself,, "

                                    • Iphone X => Daily Use
                                    • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                                    • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                                    arubislanderA AppLeeA 2 Replies Last reply Reply Quote 0
                                    • SalahS Offline
                                      Salah @Keneda
                                      last edited by

                                      @Keneda This is suppose to be as per your saying.

                                      I do not know.

                                      " Our Business, Is Life Itself,, "

                                      • Iphone X => Daily Use
                                      • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                                      • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                                      1 Reply Last reply Reply Quote 0
                                      • arubislanderA Offline
                                        arubislander @Salah
                                        last edited by arubislander

                                        @Salah I have been using Ubuntu since 2004, so I know what you are talking about. I am not saying that one approach is better or worse than another. I am just explaining the differences.

                                        On another note, I downloaded the Papirus icon back onto my Jingpad and copied it to ~/.local/share/icons. I then made a symbolic link to it in the same directory and called that suru. Upon a reboot the indicator icons where changed, but the application icons remained the same. So at this moment I am not sure if there is an easy way to change all those in one go.

                                        EDIT: The icons in the App Drawer cannot be replaced in one go, because the .desktop files are pointing at hardcoded icon paths instead of icon names.

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

                                        SalahS 1 Reply Last reply Reply Quote 0
                                        • AppLeeA Offline
                                          AppLee @Salah
                                          last edited by

                                          @Salah said in Customizing Icons:

                                          I see, Thank God I am using Ubuntu Mate which allows customization and freedom of changing appearance as per user's tase.

                                          Ubuntu Touch is not a desktop distribution and maintaining and OS for mobile devices is not the same as desktop computers.
                                          (Well technically laptop are mobile devices, but you get what I mean)

                                          Also you still have freedom to do whatever you want.
                                          You just don't have the skills or knowledge (yet)...

                                          Asking questions about how the OS works in order to make a change that will benefit the community is greatly appreciated.
                                          But it implies you want to put time and efforts into doing things without compromising the work of other contributors to the OS, what we call "the proper way". The work will be reviewed and merged if our quality standards are met.

                                          I hope this clarifies things.

                                          SalahS 1 Reply Last reply Reply Quote 1
                                          • SalahS Offline
                                            Salah @arubislander
                                            last edited by

                                            @arubislander Thanks for your reply

                                            Can you show me pictures?

                                            Thanks

                                            " Our Business, Is Life Itself,, "

                                            • Iphone X => Daily Use
                                            • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                                            • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                                            arubislanderA 1 Reply Last reply Reply Quote 0
                                            • SalahS Offline
                                              Salah @AppLee
                                              last edited by

                                              @AppLee Thanks for your reply.

                                              Am still learning how to use Ubuntu Touch and hope next version will be more functional.

                                              " Our Business, Is Life Itself,, "

                                              • Iphone X => Daily Use
                                              • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                                              • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                                              AppLeeA 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post