Dual Monitor Set up Flips Primary After Lock Screen (sometimes)

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
Kendoori
Level 4
Level 4
Posts: 417
Joined: Thu Jul 09, 2009 12:51 pm
Location: Sanibel, FL USA

Dual Monitor Set up Flips Primary After Lock Screen (sometimes)

Post by Kendoori »

I am running 19.2 Cinnamon with a laptop display as secondary (eDP-1), and an external display for DP-1 connected as my primary.

Image

I keep my computer on all the time, and if I come back after a few hours, the screen will be locked automatically. Recently, I will find what was previously my secondary display (my laptop) has become primary. I don't mirror my panel on the secondary.

I have a keyboard shortcut that I use that puts it back the right way, but was wondering how I can avoid this.

Here's my setup. This is Xrandr when the position of the primary is correct.

Code: Select all

Screen 0: minimum 320 x 200, current 4160 x 1440, maximum 8192 x 8192
eDP-1 connected 1600x900+2560+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02 +  60.01    59.97    59.96    59.93    48.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95*   59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    60.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    66.67    60.00    59.94  
   720x400       70.08  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Code: Select all

System:    Host: X2Prime Kernel: 5.0.0-37-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.4 
           wm: muffin 4.2.2 dm: LightDM 1.26.0 Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: LENOVO product: 20L50011US v: ThinkPad T480 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20L50011US v: SDK0J40697 WIN serial: <filter> UEFI [Legacy]: LENOVO v: N24ET48W (1.23 ) 
           date: 02/20/2019 
Battery:   ID-1: BAT0 charge: 23.5 Wh condition: 23.5/23.9 Wh (98%) volts: 12.7/11.4 model: LGC 01AV489 type: Li-poly 
           serial: <filter> status: Full cycles: 7 
           ID-2: BAT1 charge: 22.8 Wh condition: 22.8/24.0 Wh (95%) volts: 12.8/11.5 model: SMP 01AV452 type: Li-poly 
           serial: <filter> status: Full cycles: 10 
CPU:       Topology: Quad Core model: Intel Core i5-8350U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 30336 
           Speed: 800 MHz min/max: 400/3600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 2560x1440~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 19.0.8 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:9d71 
           Device-2: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-1.3:9 chip ID: 046d:082d 
           serial: <filter> 
           Device-3: Creative type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1.1.4:11 chip ID: 041e:30dd 
           serial: <filter> 
           Device-4: GN Netcom type: USB driver: jabra,snd-usb-audio,usbhid bus ID: 1-2:12 chip ID: 0b0e:0349 serial: <filter> 
           Sound Server: ALSA v: k5.0.0-37-generic 
Network:   Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:15d7 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: efa0 bus ID: 03:00.0 chip ID: 8086:24fd 
           IF: wlp3s0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 377.90 GiB (32.4%) 
           ID-1: /dev/sda vendor: SanDisk model: SSD PLUS 1000GB size: 931.52 GiB speed: 6.0 Gb/s serial: <filter> rev: 00RL 
           scheme: MBR 
           ID-2: /dev/sdb type: USB vendor: Generic model: SD MMC size: 233.12 GiB serial: <filter> rev: 1.00 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 57.42 GiB used: 22.36 GiB (38.9%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 383.99 GiB used: 30.27 GiB (7.9%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3177 
Info:      Processes: 401 Uptime: 1d 1h 13m Memory: 23.06 GiB used: 11.01 GiB (47.7%) Init: systemd v: 237 runlevel: 5 
           Compilers: gcc: 7.4.0 alt: 7/8 Shell: bash v: 4.4.20 running in: gnome-terminal inxi: 3.0.32 



Post Reply

Return to “Cinnamon”