Parrot OS – Scaling the desktop with Xorg X11 without changing the resolution

Author:

In this post, I will show you how to scale the desktop with Xorg X11 without changing the resolution

➡️ If you think this tutorial is helpful, please support my channel by subscribing to my YouTube channel or by using the Amazon/eBay/ClouDNS Affiliated links below (Full Disclaimer). I will get a small commission from your purchase to grow my channel:

🚀 ClouDNS Affiliated: https://www.cloudns.net/aff/id/255803/

🚀 Things I used for my server: https://amzn.to/3hudohP

🚀 Tools I used: https://amzn.to/3uXaSUr

🚀 Devices I used: https://amzn.to/3FYlfxk

🚀 Networking/Cybersecurity/Programming Books: https://amzn.to/3HEYwb0

🚀 TrueNAS HBA SAS controller IT Mode from the Art of Server: https://ebay.us/cBWEvJ

🧧 PayPal Donation: https://www.paypal.com/paypalme/sysadmin102

If you don’t like reading posts like I do, you can follow along on my YouTube Channel. Below is the video:

➡️ Introduction:

With UHD(Ultra High Definition) display, everything is super small and difficult to see. Thankfully, you can scale the display to a desired size that is better for your eyes. Parros OS use Xorg X11 which can be scale using the extension Xrandr or HiDPI scaling under MATE Tweak.

Xrandr is used to set the size, orientation and/or reflection of the outputs for a screen. It can also set the screen size.

➡️ Scaling using HiDPI under MATE Tweak

From the Menu Tool Bar > Select System > Preferences > Look and Feel

Select HiDPI under Windows

Screen before HiDPI was selected:

Screen after HiDPI enabled

➡️ Scaling using Xorg X11 extension Xrandr

Changes the dimensions of the output picture. Values superior to 1 will lead to a compressed screen (screen dimension bigger than the dimension of the output mode), and values below 1 leads to a zoom in on the output. It’s recommended that you Log Out after changing the scaling for it to fully take effect.

Xrandr Manual Page: https://www.x.org/releases/X11R7.5/doc/man/man1/xrandr.1.html

Getting the connected display name:

┌─[sysadmin102@parrot]─[~]
└──╼ $ xrandr --listmonitors
Monitors: 1
 0: +DP-2 3840/597x2160/336+0+0  DP-2
┌─[sysadmin102@parrot]─[~]
└──╼ $

In the above example DP-2 is our output name.

Running the following line will query all outputs and enable them with their default mode::

┌─[sysadmin102@parrot]─[~]
└──╼ $ xrandr --auto
┌─[sysadmin102@parrot]─[~]
└──╼ 

Zoom In

┌─[sysadmin102@parrot]─[~]
└──╼ $ xrandr --output DP-2 --scale 0.8x0.8
┌─[sysadmin102@parrot]─[~]
└──╼ 

Zoom Out

┌─[sysadmin102@parrot]─[~]
└──╼ $ xrandr --output DP-2 --scale 1.1x1.1
┌─[sysadmin102@parrot]─[~]
└──╼ 

➡️ If you think this tutorial is helpful, please subscribe to my YouTube channel for more tutorials: https://www.youtube.com/@sysadmin102

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »