2024-08-03 20:31:32 +00:00
|
|
|
diff -Naur a/pyanaconda/display.py b/pyanaconda/display.py
|
|
|
|
--- a/pyanaconda/display.py
|
|
|
|
+++ b/pyanaconda/display.py
|
|
|
|
@@ -237,6 +237,14 @@
|
|
|
|
:param str runres: a resolution specification string
|
|
|
|
:param gui_mode: an Anaconda display mode
|
|
|
|
"""
|
|
|
|
+
|
|
|
|
+ # Get product name
|
|
|
|
+ with open("/sys/devices/virtual/dmi/id/product_name") as f:
|
|
|
|
+ dmi = f.read().strip()
|
|
|
|
+
|
2024-08-28 16:44:32 +00:00
|
|
|
+ if "Jupiter" in dmi or "Galileo" in dmi or "NEXT" in dmi:
|
2024-08-03 20:31:32 +00:00
|
|
|
+ runres = "1280x800"
|
|
|
|
+
|
|
|
|
if runres and gui_mode and not flags.usevnc:
|
|
|
|
set_x_resolution(runres)
|
|
|
|
|
|
|
|
diff -Naur a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
|
|
|
|
--- a/pyanaconda/ui/gui/__init__.py
|
|
|
|
+++ b/pyanaconda/ui/gui/__init__.py
|
|
|
|
@@ -576,6 +576,13 @@
|
|
|
|
if not primary_monitor:
|
|
|
|
return
|
|
|
|
|
|
|
|
+ with open("/sys/devices/virtual/dmi/id/product_name") as f:
|
|
|
|
+ dmi = f.read().strip()
|
|
|
|
+
|
2024-08-28 16:44:32 +00:00
|
|
|
+ if "Jupiter" in dmi or "Galileo" in dmi or "NEXT" in dmi:
|
2024-08-03 20:31:32 +00:00
|
|
|
+ util.setenv("GDK_SCALE", "1")
|
|
|
|
+ return
|
|
|
|
+
|
|
|
|
monitor_geometry = primary_monitor.get_geometry()
|
|
|
|
monitor_scale = primary_monitor.get_scale_factor()
|
|
|
|
monitor_width_mm = primary_monitor.get_width_mm()
|