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

    Minimum display drightness too bright in dark conditions

    Scheduled Pinned Locked Moved Design
    10 Posts 5 Posters 892 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.
      • U Offline
        ubuntoutou
        last edited by

        I lower the display brightness to its minimum when in the dark but I find this minimum a bit too high. In the dark, the brightness is a bit blinding. How would it be possible to alter this minimum?

        1 Reply Last reply Reply Quote 1
        • G Offline
          Giiba
          last edited by

          I agree. But I think it is a hardware limitation, not one under a user or programmer's control.

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

            At least for the BQ M10 it is not a hardware limitation, but a choice when the image was built. Minimum brightness was set to around 10% of maximum. You can set it lower, but it is clunky, and I am not sure if the procedure is the same for each device.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            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 0
            • hankschwieH Offline
              hankschwie
              last edited by

              Hi!

              You could try another theme, like suru dark; UT Tweak Tool is your friend...

              U 1 Reply Last reply Reply Quote 0
              • U Offline
                ubuntoutou @hankschwie
                last edited by

                @hankschwie

                UT Tweak Tool themes have no effect on the brightness of apps.

                hankschwieH 1 Reply Last reply Reply Quote 1
                • FlaF Offline
                  Fla
                  last edited by

                  You can manually change the minimum brightness you want in /usr/share/repowerd/device-configs/ picking the file of your device. To do that, you need to mount the filesystem in write mode with sudo mount -o remount,rw /.

                  U 1 Reply Last reply Reply Quote 0
                  • U Offline
                    ubuntoutou @Fla
                    last edited by ubuntoutou

                    @Fla

                    Thanks Fla. I have edited the file config-default.xml and changed the line

                     <integer name="config_screenBrightnessSettingMinimum">10</integer>
                    

                    to

                     <integer name="config_screenBrightnessSettingMinimum">1</integer>
                    

                    and rebooted the device.

                    But the minimum brightness remains the same. Have I missed something? Do I need to run some kind of init command to enable the change?

                    1 Reply Last reply Reply Quote 0
                    • hankschwieH Offline
                      hankschwie @ubuntoutou
                      last edited by hankschwie

                      @ubuntoutou
                      Yes, you're right. But IMHO at least the overall appearance of white text on black background is less bright then vice versa.

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        ubuntoutou @hankschwie
                        last edited by

                        @hankschwie

                        White text on black background is only for the system, not for apps like the web browser.

                        1 Reply Last reply Reply Quote 0
                        • hankschwieH Offline
                          hankschwie
                          last edited by hankschwie

                          Well, I'd say it works for most of the apps: Dekko2, Filemanager, OpenStore, UTTT, OSM Scout server, Contacts, Notes, Weather uMPD, calculator etc. etc... Even Morph has a dark frame... In others you can switch the layout - Sturm Reader, EpubViewer, Document Viewer, Writer...

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