brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.27k stars 620 forks source link

Conky reserves space and pushes XFCE notifications to side #1111

Closed sometimes-retro closed 3 years ago

sometimes-retro commented 3 years ago

Notifications in XFCE get pushed to the side of where conky is on the screen, even after repeatedly changing .conf settings relating to the window.

Fedora 33 with XFCE 4.14

The relevant part of my .conf file (though I tweaked it a number of times, attempting to solve this issue and none of the changes helped):

conky.config = {
  alignment = 'top_right',
  background = false,
  border_width = 0.5,
  cpu_avg_samples = 4,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = true,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'Anonymous Pro:size=10',
  gap_x = 15,
  gap_y = 15,
  maximum_width = 225,
  minimum_height = 5,
  minimum_width = 5,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_colour = '000000',
  own_window_class = 'Conky',
  own_window_argb_visual = true,
  own_window_type = 'normal',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
}

Is there something I'm missing in regards to the settings relating to the window, or is this a bug?

Note: I've tried a bunch of different settings for own_window_type -- including: desktop, panel, and dock -- none of which give that space back to the notifications.

sometimes-retro commented 3 years ago

I managed to fix the problem. It had to do with XFCE not registering changes in the .conf file without actually killing the xfwm4 process and allowing it to restart.

Instructions to Fix the Issue Tested and working on Fedora 33 with XFCE 4.14

  1. Open the terminal.
  2. Kill all instances of conky: killall conky
  3. Open up the ~/.config/conky/conky.conf in a text editor and set own_window_type to dock
  4. Kill all instances of xfwm4: killall xfwm4 (the xfwm4 process should terminate and then automatically restart).
  5. Restart conky and the issue should be gone (you can go to the xfce4-settings-manager > Notifications and then click "Show Preview" to have a notification pop up to test it).