Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-13 16:19:26

Gotit
Member
Registered: 2019-01-08
Posts: 37

Applications Jump to Second Monitor When Attached

Hi - this is more of an annoyance than a problem, but none the less...

When I attach my secondary monitor (via HDMI) to my laptop, any open application window jumps to the secondary monitor, including conky.  I have configured the second monitor to be positioned above the laptop monitor in display settings, and also set the laptop monitor as "Primary" in display settings.

My graphics are:

Graphics:
  Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-6:4
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.4 driver: X:
    loaded: intel unloaded: modesetting,vesa dri: iris gpu: i915 resolution:
    1: 2560x1440~60Hz 2: 1920x1080~60Hz

Any thoughts on what I can try?

Offline

#2 2022-11-13 17:29:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

Which version of Xfce and xfce4-settings?

Have you tried setting the laptop screen as primary when in multi-monitor mode? (Settings Manager > Display)

Offline

#3 2022-11-13 23:38:37

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

Hi ToZ...

xfce v4.16
xfce4 settings v4.16

Yes, Settings Manger > Display laptop = primary

Offline

#4 2022-11-13 23:48:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

With the second monitor plugged in, what does the following return:

xrandr
xfconf-query -c displays -lv

Offline

#5 2022-11-14 02:12:12

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

xrandr:

xrandr
Screen 0: minimum 8 x 8, current 2560 x 2520, maximum 32767 x 32767
eDP1 connected primary 1920x1080+297+1440 (normal left inverted right x axis y axis) 310mm x 170mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.88  
   1400x1050     59.98  
   1600x900      60.00    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1368x768      60.00    59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   640x360       59.84    59.32    60.00  
HDMI1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     30.00    25.00    24.00    29.97    23.98    29.98  
   1920x2160     59.99  
   2560x1440     59.95* 
   1920x1080     60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

xconf-query -c diplays -lv:

xconf-query -c diplays -lv
bash: xconf-query: command not found
[steve@Asus405 Desktop]$ 
[steve@Asus405 Desktop]$ 
[steve@Asus405 Desktop]$ 
[steve@Asus405 Desktop]$ 
[steve@Asus405 Desktop]$ 
[steve@Asus405 Desktop]$ xfconf-query -c displays -lv
/9256936bb80f62f540743816b2b8df58568eeaf9                     Top Lower Res
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1                Laptop
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Active         true
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/EDID           559e49b24c97329f409e92d0b76715dff5899252
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Position/X     297
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Position/Y     1440
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Primary        true
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Reflection     0
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/RefreshRate    60.011884
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Resolution     1920x1080
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Rotation       0
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Scale/X        1.000000
/9256936bb80f62f540743816b2b8df58568eeaf9/eDP1/Scale/Y        1.000000
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1               Philips Consumer Electronics Company 27"
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Active        true
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/EDID          385239effe097b74633c29128813d4a6cb99b71c
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Position/X    0
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Position/Y    0
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Primary       false
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Reflection    0
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/RefreshRate   59.950550
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Resolution    2560x1440
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Rotation      0
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Scale/X       1.000000
/9256936bb80f62f540743816b2b8df58568eeaf9/HDMI1/Scale/Y       1.000000
/a80c114b824adf5e69236c1f587b06787109379d                     Old Extend Top
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1               Laptop
/a80c114b824adf5e69236c1f587b06787109379d/eDP1                Laptop
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Active        true
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Active         true
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/EDID          559e49b24c97329f409e92d0b76715dff5899252
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/EDID           559e49b24c97329f409e92d0b76715dff5899252
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Position/X    0
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Position/X     355
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Position/Y    0
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Position/Y     1440
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Primary       false
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Primary        true
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Reflection    0
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Reflection     0
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/RefreshRate   60.011884
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/RefreshRate    60.011884
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Resolution    1920x1080
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Resolution     1920x1080
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Rotation      0
/a80c114b824adf5e69236c1f587b06787109379d/eDP1/Rotation       0
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Scale/X       1.000000
/a80c114b824adf5e69236c1f587b06787109379d/eDP-1/Scale/Y       1.000000
/a80c114b824adf5e69236c1f587b06787109379d/HDMI-1              Philips Consumer Electronics Company 27"
/a80c114b824adf5e69236c1f587b06787109379d/HDMI-1/Active       false
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Active        true
/a80c114b824adf5e69236c1f587b06787109379d/HDMI-1/EDID         385239effe097b74633c29128813d4a6cb99b71c
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/EDID          385239effe097b74633c29128813d4a6cb99b71c
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Position/X    0
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Position/Y    0
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Primary       false
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Reflection    0
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/RefreshRate   59.950550
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Resolution    2560x1440
/a80c114b824adf5e69236c1f587b06787109379d/HDMI1/Rotation      0
/ActiveProfile                                                9256936bb80f62f540743816b2b8df58568eeaf9
/AutoEnableProfiles                                           true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00                     Extend Top
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1               Laptop
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1                Laptop
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Active        true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Active         true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/EDID          559e49b24c97329f409e92d0b76715dff5899252
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/EDID           559e49b24c97329f409e92d0b76715dff5899252
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Position/X    869
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Position/X     643
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Position/Y    2160
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Position/Y     1727
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Primary       false
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Primary        true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Reflection    0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Reflection     0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/RefreshRate   60.011884
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/RefreshRate    60.011884
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Resolution    1920x1080
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Resolution     1920x1080
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Rotation      0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Rotation       0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Scale/X       1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Scale/X        1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP-1/Scale/Y       1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/eDP1/Scale/Y        1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1              Philips Consumer Electronics Company 27"
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1               Philips Consumer Electronics Company 27"
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Active       true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Active        true
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/EDID         385239effe097b74633c29128813d4a6cb99b71c
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/EDID          385239effe097b74633c29128813d4a6cb99b71c
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Position/X   0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Position/X    0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Position/Y   0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Position/Y    0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Primary      false
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Primary       false
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Reflection   0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Reflection    0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/RefreshRate  30.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/RefreshRate   30.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Resolution   3840x2160
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Resolution    3840x2160
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Rotation     0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Rotation      0
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Scale/X      1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Scale/X       0.799988
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI-1/Scale/Y      1.000000
/cae0435c41e816c24f0838fdf4e76c044c8b4e00/HDMI1/Scale/Y       0.799988
/Default/eDP-1                                                Laptop
/Default/eDP1                                                 Laptop
/Default/eDP-1/Active                                         true
/Default/eDP1/Active                                          true
/Default/eDP-1/EDID                                           559e49b24c97329f409e92d0b76715dff5899252
/Default/eDP1/EDID                                            559e49b24c97329f409e92d0b76715dff5899252
/Default/eDP-1/Position/X                                     0
/Default/eDP1/Position/X                                      0
/Default/eDP-1/Position/Y                                     0
/Default/eDP1/Position/Y                                      0
/Default/eDP-1/Primary                                        false
/Default/eDP1/Primary                                         true
/Default/eDP-1/Reflection                                     0
/Default/eDP1/Reflection                                      0
/Default/eDP-1/RefreshRate                                    60.011884
/Default/eDP1/RefreshRate                                     60.011884
/Default/eDP-1/Resolution                                     1920x1080
/Default/eDP1/Resolution                                      1920x1080
/Default/eDP-1/Rotation                                       0
/Default/eDP1/Rotation                                        0
/Default/eDP-1/Scale/X                                        1.000000
/Default/eDP1/Scale/X                                         1.000000
/Default/eDP-1/Scale/Y                                        1.000000
/Default/eDP1/Scale/Y                                         1.000000
/Default/HDMI-1                                               Philips Consumer Electronics Company 27"
/Default/HDMI1                                                Philips Consumer Electronics Company 27"
/Default/HDMI-1/Active                                        true
/Default/HDMI1/Active                                         true
/Default/HDMI-1/EDID                                          385239effe097b74633c29128813d4a6cb99b71c
/Default/HDMI1/EDID                                           385239effe097b74633c29128813d4a6cb99b71c
/Default/HDMI-1/Position/X                                    0
/Default/HDMI1/Position/X                                     0
/Default/HDMI-1/Position/Y                                    0
/Default/HDMI1/Position/Y                                     0
/Default/HDMI-1/Primary                                       false
/Default/HDMI1/Primary                                        false
/Default/HDMI-1/Reflection                                    0
/Default/HDMI1/Reflection                                     0
/Default/HDMI-1/RefreshRate                                   59.950550
/Default/HDMI1/RefreshRate                                    59.950550
/Default/HDMI-1/Resolution                                    2560x1440
/Default/HDMI1/Resolution                                     2560x1440
/Default/HDMI-1/Rotation                                      0
/Default/HDMI1/Rotation                                       0
/Default/HDMI-1/Scale/X                                       1.000000
/Default/HDMI1/Scale/X                                        1.000000
/Default/HDMI-1/Scale/Y                                       1.000000
/Default/HDMI1/Scale/Y                                        1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9                     Top High Res
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1               Laptop
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1                Laptop
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Active        true
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Active         true
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/EDID          559e49b24c97329f409e92d0b76715dff5899252
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/EDID           559e49b24c97329f409e92d0b76715dff5899252
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Position/X    292
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Position/X     298
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Position/Y    1440
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Position/Y     1440
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Primary       false
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Primary        false
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Reflection    0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Reflection     0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/RefreshRate   60.011884
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/RefreshRate    60.011884
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Resolution    1920x1080
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Resolution     1920x1080
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Rotation      0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Rotation       0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Scale/X       1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Scale/X        1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP-1/Scale/Y       1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/eDP1/Scale/Y        1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1              Philips Consumer Electronics Company 27"
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1               Philips Consumer Electronics Company 27"
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Active       true
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Active        true
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/EDID         385239effe097b74633c29128813d4a6cb99b71c
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/EDID          385239effe097b74633c29128813d4a6cb99b71c
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Position/X   0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Position/X    0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Position/Y   0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Position/Y    0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Primary      false
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Primary       false
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Reflection   0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Reflection    0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/RefreshRate  59.950550
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/RefreshRate   59.950550
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Resolution   2560x1440
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Resolution    2560x1440
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Rotation     0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Rotation      0
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Scale/X      1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Scale/X       1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI-1/Scale/Y      1.000000
/e2daf9ef2f2d76812726d89a0551308c83051bb9/HDMI1/Scale/Y       1.000000
/Fallback/eDP-1                                               Laptop
/Fallback/eDP1                                                Laptop
/Fallback/eDP-1/Active                                        true
/Fallback/eDP1/Active                                         true
/Fallback/eDP-1/EDID                                          559e49b24c97329f409e92d0b76715dff5899252
/Fallback/eDP1/EDID                                           559e49b24c97329f409e92d0b76715dff5899252
/Fallback/eDP-1/Position/X                                    0
/Fallback/eDP1/Position/X                                     0
/Fallback/eDP-1/Position/Y                                    0
/Fallback/eDP1/Position/Y                                     0
/Fallback/eDP-1/Primary                                       false
/Fallback/eDP1/Primary                                        true
/Fallback/eDP-1/Reflection                                    0
/Fallback/eDP1/Reflection                                     0
/Fallback/eDP-1/RefreshRate                                   60.011884
/Fallback/eDP1/RefreshRate                                    60.011884
/Fallback/eDP-1/Resolution                                    1920x1080
/Fallback/eDP1/Resolution                                     1920x1080
/Fallback/eDP-1/Rotation                                      0
/Fallback/eDP1/Rotation                                       0
/Fallback/eDP-1/Scale/X                                       1.000000
/Fallback/eDP1/Scale/X                                        1.000000
/Fallback/eDP-1/Scale/Y                                       1.000000
/Fallback/eDP1/Scale/Y                                        1.000000
/Fallback/HDMI-1                                              Philips Consumer Electronics Company 27"
/Fallback/HDMI1                                               Philips Consumer Electronics Company 27"
/Fallback/HDMI-1/Active                                       true
/Fallback/HDMI1/Active                                        true
/Fallback/HDMI-1/EDID                                         385239effe097b74633c29128813d4a6cb99b71c
/Fallback/HDMI1/EDID                                          385239effe097b74633c29128813d4a6cb99b71c
/Fallback/HDMI-1/Position/X                                   0
/Fallback/HDMI1/Position/X                                    0
/Fallback/HDMI-1/Position/Y                                   0
/Fallback/HDMI1/Position/Y                                    0
/Fallback/HDMI-1/Primary                                      false
/Fallback/HDMI1/Primary                                       false
/Fallback/HDMI-1/Reflection                                   0
/Fallback/HDMI1/Reflection                                    0
/Fallback/HDMI-1/RefreshRate                                  59.950550
/Fallback/HDMI1/RefreshRate                                   59.950550
/Fallback/HDMI-1/Resolution                                   2560x1440
/Fallback/HDMI1/Resolution                                    2560x1440
/Fallback/HDMI-1/Rotation                                     0
/Fallback/HDMI1/Rotation                                      0
/Fallback/HDMI-1/Scale/X                                      1.000000
/Fallback/HDMI1/Scale/X                                       1.000000
/Fallback/HDMI-1/Scale/Y                                      1.000000
/Fallback/HDMI1/Scale/Y                                       1.000000
/IdentityPopups                                               false
/Notify                                                       true

Offline

#6 2022-11-14 19:57:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

Do you see the following options when clicking on the "i" icon next to the Primary Display switch as shown in this image:
https://simon.shimmerproject.org/wp-content/uploads/2018/11/display_settings_primary.png

Offline

#7 2022-11-14 20:11:57

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

Yes, just as it is above with a check-mark next to each one.

Offline

#8 2022-11-15 01:27:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

Click on the word "Configure" next to Xfce4-panel and the panel properties dialog will display. What is "Output" set to?

Offline

#9 2022-11-15 13:13:58

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

Output is set to "Primary".

Offline

#10 2022-11-15 23:23:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

I'm at a loss. This should work. I attached an HDMI-based monitor to my notebook, set it above the laptop display, and depending on which monitor was set as primary, the programs launched there and the panel displayed there.

Can you create a secondary test account and see if you can replicate it there (with a clean config)?

Offline

#11 2022-11-16 22:40:13

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

OK...
1. Created a new profile with external monitor on top - still same issue open and new windows jump to ext.
2. Changed to have ext monitor on right - worked as expected, open and new windows stay on primary
3. Created a new user and configured external monitor on top - work as expected, open and new windows stay on primary.

So, what config do I need to delete?

Last edited by Gotit (2022-11-20 20:04:43)

Offline

#12 2022-11-16 23:51:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

While not logged in to Xfce (also make sure that xfconfd is not running) and rename the displays.xml file located at ~/.config/xfce/xfconf/xfce-prechannel-xml/. When you log back into Xfce it will recreate that file. Then test again. Note: your existing display profiles will no longer exist and you will need to re-create them.

Offline

#13 2022-11-17 22:41:05

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

Wasn't sure how to do this:

While not logged in to Xfce (also make sure that xfconfd is not running)

So, booted off a live USB and renamed displays.xml
Re-booted, attached ext monitor, and configured to be on top... no good.
Open windows (and conky) still jump to ext. monitor on plug-in.
Interestingly, some new windows open on ext monitor and some on laptop.
When one opens on ext monitor, I bring it laptop, close/re-open and it opens on laptop.

Here's what I have in my displays.xml:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="displays" version="1.0">
  <property name="ActiveProfile" type="string" value="2985d98e941265658261de9181874435ee82b8e0"/>
  <property name="Default" type="empty">
    <property name="eDP1" type="string" value="Laptop">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="559e49b24c97329f409e92d0b76715dff5899252"/>
      <property name="Resolution" type="string" value="1920x1080"/>
      <property name="RefreshRate" type="double" value="60.011884"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="true"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="305"/>
        <property name="Y" type="int" value="1440"/>
      </property>
    </property>
    <property name="HDMI1" type="string" value="Philips Consumer Electronics Company 27&quot;">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="385239effe097b74633c29128813d4a6cb99b71c"/>
      <property name="Resolution" type="string" value="2560x1440"/>
      <property name="RefreshRate" type="double" value="59.950550"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
  <property name="Fallback" type="empty">
    <property name="eDP1" type="string" value="Laptop">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="559e49b24c97329f409e92d0b76715dff5899252"/>
      <property name="Resolution" type="string" value="1920x1080"/>
      <property name="RefreshRate" type="double" value="60.011884"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="true"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="305"/>
        <property name="Y" type="int" value="1440"/>
      </property>
    </property>
    <property name="HDMI1" type="string" value="Philips Consumer Electronics Company 27&quot;">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="385239effe097b74633c29128813d4a6cb99b71c"/>
      <property name="Resolution" type="string" value="2560x1440"/>
      <property name="RefreshRate" type="double" value="59.950550"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
  <property name="Notify" type="bool" value="true"/>
  <property name="AutoEnableProfiles" type="bool" value="true"/>
  <property name="2985d98e941265658261de9181874435ee82b8e0" type="string" value="Ext. on Top">
    <property name="eDP1" type="string" value="Laptop">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="559e49b24c97329f409e92d0b76715dff5899252"/>
      <property name="Resolution" type="string" value="1920x1080"/>
      <property name="RefreshRate" type="double" value="60.011884"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="true"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="305"/>
        <property name="Y" type="int" value="1440"/>
      </property>
    </property>
    <property name="HDMI1" type="string" value="Philips Consumer Electronics Company 27&quot;">
      <property name="Active" type="bool" value="true"/>
      <property name="EDID" type="string" value="385239effe097b74633c29128813d4a6cb99b71c"/>
      <property name="Resolution" type="string" value="2560x1440"/>
      <property name="RefreshRate" type="double" value="59.950550"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Scale" type="empty">
        <property name="X" type="double" value="1.000000"/>
        <property name="Y" type="double" value="1.000000"/>
      </property>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
</channel>

Offline

#14 2022-11-18 02:16:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

So to summarize, it works fine with the new test account you created, but not with your current account, even after you've re-created the displays.xml file.

Lets look at your window manager settings:

xfconf-query -c xfwm4 -lv

Also, on a fresh login, lets see what processes are running:

ps -ef | grep $USER

Offline

#15 2022-11-20 20:38:51

Gotit
Member
Registered: 2019-01-08
Posts: 37

Re: Applications Jump to Second Monitor When Attached

So, I was wrong about the new user having different behaviour and corrected post above.

$ xfconf-query -c xfwm4 -lv
/general/activate_action                 bring
/general/borderless_maximize             true
/general/box_move                        false
/general/box_resize                      false
/general/button_layout                   O|HMC
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  true
/general/cycle_apps_only                 false
/general/cycle_draw_frame                true
/general/cycle_hidden                    true
/general/cycle_minimized                 false
/general/cycle_minimum                   true
/general/cycle_preview                   true
/general/cycle_raise                     false
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Alt
/general/focus_delay                     250
/general/focus_hint                      true
/general/focus_new                       true
/general/frame_border_top                0
/general/frame_opacity                   100
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                100
/general/maximized_offset                0
/general/mousewheel_rollup               true
/general/move_opacity                    100
/general/placement_mode                  mouse
/general/placement_ratio                 23
/general/popup_opacity                   100
/general/prevent_focus_stealing          true
/general/raise_delay                     250
/general/raise_on_click                  true
/general/raise_on_focus                  false
/general/raise_with_any_button           true
/general/repeat_urgent_blink             false
/general/resize_opacity                  100
/general/restore_on_move                 true
/general/scroll_workspaces               false
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                true
/general/show_frame_shadow               true
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  true
/general/snap_to_windows                 false
/general/snap_width                      30
/general/sync_to_vblank                  true
/general/theme                           Keramik
/general/tile_on_move                    true
/general/title_alignment                 center
/general/title_font                      Cantarell 10
/general/title_horizontal_offset         0
/general/titleless_maximize              false
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/toggle_workspaces               false
/general/unredirect_overlays             true
/general/urgent_blink                    false
/general/use_compositing                 true
/general/vblank_mode                     auto
/general/workspace_count                 2
/general/workspace_names                 <<UNSUPPORTED>>
/general/wrap_cycle                      true
/general/wrap_layout                     true
/general/wrap_resistance                 10
/general/wrap_windows                    true
/general/wrap_workspaces                 false
/general/zoom_desktop                    true
/general/zoom_pointer                    true
$ ps -ef | grep $USER
gotit        691       1  0 14:37 ?        00:00:00 /usr/lib/systemd/systemd --user
gotit        692     691  0 14:37 ?        00:00:00 (sd-pam)
gotit        699     691  0 14:37 ?        00:00:00 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1002/keyring
gotit        703     691  0 14:37 ?        00:00:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
gotit        722     691  0 14:37 ?        00:00:00 /usr/lib/gvfsd
gotit        727     691  0 14:37 ?        00:00:00 /usr/lib/gvfsd-fuse /run/user/1002/gvfs -f
gotit        734     691  0 14:37 ?        00:00:00 /usr/lib/at-spi-bus-launcher
gotit        740     734  0 14:37 ?        00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1002/at-spi/bus_0
gotit        742     691  0 14:37 ?        00:00:00 /usr/lib/xfce4/xfconf/xfconfd
gotit       1076       1  0 14:37 ?        00:00:00 /usr/bin/python3 /usr/share/system-config-printer/applet.py
gotit       1089       1  0 14:37 ?        00:00:00 /usr/lib/geoclue-2.0/demos/agent
gotit       1125     691  0 14:37 ?        00:00:00 /usr/bin/zeitgeist-daemon
gotit       1187     691  0 14:37 ?        00:00:00 /usr/lib/gvfs-udisks2-volume-monitor
gotit       1250     691  0 14:37 ?        00:00:00 zeitgeist-datahub
gotit       1258     691  0 14:37 ?        00:00:00 /usr/lib/zeitgeist/zeitgeist-fts
gotit       1284     691  0 14:37 ?        00:00:00 /usr/lib/gvfs-goa-volume-monitor
gotit       1301     691  0 14:37 ?        00:00:00 /usr/lib/goa-daemon
gotit       1314     691  0 14:37 ?        00:00:00 /usr/lib/goa-identity-service
gotit       1319     691  0 14:37 ?        00:00:00 /usr/lib/gvfs-mtp-volume-monitor
gotit       1324     691  0 14:37 ?        00:00:00 /usr/lib/gvfs-gphoto2-volume-monitor
gotit       1335     722  0 14:37 ?        00:00:00 /usr/lib/gvfsd-trash --spawner :1.6 /org/gtk/gvfs/exec_spaw/0
gotit       1347     691  0 14:37 ?        00:00:00 /usr/lib/bluetooth/obexd
gotit       1377     691  0 14:37 ?        00:00:00 /usr/lib/gvfsd-metadata
gotit       3250    3240  0 14:58 ?        00:00:00 xfce4-session
gotit       3269     691  0 14:58 ?        00:00:00 /usr/lib/at-spi2-registryd --use-gnome-session
gotit       3271     691  0 14:58 ?        00:00:00 /usr/bin/xfce4-screensaver
gotit       3279       1  0 14:58 ?        00:00:00 /usr/bin/ssh-agent -s
gotit       3286     691  0 14:58 ?        00:00:00 /usr/bin/gpg-agent --supervised
gotit       3288    3250  1 14:58 ?        00:00:00 xfwm4 --display :0.0 --sm-client-id 25aabd12e-b701-4a32-b2fd-06400acc3e81
gotit       3304    3250  0 14:58 ?        00:00:00 xfsettingsd --display :0.0 --sm-client-id 2e3abf174-7f78-4180-9214-deff02466450
gotit       3310     691  0 14:58 ?        00:00:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
gotit       3437    3310  0 14:58 ?        00:00:00 /usr/lib/pulse/gsettings-helper
gotit       3537    3250  0 14:58 ?        00:00:00 xfce4-panel --display :0.0 --sm-client-id 2342657cc-3444-43d3-81bf-ec095bf22a81
gotit       3551    3537  0 14:58 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 8 16777227 whiskermenu Whisker Menu Show a menu to easily access installed applications
gotit       3557    3537  0 14:58 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 16777229 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
gotit       3558    3537  0 14:58 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 9 16777230 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
gotit       3559    3537  0 14:58 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 2 16777231 actions Action Buttons Log out, lock or other system actions
gotit       3599    3250  0 14:58 ?        00:00:00 Thunar --sm-client-id 2bc6b31d9-6dc4-499a-8490-caaf24e86a30 --daemon
gotit       3604    3250  3 14:58 ?        00:00:01 xfdesktop --display :0.0 --sm-client-id 27d8f5a68-e7e2-41aa-9576-5e0883495b40
gotit       3607    3250  0 14:58 ?        00:00:00 xfce4-power-manager --restart --sm-client-id 2091fd8a6-6829-4994-b0ba-3545ea883a8a
gotit       3609     691  0 14:58 ?        00:00:00 /usr/lib/tumbler-1/tumblerd
gotit       3618    3250  0 14:58 ?        00:00:00 bash -c sleep 120 && mono /opt/duplicati-latest/Duplicati.GUI.TrayIcon.exe
gotit       3619    3250  3 14:58 ?        00:00:02 /tmp/.mount_pcloud7eyXm3/pcloud
gotit       3620    3250  3 14:58 ?        00:00:02 mono /home/gotit/KeePass/KeePass.exe
gotit       3622    3618  0 14:58 ?        00:00:00 sleep 120
gotit       3626    3250  0 14:58 ?        00:00:00 /usr/bin/redshift -c /home/gotit/.config/redshift/groton.conf
gotit       3627    3250  2 14:58 ?        00:00:01 artha
gotit       3628    3250  0 14:58 ?        00:00:00 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
gotit       3632    3250  1 14:58 ?        00:00:00 /usr/bin/python /usr/bin/blueman-applet
gotit       3634    3250  0 14:58 ?        00:00:00 pamac-tray
gotit       3640    3250  0 14:58 ?        00:00:00 /usr/lib/geoclue-2.0/demos/agent
gotit       3643    3250  0 14:58 ?        00:00:00 nm-applet
gotit       3646    3250  0 14:58 ?        00:00:00 /usr/lib/xfce4/notifyd/xfce4-notifyd
gotit       3659    3250  0 14:58 ?        00:00:00 xiccd
gotit       3685       1  0 14:58 ?        00:00:00 conky
gotit       3807       1  0 14:58 ?        00:00:00 /usr/bin/python /usr/bin/blueman-tray
gotit       3848       1  2 14:58 ?        00:00:00 /usr/bin/pcloud
gotit       3861    3619  0 14:58 ?        00:00:00 /tmp/.mount_pcloud7eyXm3/pcloud --type=zygote --no-sandbox
root        3999    3619  0 14:59 ?        00:00:00 fusermount -o rw,nosuid,nodev,auto_unmount,fsname=pCloud.fs -- /home/gotit/pCloudDrive
gotit       4012    3861  0 14:59 ?        00:00:00 /tmp/.mount_pcloud7eyXm3/pcloud --type=renderer --no-sandbox --disable-gpu-compositing --service-pipe-token=78BB9A3F83EE965A6639BBBEB494F082 --lang=en-US --app-path=/tmp/.mount_pcloud7eyXm3/resources/app --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=78BB9A3F83EE965A6639BBBEB494F082 --renderer-client-id=7 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
gotit       4076       1  0 14:59 ?        00:00:00 /usr/bin/xfce4-terminal
gotit       4101    4076  0 14:59 pts/0    00:00:00 bash
gotit       4109    4101  0 14:59 pts/0    00:00:00 ps -ef
gotit       4110    4101  0 14:59 pts/0    00:00:00 grep gotit

Also, I did a little more careful recording of behaviour

Saved profile of Laptop as primary set to bottom, external monitor set to top

  1. Plug in external monitor via HDMI, open windows on the laptop jump to external monitor

  2. Open a new window

    1. Spreadsheet/text opens on screen where last used, if available (I think this is expected behaviour, and explains why new apps open on external monitor as that's likely where last used)

    2. App (browser) opens on screen where last closed, if available (I think this is expected behaviour, and explains why new apps open on external monitor as that's likely where last used)

  3. Unplug external monitor HDMI

    1. Open windows on external monitor jump to laptop and are mostly visible

    2. Open windows on laptop get shifted far down, with only title bar visible at the bottom of the screen.  Need to drag the windows up from the bottom of the laptop screen to see content.  It’s like everything is shifting down one screen, but there’s no screen below the laptop.

    3. Minimized windows from the laptop, when opened, are shifted far down with only the title bar displaying at the bottom of the screen

           
       
Saved profile of Laptop as primary set to left, external monitor set to right

  1. Plug in external monitor via HDMI, open windows move up a bit but remain on laptop

    1. Open windows on the laptop move up a bit but remain visible on laptop

  2. Open a new window

    1. Spreadsheet/text opens on screen where last saved

    2. App (Browser) opens on screen where last closed

  3. Unplug external monitor HDMI

    1. Open windows on external monitor jump to laptop, but are shifted far right, with only 1/4 inch of the window's right side showing.  Need to drag the windows left to see content[/]

    2. Minimized windows from external monitor, when opened, are shifted far right, with only 1/4 inch of the window's right side showing.  Need to drag the windows left to see content

    3. Open windows on laptop move down a bit but remain visible on laptop

I did the same tests on a live USB with Endveavour OS, and the only difference is, when opening an app or document, it always opened on the laptop screen.

Offline

#16 2022-11-20 21:25:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Applications Jump to Second Monitor When Attached

I'm still at a loss to explain why this is happening on your system. I can not replicate it on mine and it doesn't make sense. I would suggest creating a bug report to see if one of the developers can have a closer look.

Offline

Board footer

Powered by FluxBB