Add GDM instructions and move images
This commit is contained in:
		
							parent
							
								
									c4e6f95a0c
								
							
						
					
					
						commit
						1b7d995681
					
				|  | @ -6,7 +6,7 @@ This was done on the initial IndieGoGo-release of the Win 3. The limited-edition | |||
| 
 | ||||
| **I currently run Ubuntu 21.04 on my GPD Win 3, issues may vary and scripts break if you use different distros.** | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| # System "requirements" | ||||
| 
 | ||||
|  |  | |||
|  | @ -67,3 +67,49 @@ sudo modprobe goodix | |||
| ``` | ||||
| 
 | ||||
| The touchscreen then starts working, it keeps working after sleep/suspend as well. But you will need to run these commands after every reboot. | ||||
| 
 | ||||
| # Rotate GDM (Sign-in screen) | ||||
| 
 | ||||
| GDM keeps its own display settings, so it's not as straight forward to rotate/scale as the desktop. | ||||
| 
 | ||||
| You can either copy your own settings over so GDM works the same by running this command: | ||||
| 
 | ||||
| ``` | ||||
| sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/ | ||||
| ``` | ||||
| 
 | ||||
| Or you can create the file `/var/lib/gdm3/.config/monitors.xml` and input my settings: | ||||
| 
 | ||||
| ``` | ||||
| <monitors version="2"> | ||||
|   <configuration> | ||||
|     <logicalmonitor> | ||||
|       <x>0</x> | ||||
|       <y>0</y> | ||||
|       <scale>1</scale> | ||||
|       <primary>yes</primary> | ||||
|       <transform> | ||||
|         <rotation>right</rotation> | ||||
|         <flipped>no</flipped> | ||||
|       </transform> | ||||
|       <monitor> | ||||
|         <monitorspec> | ||||
|           <connector>DSI-1</connector> | ||||
|           <vendor>unknown</vendor> | ||||
|           <product>unknown</product> | ||||
|           <serial>unknown</serial> | ||||
|         </monitorspec> | ||||
|         <mode> | ||||
|           <width>720</width> | ||||
|           <height>1280</height> | ||||
|           <rate>60.000682830810547</rate> | ||||
|         </mode> | ||||
|       </monitor> | ||||
|     </logicalmonitor> | ||||
|   </configuration> | ||||
| </monitors> | ||||
| ``` | ||||
| 
 | ||||
| This will also leave GDM with 2x scaling, which makes for a rather beautiful and properly rotated login screen: | ||||
| 
 | ||||
|  | ||||
|  |  | |||
| Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 241 KiB | 
		Loading…
	
		Reference in New Issue