How To: Custom Scaling between 100% - 200% but for Manjaro Phosh
#1
Hey again.  I recently posted a howto in the Mobian side of the forum.  I wanted to post the same howto on the Manjaro side with the changes that were made to make it work on this side.  (Please note that these ideas originated from others working with the Librem 5.  I only adapted it to work with Manjaro. Please give credit to those who it is due in the link at the end.  Also note that I am in no way an expert and am much more comfortable with Debian based systems.  I am fairly new to Arch so if you know a more efficient way to complete the same task feel free to post below Smile .)

In the end what I was attempting worked so with that out of the way lets begin!

Step one. 
Install git.

Code:
sudo pacman -Syyu
sudo pacman -git

Step two.  
Install all of the Manjaro equivalents to the original Debian commands.  (This could take a while....it downloads around 300-400 meg?)
Code:
sudo pacman -Sy base-devel

Press enter when it asks what you want to install.....I just installed everything.

Then
Code:
sudo pacman -S ninja
sudo pacman -S meson
sudo pacman -S cmake
sudo pacman -S wayland
sudo pacman -S pkgconf
We should now have all the things necessary to install wlr-randr

Step 3
Lets build it. Smile 

Code:
git clone https://github.com/emersion/wlr-randr
cd wlr-randr
meson build
ninja -C build
sudo cp build/wlr-randr /usr/local/bin

Step 4
Lets run it.
You can now enter a number between 1 and 2 for your scale

Code:
wlr-randr --output DSI-1 --scale 1.5

I mentioned this in the Mobian side but I find that "wlr-randr --output DSI-1 --scale 1.35" works best for me as anything smaller uses the smaller keypad that is very difficult to type on.  

Hope people find this helpful!

Now....if I could just get it to keep the current scale when I reboot that would be nice.  Rolleyes

--------------------------------------------------------------------------------------------------------
Links to original data. 
https://puri.sm/posts/easy-librem-5-app-...he-screen/
  Reply
#2
To get it on reboot I wrote this desktop file : 

/etc/xdg/autostart/setup-scaling.desktop

Code:
[Desktop Entry]
Name=Setup scaling
Type=Application
Exec=wlr-randr --output DSI-1 --scale 1.5
NoDisplay=true
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro: Settings doesnt open nbh 0 654 09-24-2023, 05:25 PM
Last Post: nbh
  Can't get ring on Manjaro Pine Phone thorensjubilee 12 4,026 06-09-2023, 04:40 AM
Last Post: thorensjubilee
  Is Manjaro ARM a Rolling Release? jojuma 4 1,767 05-10-2023, 09:27 PM
Last Post: Kevin Kofler
  Where Does Manjaro Phosh Store Its Custom Keystrokes? jakfish 0 885 04-25-2023, 09:49 AM
Last Post: jakfish
Exclamation My short experience with Manjaro Plasma Mobile anonymous 10 5,270 03-02-2023, 07:25 PM
Last Post: Kevin Kofler
  Backup and Home Screen Tinkering on Phosh jakfish 0 918 02-24-2023, 12:56 PM
Last Post: jakfish
  Can't install Manjaro thorensjubilee 1 1,110 02-09-2023, 08:17 AM
Last Post: thorensjubilee
  Manjaro plasma-mobile Beta 13 Uturn 13 5,371 01-25-2023, 04:15 PM
Last Post: Kevin Kofler
  Manjaro Plasma busted Chief 2 1,692 11-22-2022, 05:00 PM
Last Post: Chief
  MMS workaround for users with separate APN (works atleast on Manjaro Phosh) alaraajavamma 0 1,123 10-10-2022, 12:53 PM
Last Post: alaraajavamma

Forum Jump:


Users browsing this thread: 1 Guest(s)