Skip to content

Add Almalinux & Fedora 37 installation support

Closed by 186593b8

Fix for VMWare bug with resolution reset on reboot (Wayland desktops)
https://almalinux.discourse.group/t/almalinux-9-vmware-keeps-resetting-the-screen-resolution-to-800x600/1677

1. download gnome-randr.py from
   https://gitlab.com/Oschowa/gnome-randr/-/blob/master/gnome-randr.py
   and place it for example in ~/.local/bin/
2. run it
   python ~/.local/bin/gnome-randr.py
3. I got the output

   max-screen-size: 0x0
   layout-mode: logical
   global-scale-required: no
   supports-mirroring: yes
   supports-changing-layout-mode: no

   logical monitor 0:
   x: 0 y: 0, scale: 1.0, rotation: normal, primary: yes
   associated physical monitors:
	Virtual-1 unknown

   Virtual-1 unknown unknown unknown
    3840x2400   59.97       [x1.0+, x2.0, x3.0, x4.0]
    3840x2160   59.97       [x1.0+, x2.0, x3.0, x4.0]
    2880x1800   59.95       [x1.0+, x2.0, x3.0]
    2560x1600   59.99       [x1.0+, x2.0, x3.0]
    ...
    ...
    800x600   60.32       [x1.0+]
4. wrap this command into simple two-line shell script ~/.local/bin/resolution.sh

   #!/bin/sh
   python ~/.local/bin/gnome-randr.py --output Virtual-1 --mode 2880x1800
5. make it executable
   chmod +x ~/.local/bin/resolution.sh
6. we want this command to be run each time gnome starts
   create (with root privileges) file /etc/xdg/autostart/resolution.desktop with the following content (replace your_username 
   with your login)

[Desktop Entry]
Encoding=UTF-8
Exec=/home/your_username/.local/bin/resolution.sh
Name=resolution
Terminal=false
OnlyShowIn=GNOME
Type=Application
StartupNotify=false
X-GNOME-Autostart-Phase=Application
Edited by Slavomir Hnatic