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
  Mobile connection vanishes on Phosh Barugon 10 917 1 hour ago
Last Post: user641
  Can I rollback to 9/10/2021 on Phosh using -Syyuu? AwHereWeGoAgain 2 103 09-14-2021, 09:26 AM
Last Post: kqlnut
  xmpp&jabber client for Manjaro Plasma mobile acrux 15 1,755 09-13-2021, 10:02 PM
Last Post: TRS-80
Music Changing ringtone on Manjaro Phosh WebFreak 0 133 09-08-2021, 04:37 PM
Last Post: WebFreak
  KDE Plasma Interface Scaling anhilde 4 967 09-05-2021, 02:00 AM
Last Post: Uturn
  [phosh] boost pipewire volume beyond 100%? dcinoz 2 297 09-03-2021, 11:31 PM
Last Post: dcinoz
  Issue with Calls on Phosh Barugon 3 237 08-28-2021, 07:19 AM
Last Post: Danny
  manjaro-pinephone / plasma-mobile-dev: Update broken Uturn 29 4,110 07-29-2021, 01:13 AM
Last Post: Uturn
  phosh 11 stops dead at login after update Rainer 2 379 07-22-2021, 04:36 AM
Last Post: mouffa
  A Way to Switch from KDE Plasma to Phosh Without a Reinstall? Old_Mil 1 400 07-09-2021, 08:29 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)