16.04-OTA5 && percentage of battery in indicator



  • In the GOD(™) of Canonical and UBports OTA3 I was used to set in my BQ E4.5 that the battery indicator shows not only the symbol, but also the percentage of the batterylevel. This was easy (and only once) to be configured with one the following command which now gives errors and no visible effect regarding the battery status symbol:

    # gsettings list-keys com.canonical.indicator.power
    icon-policy
    show-percentage
    show-time
    
    # gsettings set com.canonical.indicator.power show-percentage true
    
    (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
    
    (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
    
    (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
    
    (process:31630): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
    

    Any ideas?



  • @guru You can enable the % using UT Tweaktool, indicators



  • I have never used it, where it is and its documentation? Thanks



  • @guru Download the UT Tweak Tool app from the openstore: https://open-store.io/app/ut-tweak-tool.sverzegnassi

    In "Behavior" - which should be the page opened as you open the app (if not, choose with the option button top left) - go down to "Indicators", and then simply toggle the Battery [Robin: "what's a Tery?"] "show percentage on panel" switch.



  • Why are you running gsettings as root?



  • @dobey said in 16.04-OTA5 && percentage of battery in indicator:

    Why are you running gsettings as root?

    Thanks, this was what caused the problem.


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.