Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-03-29 02:41:25

JayM
Member
Registered: 2020-01-08
Posts: 14

[SOLVED] Display Settings launches when monitor wakes from sleep

I rebuilt my computer with a new motherboard, processor and RAM then I reinstalled my OS, MX-Linux 19.3 AHS, from a personal snapshot I'd made on my old system. Ever since, whenever the monitor shuts off from being idle then comes back on, or if I turn the monitor off and on, the Display Settings window launches by itself. However when I created a new user and logged in as it the issue doesn't happen so it must be something specific to my user settings, but I didn't change any settings regarding the display. Can you tell me what I should look for? Thanks.

System info:

Snapshot created on: 20210316_1122
System:    Host: <filter> Kernel: 5.10.0-4mx-amd64 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-4mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.3_ahs_x64 patito feo May 31  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Desktop Mobo: ASUSTeK model: TUF B450M-PRO GAMING v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 3002 date: 03/11/2021 
CPU:       Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 
           family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
           bogomips: 114986 
           Speed: 2194 MHz min/max: 2200/5224 MHz boost: enabled Core speeds (MHz): 1: 2011 
           2: 2017 3: 2720 4: 1945 5: 2195 6: 2195 7: 2194 8: 2196 9: 2560 10: 2009 11: 2193 
           12: 2196 13: 2196 14: 2197 15: 2003 16: 1951 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Baffin [Radeon RX 460] driver: amdgpu v: kernel bus ID: 06:00.0 
           chip ID: 1002:67ef 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: 
           renderer: Radeon RX 560 Series (POLARIS11 DRM 3.40.0 5.10.0-4mx-amd64 LLVM 10.0.0) 
           v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:     Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] 
           driver: snd_hda_intel v: kernel bus ID: 06:00.1 chip ID: 1002:aae0 
           Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 08:00.4 chip ID: 1022:1487 
           Sound Server: ALSA v: k5.10.0-4mx-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
           driver: r8169 v: kernel port: f000 bus ID: 04:00.0 chip ID: 10ec:8168 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 4.12 TiB used: 191.46 GiB (4.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WDS500G2B0A size: 465.76 GiB 
           block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 90WD 
           scheme: GPT 
           ID-2: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB block size: 
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5425 rpm serial: <filter> 
           rev: 0001 
           ID-3: /dev/sdc type: USB vendor: SanDisk model: USB 3.2Gen1 size: 28.65 GiB 
           block size: physical: 512 B logical: 512 B serial: <filter> rev: 1.00 scheme: GPT 
Partition: ID-1: / raw size: 462.96 GiB size: 454.70 GiB (98.21%) used: 191.29 GiB (42.1%) 
           fs: ext4 dev: /dev/dm-0 
           ID-2: /boot raw size: 512.0 MiB size: 487.9 MiB (95.30%) used: 179.6 MiB (36.8%) 
           fs: ext4 dev: /dev/sda2 
           ID-3: swap-1 size: 1.98 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
           cache pressure: 100 (default) dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 43.2 C mobo: 40.0 C gpu: amdgpu temp: 45 C 
           Fan Speeds (RPM): cpu: 1155 fan-2: 902 fan-3: 1171 
           Voltages: 12v: N/A 5v: N/A 3.3v: 3.36 vbat: 3.29 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ buster main non-free
           2: deb http://mxrepo.com/mx/repo/ buster ahs
           Active apt repos in: /etc/apt/sources.list.d/slack.list 
           1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 366 Uptime: 47m Memory: 31.34 GiB used: 2.10 GiB (6.7%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 

Last edited by JayM (2021-03-31 02:50:13)

Offline

#2 2021-03-29 02:51:51

JayM
Member
Registered: 2020-01-08
Posts: 14

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

BTW it's the main display settings screen that pops up, not the minimal one where you configure multiple monitors. I only have one monitor connected anyway.

I just looked at ~/.xsession-errors and I'm finding this:

(xfdesktop:8240): GLib-CRITICAL **: 10:56:00.579: g_base64_encode_step: assertion 'in != NULL' failed
conky: statfs64 '/media/jay/Data': No such file or directory

(xfdesktop:8240): GLib-CRITICAL **: 10:56:04.561: g_base64_encode_step: assertion 'in != NULL' failed

(xfdesktop:8240): GLib-CRITICAL **: 10:56:05.739: g_base64_encode_step: assertion 'in != NULL' failed
conky: statfs64 '/media/jay/Data': No such file or directory
libpager-Message: 10:56:21.295: Setting the pager rows returned false. Maybe the setting is not applied.
libpager-Message: 10:56:21.299: Setting the pager rows returned false. Maybe the setting is not applied.
[03/29/21, 10:56:21:303] info: Store: DISPLAY_REMOVED  
[03/29/21, 10:56:21:303] info: Store: DISPLAY_ADDED  
libpager-Message: 10:56:21.348: Setting the pager rows returned false. Maybe the setting is not applied.
libpager-Message: 10:56:21.349: Setting the pager rows returned false. Maybe the setting is not applied.
libpager-Message: 10:56:25.452: Setting the pager rows returned false. Maybe the setting is not applied.
libpager-Message: 10:56:25.483: Setting the pager rows returned false. Maybe the setting is not applied.
[03/29/21, 10:56:25:485] info: Store: DISPLAY_REMOVED  
[03/29/21, 10:56:25:485] info: Store: DISPLAY_ADDED  

Last edited by JayM (2021-03-29 03:01:30)

Offline

#3 2021-03-29 11:10:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,070

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

[03/29/21, 10:56:25:485] info: Store: DISPLAY_REMOVED 
[03/29/21, 10:56:25:485] info: Store: DISPLAY_ADDED

I wonder which application/process is generating this? Do you get the same message on your second user account?

Can you post back your keyboard shortcuts?

xfconf-query -c xfce4-keyboard-shortcuts -lv

I've seen an instance before where a newly detected monitor (on resume from suspend in this case) was emitting and Xorg DISPLAY event (never did find out why) and there was a keyboard shortcut set to respond to the event. Looks like this might be happening here. In which case, a workaround is to delete that keyboard shortcut.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2021-03-29 13:50:45

JayM
Member
Registered: 2020-01-08
Posts: 14

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

My new user account gets the libpager messages in .xsession-errors but not the DISPLAY_REMOVED and DISPLAY_ADDED ones.

I saw the other thread about the person whose Display Settings would launch every 30 seconds or so and I looked at my Settings -> Keyboard, Application Shortcuts tab and didn't see the shortcut you suggested he delete, but

$ xfconf-query -c xfce4-keyboard-shortcuts -lv
/commands/custom/<Alt>F1                   mx-manual
/commands/custom/<Alt>F2                   xfce4-appfinder --collapsed
/commands/custom/<Alt>F3                   xfce4-appfinder
/commands/custom/override                  true
/commands/custom/<Primary><Alt>Delete      xflock4
/commands/custom/<Primary><Alt>Escape      xkill
/commands/custom/<Primary><Alt>h           xfce4-terminal && /usr/bin/htop
/commands/custom/<Primary><Alt>t           xfce4-terminal
/commands/custom/<Primary>m                xfce4-find-cursor
/commands/custom/Print                     xfce4-screenshooter
/commands/custom/Super_L                   xfce4-popup-whiskermenu
/commands/custom/<Super>p                  xfce4-display-settings --minimal
/commands/custom/XF86Mail                  exo-open --launch MailReader
/commands/custom/XF86WWW                   exo-open --launch WebBrowser
/commands/default/<Alt>F1                  xfce4-popup-applicationsmenu
/commands/default/<Alt>F2                  xfce4-appfinder --collapsed
/commands/default/<Alt>F2/startup-notify   true
/commands/default/<Alt>F3                  xfce4-appfinder
/commands/default/<Alt>F3/startup-notify   true
/commands/default/<Primary><Alt>Delete     xflock4
/commands/default/<Primary><Alt>l          xflock4
/commands/default/<Primary><Alt>t          exo-open --launch TerminalEmulator
/commands/default/<Primary>Escape          xfdesktop --menu
/commands/default/Print                    xfce4-screenshooter
/commands/default/<Super>p                 xfce4-display-settings --minimal
/commands/default/XF86Display              xfce4-display-settings --minimal
/commands/default/XF86Mail                 exo-open --launch MailReader
/commands/default/XF86WWW                  exo-open --launch WebBrowser
/providers                                 <<UNSUPPORTED>>
/xfwm4/custom/<Alt><Control>End            move_window_next_workspace_key
/xfwm4/custom/<Alt><Control>Home           move_window_prev_workspace_key
/xfwm4/custom/<Alt><Control>KP_1           move_window_workspace_1_key
/xfwm4/custom/<Alt><Control>KP_2           move_window_workspace_2_key
/xfwm4/custom/<Alt><Control>KP_3           move_window_workspace_3_key
/xfwm4/custom/<Alt><Control>KP_4           move_window_workspace_4_key
/xfwm4/custom/<Alt><Control>KP_5           move_window_workspace_5_key
/xfwm4/custom/<Alt><Control>KP_6           move_window_workspace_6_key
/xfwm4/custom/<Alt><Control>KP_7           move_window_workspace_7_key
/xfwm4/custom/<Alt><Control>KP_8           move_window_workspace_8_key
/xfwm4/custom/<Alt><Control>KP_9           move_window_workspace_9_key
/xfwm4/custom/<Alt>Delete                  del_workspace_key
/xfwm4/custom/<Alt>F10                     maximize_window_key
/xfwm4/custom/<Alt>F11                     fullscreen_key
/xfwm4/custom/<Alt>F12                     above_key
/xfwm4/custom/<Alt>F4                      close_window_key
/xfwm4/custom/<Alt>F6                      stick_window_key
/xfwm4/custom/<Alt>F7                      move_window_key
/xfwm4/custom/<Alt>F8                      resize_window_key
/xfwm4/custom/<Alt>F9                      hide_window_key
/xfwm4/custom/<Alt>Insert                  add_workspace_key
/xfwm4/custom/<Alt><Shift>Tab              cycle_reverse_windows_key
/xfwm4/custom/<Alt>space                   popup_menu_key
/xfwm4/custom/<Alt>Tab                     cycle_windows_key
/xfwm4/custom/<Control><Alt>d              show_desktop_key
/xfwm4/custom/<Control><Alt>Down           down_workspace_key
/xfwm4/custom/<Control><Alt>Left           left_workspace_key
/xfwm4/custom/<Control><Alt>Right          right_workspace_key
/xfwm4/custom/<Control><Alt>Up             up_workspace_key
/xfwm4/custom/<Control>F1                  workspace_1_key
/xfwm4/custom/<Control>F10                 workspace_10_key
/xfwm4/custom/<Control>F11                 workspace_11_key
/xfwm4/custom/<Control>F12                 workspace_12_key
/xfwm4/custom/<Control>F2                  workspace_2_key
/xfwm4/custom/<Control>F3                  workspace_3_key
/xfwm4/custom/<Control>F4                  workspace_4_key
/xfwm4/custom/<Control>F5                  workspace_5_key
/xfwm4/custom/<Control>F6                  workspace_6_key
/xfwm4/custom/<Control>F7                  workspace_7_key
/xfwm4/custom/<Control>F8                  workspace_8_key
/xfwm4/custom/<Control>F9                  workspace_9_key
/xfwm4/custom/<Control><Shift><Alt>Left    move_window_left_key
/xfwm4/custom/<Control><Shift><Alt>Right   move_window_right_key
/xfwm4/custom/<Control><Shift><Alt>Up      move_window_up_key
/xfwm4/custom/Down                         down_key
/xfwm4/custom/Escape                       cancel_key
/xfwm4/custom/Left                         left_key
/xfwm4/custom/override                     true
/xfwm4/custom/Right                        right_key
/xfwm4/custom/<Shift><Alt>Page_Down        lower_window_key
/xfwm4/custom/<Shift><Alt>Page_Up          raise_window_key
/xfwm4/custom/<Super>Tab                   switch_window_key
/xfwm4/custom/Up                           up_key
/xfwm4/default/<Alt>Delete                 del_workspace_key
/xfwm4/default/<Alt>F10                    maximize_window_key
/xfwm4/default/<Alt>F11                    fullscreen_key
/xfwm4/default/<Alt>F12                    above_key
/xfwm4/default/<Alt>F4                     close_window_key
/xfwm4/default/<Alt>F6                     stick_window_key
/xfwm4/default/<Alt>F7                     move_window_key
/xfwm4/default/<Alt>F8                     resize_window_key
/xfwm4/default/<Alt>F9                     hide_window_key
/xfwm4/default/<Alt>Insert                 add_workspace_key
/xfwm4/default/<Alt><Shift>Tab             cycle_reverse_windows_key
/xfwm4/default/<Alt>space                  popup_menu_key
/xfwm4/default/<Alt>Tab                    cycle_windows_key
/xfwm4/default/Down                        down_key
/xfwm4/default/Escape                      cancel_key
/xfwm4/default/Left                        left_key
/xfwm4/default/<Primary><Alt>d             show_desktop_key
/xfwm4/default/<Primary><Alt>Down          down_workspace_key
/xfwm4/default/<Primary><Alt>End           move_window_next_workspace_key
/xfwm4/default/<Primary><Alt>Home          move_window_prev_workspace_key
/xfwm4/default/<Primary><Alt>KP_1          move_window_workspace_1_key
/xfwm4/default/<Primary><Alt>KP_2          move_window_workspace_2_key
/xfwm4/default/<Primary><Alt>KP_3          move_window_workspace_3_key
/xfwm4/default/<Primary><Alt>KP_4          move_window_workspace_4_key
/xfwm4/default/<Primary><Alt>KP_5          move_window_workspace_5_key
/xfwm4/default/<Primary><Alt>KP_6          move_window_workspace_6_key
/xfwm4/default/<Primary><Alt>KP_7          move_window_workspace_7_key
/xfwm4/default/<Primary><Alt>KP_8          move_window_workspace_8_key
/xfwm4/default/<Primary><Alt>KP_9          move_window_workspace_9_key
/xfwm4/default/<Primary><Alt>Left          left_workspace_key
/xfwm4/default/<Primary><Alt>Right         right_workspace_key
/xfwm4/default/<Primary><Alt>Up            up_workspace_key
/xfwm4/default/<Primary>F1                 workspace_1_key
/xfwm4/default/<Primary>F10                workspace_10_key
/xfwm4/default/<Primary>F11                workspace_11_key
/xfwm4/default/<Primary>F12                workspace_12_key
/xfwm4/default/<Primary>F2                 workspace_2_key
/xfwm4/default/<Primary>F3                 workspace_3_key
/xfwm4/default/<Primary>F4                 workspace_4_key
/xfwm4/default/<Primary>F5                 workspace_5_key
/xfwm4/default/<Primary>F6                 workspace_6_key
/xfwm4/default/<Primary>F7                 workspace_7_key
/xfwm4/default/<Primary>F8                 workspace_8_key
/xfwm4/default/<Primary>F9                 workspace_9_key
/xfwm4/default/<Primary><Shift><Alt>Left   move_window_left_key
/xfwm4/default/<Primary><Shift><Alt>Right  move_window_right_key
/xfwm4/default/<Primary><Shift><Alt>Up     move_window_up_key
/xfwm4/default/Right                       right_key
/xfwm4/default/<Shift><Alt>Page_Down       lower_window_key
/xfwm4/default/<Shift><Alt>Page_Up         raise_window_key
/xfwm4/default/<Super>Tab                  switch_window_key
/xfwm4/default/Up                          up_key

Catfish isn't finding any files in my home directory containing XF86Display though. (Plus like I mentioned it's not the minimal version that pops up, but the normal version you get when you run Settings -> Display from the menu.)

Offline

#5 2021-03-29 16:15:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,070

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

/commands/default/XF86Display              xfce4-display-settings --minimal

Can you change the executable command for this entry to something like "mousepad" so we can see if mousepad starts suddenly popping up? There should be an entry in your keyboard settings for this. If you need to change it manually, only do so after you've restarted and before you log in to Xfce.

Also, the "DISPLAY_REMOVED and DISPLAY_ADDED" entries are being added by something. If you could figure out by what it would be helpful. Start with the differences between the 2 autostart applications for both users.

Last edited by ToZ (2021-03-29 16:16:47)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2021-03-30 06:05:37

JayM
Member
Registered: 2020-01-08
Posts: 14

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

Re: keyboard shortcuts, I couldn't change the one entry for the Display key as my keyboard doesn't have one, so I just deleted it, logged out and in, and tested. No difference. I also temporarily changed the one for Super+p to launch Featherpad. Still no change (Featherpad didn't auto-launch when I turned my display off and on, but display settings did.)

Re: autostart apps, I compared mine to those of the new user and moved the ~/.config/autostart/*.desktop files that I have and "he" doesn't to a temp directory, one at a time, logging out/in and testing each time. No difference.

I haven't modified my .profile or .bashrc files to make them load anything either. Just in case one of the default autostart .desktop files had gotten modified I copied the new user's ones and pasted them in my directory, telling Thunar to replace all, then chowned them to me, logged out/in, tested: no difference. Hmmm...

Last edited by JayM (2021-03-30 06:34:09)

Offline

#7 2021-03-30 10:56:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,070

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

Try this.

Next time it pops up, in a terminal window run:

ps -ef | grep xfce4-display

In the result, the second number in the string is the PID of the parent window. Then run:

ps -ef | grep PID_FROM_ABOVE

...and lets see who the parent is.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2021-03-31 00:10:45

JayM
Member
Registered: 2020-01-08
Posts: 14

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

$ ps -ef | grep xfce4-display
jay      32444 26526  1 08:01 ?        00:00:00 xfce4-display-settings -m
jay      32464 32452  0 08:01 pts/2    00:00:00 grep xfce4-display

$ ps -ef | grep 32444
jay       1158 32452  0 08:05 pts/2    00:00:00 grep 32444
jay      32444 26526  0 08:01 ?        00:00:00 xfce4-display-settings -m

$ ps -ef | grep 26526
jay       1277 32452  0 08:06 pts/2    00:00:00 grep 26526
jay      26526     1  0 Mar30 ?        00:00:01 xfsettingsd
jay      32444 26526  0 08:01 ?        00:00:00 xfce4-display-settings -m

Could something be respawning the daemon? (That sounds like something from Lovecraft!)

Last edited by JayM (2021-03-31 00:11:55)

Offline

#9 2021-03-31 00:49:25

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,070

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

We're getting somewhere. It is the minimal dialog that is displaying. And it's being launched by xfsettingsd.

Looking into the code I find:

/* Start the minimal dialog according to the user preferences */             
if (changed && xfconf_channel_get_bool (helper->channel, NOTIFY_PROP, FALSE))                 
        xfce_spawn_command_line_on_screen (NULL, "xfce4-display-settings -m", FALSE,                                                   
                                                                          FALSE, NULL);

...which means its hard-coded to start when NOTIFY_PROP is enabled. You will find this on the advanced tab in the Display settings, labelled "Configure new displays when connected". Is this currently selected? If so, un-select it and see if that makes a difference.

If it does make a difference, you may need to create a profile for your current external monitor so that it isn't identified as new each time.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2021-03-31 02:49:45

JayM
Member
Registered: 2020-01-08
Posts: 14

Re: [SOLVED] Display Settings launches when monitor wakes from sleep

That solved it! I disabled display configuration and tested by turning my monitor off and on, no display settings window. I created a profile for my display, re-enabled display configuration when new displays are connected, tested again: no display settings window! Creating the profile fixed the annoyance. Thanks!

Last edited by JayM (2021-03-31 02:54:33)

Offline

Board footer

Powered by FluxBB