I wanted a 1080p like resolution and have it permanent on my system:
sudo nano /usr/share/X11/xorg.conf.d/10-monitor.conf and add this in:
Section "Monitor"
Identifier "Monitor0"
Modeline "1920x1280_60.00" 206.25 1920 2056 2256 2592 1280 1283 1293 1327 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "eDP-1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1280_60.00"
EndSubSection
EndSection
After rebooting, I could select my resolution from Display Settings just like any other resolution.
@Bonnefille_Vincent’s conf path didn’t work for me, so I used this one.
I’ve had no issues with Electron apps on Pop!_OS 22.04 LTS with i7-1280P.