~mil/sxmo-devel

sxmo-xdm-config: Add HiDPI support: use xrandr to set DPI v1 APPLIED

~tetrakist
~tetrakist: 1
 Add HiDPI support: use xrandr to set DPI

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/sxmo-devel/patches/20885/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH sxmo-xdm-config] Add HiDPI support: use xrandr to set DPI Export this patch

~tetrakist
From: tetrakist <tetrakist@mutandum.com>

This sets the DPI using xrandr when xdm starts up.
---
 Xsetup_0 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Xsetup_0 b/Xsetup_0
index ca5cd64..68100be 100755
--- a/Xsetup_0
+++ b/Xsetup_0
@@ -3,6 +3,7 @@ sxmo_setpineled red 0
sxmo_setpineled blue 0
sxmo_setpineled green 0
echo 750 > /sys/devices/platform/backlight/backlight/backlight/brightness #scale goes from 0-1000 on kernel 5.8
xrandr --dpi 192
xsetroot -mod 29 29 -fg '#0b3a4c' -bg '#082430'
if [ -f /usr/lib/X11/xdm/wallpaper.jpg ]; then
    feh --bg-fill -z /usr/lib/X11/xdm/wallpaper.jpg
-- 
2.30.1
Thanks! Applied

--

Maarten van Gompel (proycon)
https://proycon.anaproy.nl