Skip to content

Commit a653a87

Browse files
authored
Disable Popup and add 1200*800 (#85)
* Disabling both password and card save popup * Adding 1200*800 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Disables Chrome password/credit-card save prompts and adds 1200x800 modelines across refresh rates to xorg config. > > - **Configuration** > - **Chromium policies**: Add `images/chromium-headful/image-chromium/etc/chromium/policies/managed/autofill.json` with `PasswordManagerEnabled: false` and `AutofillCreditCardEnabled: false`. > - **Display** > - **Xorg**: In `images/chromium-headful/xorg.conf`, add `1200x800` modelines for `60/30/25/10 Hz` and include them in the `Screen` `Modes` list. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 68a0120. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 174e365 commit a653a87

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"PasswordManagerEnabled": false,
3+
"AutofillCreditCardEnabled": false
4+
}
5+

images/chromium-headful/xorg.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ Section "Monitor"
7070
Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -HSync +Vsync
7171
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 63.50 MHz
7272
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -HSync +Vsync
73+
# 1200x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 76.11 MHz
74+
Modeline "1200x800_60.00" 76.11 1200 1264 1392 1532 800 801 804 828 -HSync +Vsync
7375

7476
# 2560x1440 @ 30.00 Hz (GTF) hsync: 43.95 kHz; pclk: 146.27 MHz
7577
Modeline "2560x1440_30.00" 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +Vsync
@@ -93,6 +95,8 @@ Section "Monitor"
9395
Modeline "1440x900_30.00" 52.80 1440 1496 1648 1888 900 901 904 929 -HSync +Vsync
9496
# 1024x768 @ 30.00 Hz (GTF) hsync: 23.55 kHz; pclk: 31.50 MHz
9597
Modeline "1024x768_30.00" 31.50 1024 1048 1152 1280 768 771 775 790 -HSync +Vsync
98+
# 1200x800 @ 30.00 Hz (GTF) hsync: 24.54 kHz; pclk: 37.78 MHz
99+
Modeline "1200x800_30.00" 37.78 1200 1232 1360 1540 800 801 804 818 -HSync +Vsync
96100
# 800x1600 @ 30.00 Hz (GTF) hsync: 48.84 kHz; pclk: 51.58 MHz
97101
Modeline "800x1600_30.00" 51.58 800 840 928 1056 1600 1601 1604 1628 -HSync +Vsync
98102

@@ -112,6 +116,8 @@ Section "Monitor"
112116
Modeline "1440x900_25.00" 44.00 1440 1472 1616 1824 900 901 904 925 -HSync +Vsync
113117
# 1024x768 @ 25.00 Hz (GTF) hsync: 19.62 kHz; pclk: 26.25 MHz
114118
Modeline "1024x768_25.00" 26.25 1024 1032 1136 1248 768 771 775 787 -HSync +Vsync
119+
# 1200x800 @ 25.00 Hz (GTF) hsync: 20.45 kHz; pclk: 31.48 MHz
120+
Modeline "1200x800_25.00" 31.48 1200 1224 1352 1540 800 801 804 818 -HSync +Vsync
115121
# 800x1600 @ 24.92 Hz (CVT) hsync: 40.53 kHz; pclk: 41.50 MHz
116122
Modeline "800x1600_25.00" 41.50 800 832 912 1024 1600 1603 1613 1626 -Hsync +Vsync
117123

@@ -125,6 +131,8 @@ Section "Monitor"
125131
Modeline "1440x900_10.00" 17.60 1440 1424 1560 1680 900 901 904 917 -HSync +Vsync
126132
# 1024x768 @ 10.00 Hz (GTF) hsync: 7.85 kHz; pclk: 10.50 MHz
127133
Modeline "1024x768_10.00" 10.50 1024 1000 1096 1168 768 771 775 778 -HSync +Vsync
134+
# 1200x800 @ 10.00 Hz (GTF) hsync: 8.18 kHz; pclk: 12.59 MHz
135+
Modeline "1200x800_10.00" 12.59 1200 1200 1320 1456 800 801 804 818 -HSync +Vsync
128136
EndSection
129137

130138
Section "Screen"
@@ -135,7 +143,7 @@ Section "Screen"
135143
SubSection "Display"
136144
Viewport 0 0
137145
Depth 24
138-
Modes "2560x1440_60.00" "1920x1080_60.00" "1920x1200_60.00" "1440x900_60.00" "1280x720_60.00" "1152x648_60.00" "1024x768_60.00" "1024x576_60.00" "960x720_60.00" "800x600_60.00" "2560x1440_30.00" "1920x1080_30.00" "1920x1200_30.00" "1440x900_30.00" "1368x768_30.00" "1280x720_30.00" "1152x648_30.00" "1024x768_30.00" "1024x576_30.00" "960x720_30.00" "800x600_30.00" "800x1600_30.00" "3840x2160_25.00" "2560x1440_25.00" "1920x1080_25.00" "1920x1200_25.00" "1600x900_25.00" "1440x900_25.00" "1368x768_25.00" "1024x768_25.00" "800x1600_25.00" "2560x1440_10.00" "1920x1080_10.00" "1920x1200_10.00" "1440x900_10.00" "1024x768_10.00"
146+
Modes "2560x1440_60.00" "1920x1080_60.00" "1920x1200_60.00" "1440x900_60.00" "1280x720_60.00" "1200x800_60.00" "1152x648_60.00" "1024x768_60.00" "1024x576_60.00" "960x720_60.00" "800x600_60.00" "2560x1440_30.00" "1920x1080_30.00" "1920x1200_30.00" "1440x900_30.00" "1368x768_30.00" "1280x720_30.00" "1200x800_30.00" "1152x648_30.00" "1024x768_30.00" "1024x576_30.00" "960x720_30.00" "800x600_30.00" "800x1600_30.00" "3840x2160_25.00" "2560x1440_25.00" "1920x1080_25.00" "1920x1200_25.00" "1600x900_25.00" "1440x900_25.00" "1368x768_25.00" "1200x800_25.00" "1024x768_25.00" "800x1600_25.00" "2560x1440_10.00" "1920x1080_10.00" "1920x1200_10.00" "1440x900_10.00" "1200x800_10.00" "1024x768_10.00"
139147
EndSubSection
140148
EndSection
141149

0 commit comments

Comments
 (0)