How To: Set up custom scaling for those who want sizes between 100%-200%
#1
Hello, I have been attempting to figure out how to setup custom scaling in the pine phone as the default 200% is WAY to big for all apps to work well and 100% gets apps working well but makes the keyboard so small it becomes difficult to type.  

I have read several articles concerning the Librem 5 and have come up with the following fix.  
(Please note that I am using other peoples work so please credit them where they are due.  I will post links to the sites I got everything from.)  

Step one.

We will be using an application called "wlr-randr" and we will be installing it from Github. 

To begin, we must first install "Git"

Code:
sudo apt update
sudo apt install git
 
After this is done we can begin installing "wlr-randr"

I added sudo after "meson build" and "ninja -c build" as you do need elevated privileges to run these.   
Code:
sudo apt install build-essential ninja-build meson cmake libwayland-dev pkg-config
git clone https://github.com/emersion/wlr-randr
cd wlr-randr
sudo meson build
sudo ninja -C build
sudo cp build/wlr-randr /usr/local/bin

Now the part we have been waiting for Wink

This will scale your screen to a size in between 100 and 200 percent.  
Code:
wlr-randr --output DSI-1 --scale 1.5

Personally I ended up sticking with "wlr-randr --output DSI-1 --scale 1.35" as anything smaller uses the smaller keyboard that is used in 100% scaling.  This way I get the best of both worlds.

Hope this helps folks out.  
Sometime soon, I hope to give this a shot on Manjaro Phosh and see how it goes.  Currently, I have only got it working on Mobian.

It appears you can also make a GUI for this using YAD.  The link below has the details on that.
https://puri.sm/posts/easy-librem-5-app-development-scale-the-screen/
https://www.digitalocean.com/community/t...d-with-git
  Reply


Messages In This Thread
How To: Set up custom scaling for those who want sizes between 100%-200% - by AwHereWeGoAgain - 06-27-2021, 06:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scaling Telegram to below 100% mynameisearlb 1 2,228 04-28-2021, 01:12 AM
Last Post: dukla2000
  Squeekboard scaling henkdieter 1 2,613 08-18-2020, 10:38 AM
Last Post: fins
  Automatic app scaling a-wai 14 16,028 07-30-2020, 04:07 PM
Last Post: arturo2bodegas

Forum Jump:


Users browsing this thread: 1 Guest(s)