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.6k 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.
      • KenedaK Offline
        Keneda
        last edited by

        Beware it's an app that have full access to the system.

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
        🇲🇫🇬🇧

        1 Reply Last reply Reply Quote 0
        • W Offline
          wally
          last edited by

          @ikoz Wow, that's amazing that you did that! Thanks, on behalf of the community!
          You spent two hours on that. It will take me longer than two hours just to understand how gitlab works and to install (build?) the app to help test 🙂
          But I'll try!
          Hopefully others like @Salah take notice and can help test too.
          Again, thanks!

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

            @wally It is already built automatically by gitlab see the pipelines. Just noticed the click package says xenial but it is focal, I will fix it tomorrow.

            Also one can already install custom icons by replacing the backup folder (/opt/click.ubuntu/custom-phablet-tools.kazord/current/assets/backup) with a folder with new icons, but better wait a few days to add it to the app.

            May the source be with you

            1 Reply Last reply Reply Quote 0
            • W Offline
              wally
              last edited by

              Thanks @ikoz, that saved me a lot of time.
              Installed, ran and performed successfully on my Oneplus 5T running 20.04 stable channel.
              Bravo!!

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

                Thank you guys for interacting in my thread and hope to see an application regarding changing icons published soon officially.

                " 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
                ikozI 1 Reply Last reply Reply Quote 0
                • ikozI Offline
                  ikoz @Salah
                  last edited by ikoz

                  @Salah I'm currently rewriting the backend to not require remounting as read-write. Currently this arm64 focal .click works. Screenshot:

                  Screenshot from 2024-10-11 22-16-01.png

                  May the source be with you

                  SalahS 2 Replies Last reply Reply Quote 2
                  • SalahS Offline
                    Salah @ikoz
                    last edited by

                    @ikoz Thant is terrefic. Nice for a change.

                    Also it would be more eye catching if icons would be vivid with colors and unique (my suggestion).

                    Thumbs Up

                    " 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
                    ikozI 1 Reply Last reply Reply Quote 0
                    • ikozI Offline
                      ikoz @Salah
                      last edited by

                      @Salah There are dozens of icon packs, inherited from the old app and renamed to adapt to changes as it hasn't been maintained for 4 years.

                      May the source be with you

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

                        @Salah with laucher modular you can add your own icon associated to an application, weblink, or terminal command

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

                          @ikoz Thanks for your reply.

                          If you go to icons folder, you well see several icon folder with icons including the main one which if officially used (suru) and they are not used.

                          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
                          1 Reply Last reply Reply Quote 0
                          • SalahS Offline
                            Salah @saveurlinux
                            last edited by

                            @saveurlinux I will give it a try and see what can I do.

                            Thanks for the top 👍 👍

                            " 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
                            • SalahS Offline
                              Salah @ikoz
                              last edited by

                              @ikoz I have installed it, which apparently not available in Open Store.

                              Is there any way I can Add my icons to this app !!

                              Just asking.

                              " 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
                              ikozI 1 Reply Last reply Reply Quote 0
                              • ikozI Offline
                                ikoz @Salah
                                last edited by ikoz

                                @Salah said in Customizing Icons:

                                If you go to icons folder, you well see several icon folder with icons including the main one which if officially used (suru) and they are not used.

                                These are available if you click on the top-left icon. Select one from the list

                                Salah said in Customizing Icons:

                                have installed it, which apparently not available in Open Store

                                I submitted the app to the OpenStore, but I was suggested to rewrite the scripts so they don't require remounting the rootfs as read-write. I have made some progress, and the icon names had to be renamed. So the old versions don't work, unless it fetches the icons from a snapshot of a previous version. I can easily fix the hacky version temporary to work fully, but better way for the newer, cleaner method, which is WIP.

                                Salah said in Customizing Icons:

                                Is there any way I can Add my icons to this app !!

                                Yes, you have to rename your icons to match the names of those in the repo. Put them in a folder. Then write that path (absolute path and the last /) in the text box below

                                May the source be with you

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

                                  @ikoz I have been trying to understand how to write the path, it did not work with me.

                                  I have icon folder in my device. Therefore, could you please share with me what exactly to write in the path !

                                  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
                                  ikozI 1 Reply Last reply Reply Quote 0
                                  • ikozI Offline
                                    ikoz @Salah
                                    last edited by ikoz

                                    @Salah
                                    Use the .click built from the hacky-works branch (should be the latest artifact), then

                                    1. Create your folder:
                                      /home/phablet/Downloads/icons/
                                    2. Rename your icons accordingly, must match the names here
                                      Another way to get the names (even of the apps not already available):
                                      Install an icon pack e.g., line, then:
                                      ls /opt/click.ubuntu.com/icon-changer.ikozyris/current/assets/backup/
                                      You should get something like this:
                                    address-book-app.svg       logviewer.ruditimmer.png
                                    calculator.ubports.svg     lomiri-system-settings.svg
                                    calendar.ubports.png       mediaplayer-app.png
                                    camera.ubports.png         messaging-app.svg
                                    camera.ubports.svg         morph-browser.svg
                                    ciborium.svg               music.ubports.svg
                                    clock.ubports.svg          notes.ubports.svg
                                    dialer-app.svg             openstore.openstore-team.svg
                                    filemanager.ubports.svg    terminal.ubports.svg
                                    gallery.ubports.svg        weather.ubports.svg
                                    icon-changer.ikozyris.svg
                                    

                                    Your icons should match the name of each app.
                                    Preferably, restore to defaults before installing your own, or copy the backup directory somewhere else.
                                    3. Type the path /home/phablet/Downloads/icons/ on the text box (with last /):
                                    ad9699a0-a7d9-401b-b87d-2894d7177f6f-image.png
                                    4. Press "Go!"

                                    May the source be with you

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

                                      @ikoz Did all that nothing happne. My folder name is UC even though I have inserted /home/phablet/Downloads/icons/UC.

                                      Also typed /home/phablet/Downloads/icons/ and nothing happen

                                      So any advice ?

                                      " 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
                                      ikozI 1 Reply Last reply Reply Quote 0
                                      • ikozI Offline
                                        ikoz @Salah
                                        last edited by

                                        @Salah You can replace the backup directory with your icons, and then "restore". Not the best way, but it works.

                                        May the source be with you

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

                                          @ikoz Hello again, I want to tell you that I have being trying to make this work so many times since yesterday till day and did not work. I really do not know why after putting the path is not functioning. Maybe from the program not letting any new icons to be deployed or something else.

                                          Just for assurance.

                                          Are you putting the path like this => /home/phablet/Downloads/icons/ or after => /icons/(Folder Name).

                                          Can you make a screenshot from your device how it is written??

                                          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
                                          ikozI 1 Reply Last reply Reply Quote 0
                                          • SalahS Offline
                                            Salah
                                            last edited by

                                            Just for asking.

                                            Is there any way to change the dash (Ubuntu Logo) to other icons??

                                            " 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
                                            • ikozI Offline
                                              ikoz @Salah
                                              last edited by

                                              @Salah
                                              Sorry for the confusion, just tested and it works only if the path doesn't have a / at the end.
                                              e.g. /home/phablet/Downloads/icons
                                              The path can be anywhere you want, as the script is run with sudo.

                                              Are you putting the path like this => /home/phablet/Downloads/icons/ or after => /icons/(Folder Name).

                                              Do not enter any newline, it appears on a new line due to line wrapping

                                              Is there any way to change the dash (Ubuntu Logo) to other icons??

                                              Nothing I'm aware of. It could be somewhere on /usr/share/icons/suru/.

                                              May the source be with you

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