Sorry I was kind of lost checking
https://wiki.archlinux.org/title/GDM
Summary
###4.3 Setup default monitor settings
Some desktop environments store display settings in ~/.config/monitors.xml
. xrandr commands are then generated on the base of the file content. GDM has a similar file stored in /var/lib/gdm/.config/monitors.xml
.
If you have your monitors setup as you like (resolution, refresh rate, orientation, scaling, primary and so on) in ~/.config/monitors.xml
and want GDM to honor those settings:
cp ~/.config/monitors.xml /var/lib/gdm/.config/
To automatically re-configure the monitor setup on each boot, use a drop-in file for gdm.service
:
/etc/systemd/system/gdm.service.d/override.conf
[Service] ExecStartPre=/bin/cp /home/user/.config/monitors.xml /var/lib/gdm/.config/monitors.xml
The relevant parts of monitors.xml
for screen rotation and scaling are:
… 2 … right no …
Changes will take effect on logout. This is necessary because GDM does not respect xorg.conf
.
Note:
- If you use GDM under Wayland, you must also use a
monitors.xml
that was created under Wayland. See GDM bug 224 for more info. Alternatively, you can force GDM to #Use Xorg backend, and use a monitors.xml
that was created under Xorg.
- If you use fractional scaling, you need to enable it for user
gdm
,
[gdm]$ dbus-launch gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”
Let me try wlr-randr
again. Pamac feels the need to update when installing new packages so I’m currently building some packages. Will take a while.
Done. Installed but
compositor doesn't support wlr-output-management-unstable-v1
Will reboot and see if that fixes it.
Did not work. I also tried the Arch Linux Wiki and didn’t work.
Found rando Youtube video says that adding video=DP-1:640x480@60
as a kernel boot parameter using systemd-boot might work. However…
Summary
Not guaranteed (tested), so I’m going to test it! Editing GRUB…
Didn’t work or I don’t know how to add boot parameters to GRUB.
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-14607388-1c2a-43a7-b882-49de11055a09' {
menuentry 'Manjaro Linux (Kernel: 6.12.12-2-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.12-2-MANJARO x64-advanced-14607388-1c2a-43a7-b882-49de11055a09' {
video=DP-1:640x480@60
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root 14607388-1c2a-43a7-b882-49de11055a09
linux /@/boot/vmlinuz-6.12-x86_64 root=UUID=14607388-1c2a-43a7-b882-49de11055a09 rw rootflags=subvol=@ quiet splash apparmor=1 security=apparmor udev.log_priority=3
initrd /@/boot/intel-ucode.img /@/boot/amd-ucode.img /@/boot/initramfs-6.12-x86_64.img
Do I need it at the beginning or the end?