Some people prefer to have a more content-packed screen to have as much informations as possible at a glance.

On Android devices, this can be obtained by fiddling with DPI, i.e. the amount of dots per inch, while on Sailfish OS the device pixel ratio (DPR) is used for the same purpose – more on this here.

Check the DPR

The DPR value is stored in a dconf key. To read the value open the terminal and type, as regular user:

dconf read /desktop/sailfish/silica/theme_pixel_ratio

On a Jolla C, this will return a value of 1.25.

Custom value

Empirically, a lower number would give more space to be filled by content, at the expense of a smaller font (although this can be tuned from the Settings).

To edit the value type, as regular user:

dconf write /desktop/sailfish/silica/theme_pixel_ratio VALUE

then refresh the homescreen.

DPR 1.10

Type, as regular user:

dconf write /desktop/sailfish/silica/theme_pixel_ratio 1.10

then refresh the homescreen.

DPR 0.90

Type, as regular user:

dconf write /desktop/sailfish/silica/theme_pixel_ratio 0.90

then refresh the homescreen.

Reset the DPR to the default value

Type, as regular user:

dconf reset /desktop/sailfish/silica/theme_pixel_ratio

then refresh the homescreen.

Tablet UI

With smaller DPR values, it may make sense to enable the quick settings sidebar like seen on the Jolla Tablet.

Open, as root, the file:


locate the line:

property bool showEventsViewSidebar: Screen.sizeCategory >= Screen.Large

and change it as following:

property bool showEventsViewSidebar: Screen.sizeCategory >= Screen.Small

then refresh the homescreen.

Alien Dalvik

Android apps will follow a standard DPI setting. To tune it open, as root, the file:


then edit the following line:


Even here, a lower number would give more space to the content. Common values are 240, 280, 300, 320.

Restart the Android environment to apply the changes.


I may work on some simple UI to edit the DPR value, but my programming skiils are really limited, so feel free to use the infos from this post to create your app/patch, considering a link to this page if it was useful.


A preliminary package has been uploaded here.


9 thoughts on “Sailfish OS: how to display more content

  1. Thanks a lot for this guide.

    On my nexus 4 running, the dconf setting was locked, giving an error about a non-writable key.
    To fix this, I removed /etc/dconf/db/vendor.d/locks/silica-configs.txt . After running “dconf update”, I was able to change the setting.

    1. the packages sailfish-content-graphics-closed-z1.0 and sailfish-content-graphics-jolla-z1.0 may be missing on your device

  2. For SailfishOS 3 on Sony Xperia XA2 Ultra, the default font-size in Android Apps is very huge.

    The relevant file is moved to


    I use a value from 360, so its similar to my Android Phone. If it is to small, you can try 380.

    1. thanks for the feedback 🙂 Would you mind providing me the build.prop? Not having any of the XA2 devices, I need it to test my themepacksupport.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s