06-27-2021, 06:48 PM
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"
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.
Now the part we have been waiting for
This will scale your screen to a size in between 100 and 200 percent.
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
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
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