summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2024-09-18 15:49:20 +0200
committerAndreas Fankhauser hiddenalpha.ch2024-09-18 15:49:20 +0200
commit305131c54f2c5b014b411fbf20921ac686e3c130 (patch)
tree4b7a9d92848e33ab92a36e93839aa1c10511e277
parent138a8b10a2133f4d6763d04f58f95fdc601cfd96 (diff)
downloadUnspecifiedGarbage-305131c54f2c5b014b411fbf20921ac686e3c130.zip
UnspecifiedGarbage-305131c54f2c5b014b411fbf20921ac686e3c130.tar.gz
Add some xorg/xrandr notes.
-rw-r--r--doc/note/xorg/xrandr.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/note/xorg/xrandr.txt b/doc/note/xorg/xrandr.txt
new file mode 100644
index 0000000..109cb67
--- /dev/null
+++ b/doc/note/xorg/xrandr.txt
@@ -0,0 +1,34 @@
+
+## Tuxbook reset to solo screen
+
+xrandr --dpi 142 --fb 1920x1080 \
+ --output HDMI-1 --off \
+ --output eDP-1 \
+ --mode 1920x1080 --rate 60.01 \
+ --pos 0x0 \
+ --scale 1x1 \
+ --primary \
+
+
+## Tuxbook home 4k 40" dual-mon setup
+
+# TODO could fb be smaller?
+xrandr --dpi 157 --fb 9600x3600 \
+ --output HDMI-1 \
+ --mode 3840x2160 --rate 25 \
+ --pos 0x0 \
+ --scale 0.5x0.5 \
+ --primary \
+ --output eDP-1 \
+ --mode 1920x1080 --rate 60.01 \
+ --pos 1920x540 \
+ --scale 0.5x0.5 \
+
+
+## Try fix annoying app scaling issues
+
+ GDK_DPI_SCALE=1
+ GDK_SCALE=1
+ QT_AUTO_SCREEN_SCALE_FACTOR=1
+ QT_SCALE_FACTOR=0.6
+