answered
2018-06-30 11:19:37 +0200
These key values for pixel ratio are non-writable, so changes have to be made within dconf to make that specific key writable.
To make the key writable, we need to navigate to; /etc/dconf/db/vendor.d/locks
- this should display 2 files, the one we need to edit is called ui-configs.txt
and the text inside reads;
/desktop/sailfish/silica/theme_pixel_ratio
- this is basically a lock preventing the user from changing the pixel ratio.
Edit that line of code by putting a hash symbol at the start of the line;
# /desktop/sailfish/silica/theme_pixel_ratio
- you will need to be root (devel-su) to make the change.
After editing the above file, you need to update
dconf to make the changes stick, do this with; devel-su dconf update /desktop/sailfish/silica/theme_pixel_ratio
and restart lipstick to make the change stick.
Then you can make writes to theme_pixel_ratio using dconf;
(example)
dconf write /desktop/sailfish/silica/theme_pixel_ratio "2.0"
1.0 pixel ratio (normal)
1.5 pixel ratio
Additionally, if you are not comfortable editing files, you could try this app from fravacarro;
https://openrepos.net/content/fravaccaro/ui-themer - which I believe also deals with pixel ratio adjustment, but I've never used it, so YMMV.
I believe this is a setting that should be preset to the correct value by the port developer, but I have no idea where the setting is...
Edit: do you have any example device?
Direc ( 2018-06-29 16:59:09 +0200 )editI am using Nexus 7 2013 (flo) I know how to change pixel density via droid configs, but I don't have access to their private sources nor the time to build for a third device. I was hoping it'd be similar to Sailfish OS 1.x where it was an actual lipstick value that you could change. It has to be right?
MeowDude ( 2018-06-29 17:26:30 +0200 )edit