summaryrefslogtreecommitdiff
path: root/doc/note/xorg/xrandr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/note/xorg/xrandr.txt')
-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
+