Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dunstctl history does not work #1386

Closed
hholst80 opened this issue Oct 16, 2024 · 24 comments · Fixed by #1389
Closed

dunstctl history does not work #1386

hholst80 opened this issue Oct 16, 2024 · 24 comments · Fixed by #1389

Comments

@hholst80
Copy link

root@xps ~# dunstctl count
              Waiting: 0
  Currently displayed: 0
              History: 4
root@xps ~# dunstctl history
Dunst is not running.
root@xps ~ [1]# 
root@xps ~# dunst -v
Dunst - A customizable and lightweight notification-daemon 1.11.0 (2024-04-15)
root@xps ~# 
@bynect
Copy link
Member

bynect commented Oct 16, 2024

Can you confirm if dunst is actually running? Ps aux | grep dunst

Also can you provide a 'dunst -verbosity debug' output when you ask history on another terminal (same user)?

@hholst80
Copy link
Author

hholst80 commented Oct 20, 2024

dunst is running, but dunstctl history does not trigger any output on the terminal, even with the debug verbosity level:

``` # dunst -verbosity debug DEBUG: [ load_settings:0272] Setting defaults DEBUG: [ set_setting:0441] [urgency_low] Trying to set icon to dialog-information DEBUG: [ set_setting:0441] [urgency_normal] Trying to set icon to dialog-information DEBUG: [ set_setting:0441] [urgency_critical] Trying to set icon to dialog-warning DEBUG: [ set_setting:0441] [global] Trying to set format to %s %b DEBUG: [ set_setting:0441] [global] Trying to set corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set icon_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [*] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [experimental] Trying to set per_monitor_dpi to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xinerama to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xwayland to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set font to Monospace 8 DEBUG: [ set_setting:0441] [global] Trying to set sort to true DEBUG: [string_parse_enum:0034] Setting enum to 2 (true) DEBUG: [ set_setting:0441] [global] Trying to set indicate_hidden to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set ignore_dbusclose to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set ignore_newline to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set idle_threshold to 0 DEBUG: [ set_setting:0441] [global] Trying to set monitor to 0 DEBUG: [ set_setting:0441] [global] Trying to set title to Dunst DEBUG: [ set_setting:0441] [global] Trying to set class to Dunst DEBUG: [ set_setting:0441] [global] Trying to set shrink to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set line_height to 0 DEBUG: [ set_setting:0441] [global] Trying to set show_age_threshold to 60 DEBUG: [ set_setting:0441] [global] Trying to set hide_duplicate_count to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set sticky_history to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set history_length to 20 DEBUG: [ set_setting:0441] [global] Trying to set show_indicators to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set separator_height to 2 DEBUG: [ set_setting:0441] [global] Trying to set padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set horizontal_padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set text_icon_padding to 0 DEBUG: [ set_setting:0441] [global] Trying to set transparency to 0 DEBUG: [ set_setting:0441] [global] Trying to set corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_height to 10 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_min_width to 150 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_max_width to 300 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_frame_width to 1 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set icon_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set stack_duplicates to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst DEBUG: [ set_setting:0441] [global] Trying to set browser to /usr/bin/xdg-open DEBUG: [ set_setting:0441] [global] Trying to set always_run_script to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set follow to none DEBUG: [string_parse_enum:0034] Setting enum to 0 (none) DEBUG: [ set_setting:0441] [global] Trying to set scale to 0 DEBUG: [ set_setting:0441] [global] Trying to set separator_color to frame DEBUG: [string_parse_sepcolor:0171] parsing sep_color DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame) DEBUG: [ set_setting:0441] [global] Trying to set vertical_alignment to center DEBUG: [string_parse_enum:0034] Setting enum to 1 (center) DEBUG: [ set_setting:0441] [global] Trying to set layer to overlay DEBUG: [string_parse_enum:0034] Setting enum to 3 (overlay) DEBUG: [ set_setting:0441] [global] Trying to set mouse_left_click to close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action) DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_right_click to close_all DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all) DEBUG: [ set_setting:0441] [global] Trying to set icon_theme to Adwaita DEBUG: [ set_from_string:0428] list type 3 DEBUG: [ set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ DEBUG: [ set_setting:0441] [global] Trying to set enable_recursive_icon_lookup to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set enable_posix_regex to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set frame_width to 3 DEBUG: [ set_setting:0441] [urgency_low] Trying to set background to #222222 DEBUG: [ set_setting:0441] [urgency_low] Trying to set foreground to #888888 DEBUG: [ set_setting:0441] [urgency_low] Trying to set highlight to #7f7fff DEBUG: [ set_setting:0441] [urgency_low] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [urgency_low] Trying to set timeout to 10 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set background to #285577 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set foreground to #ffffff DEBUG: [ set_setting:0441] [urgency_normal] Trying to set highlight to #1745d1 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set timeout to 10 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set background to #900000 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set foreground to #ffffff DEBUG: [ set_setting:0441] [urgency_critical] Trying to set highlight to #ff6666 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set frame_color to #ff0000 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set timeout to 0 DEBUG: [ set_setting:0441] [global] Trying to set origin to top-right DEBUG: [string_parse_enum:0034] Setting enum to 9 (top-right) DEBUG: [ set_setting:0441] [global] Trying to set width to 300 DEBUG: [ set_setting:0441] [global] Trying to set height to 300 DEBUG: [ set_setting:0441] [global] Trying to set offset to 10x50 DEBUG: [ set_from_string:0428] list type 2 DEBUG: [ set_setting:0441] [global] Trying to set notification_limit to 20 DEBUG: [ set_setting:0441] [global] Trying to set close to none DEBUG: [ set_setting:0441] [global] Trying to set close_all to none DEBUG: [ set_setting:0441] [global] Trying to set history to none DEBUG: [ set_setting:0441] [global] Trying to set context to none DEBUG: [ set_setting:0441] [global] Trying to set gap_size to 0 DEBUG: [ get_conf_files:0126] Trying config location: /root/.config/dunst/dunstrc DEBUG: [process_conf_file:0246] Reading config file '/root/.config/dunst/dunstrc' INFO: '/root/.config/dunst/dunstrc' open, fd: '3' DEBUG: [process_conf_file:0255] Loading settings DEBUG: [ save_settings:0494] Entering section [global] DEBUG: [ set_setting:0441] [global] Trying to set monitor to 0 DEBUG: [ set_setting:0441] [global] Trying to set follow to none DEBUG: [string_parse_enum:0034] Setting enum to 0 (none) DEBUG: [ set_setting:0441] [global] Trying to set width to 300 DEBUG: [ set_setting:0441] [global] Trying to set height to 300 DEBUG: [ set_setting:0441] [global] Trying to set origin to top-right DEBUG: [string_parse_enum:0034] Setting enum to 9 (top-right) DEBUG: [ set_setting:0441] [global] Trying to set offset to 10x50 DEBUG: [ set_from_string:0428] list type 2 DEBUG: [ set_setting:0441] [global] Trying to set scale to 0 DEBUG: [ set_setting:0441] [global] Trying to set notification_limit to 20 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_height to 10 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_frame_width to 1 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_min_width to 150 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_max_width to 300 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set icon_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set icon_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set indicate_hidden to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ set_setting:0441] [global] Trying to set transparency to 0 DEBUG: [ set_setting:0441] [global] Trying to set separator_height to 2 DEBUG: [ set_setting:0441] [global] Trying to set padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set horizontal_padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set text_icon_padding to 0 DEBUG: [ set_setting:0441] [global] Trying to set frame_width to 3 DEBUG: [ save_settings:0511] Adding rule 'frame_color = #aaaaaa' to special section global DEBUG: [ set_rule:0462] Creating new rule 'global' DEBUG: [ set_setting:0441] [global] Trying to set gap_size to 0 DEBUG: [ set_setting:0441] [global] Trying to set separator_color to frame DEBUG: [string_parse_sepcolor:0171] parsing sep_color DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame) DEBUG: [ set_setting:0441] [global] Trying to set sort to yes DEBUG: [string_parse_enum:0034] Setting enum to 2 (yes) DEBUG: [ set_setting:0441] [global] Trying to set font to Monospace 10 DEBUG: [ set_setting:0441] [global] Trying to set line_height to 0 DEBUG: [ save_settings:0511] Adding rule 'markup = full' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 3 (full) DEBUG: [ save_settings:0511] Adding rule 'format = %s\n%b' to special section global DEBUG: [ save_settings:0511] Adding rule 'alignment = left' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 0 (left) DEBUG: [ set_setting:0441] [global] Trying to set vertical_alignment to center DEBUG: [string_parse_enum:0034] Setting enum to 1 (center) DEBUG: [ set_setting:0441] [global] Trying to set show_age_threshold to 60 DEBUG: [ save_settings:0511] Adding rule 'ellipsize = middle' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 2 (middle) DEBUG: [ set_setting:0441] [global] Trying to set ignore_newline to no DEBUG: [string_parse_enum:0034] Setting enum to 0 (no) DEBUG: [ set_setting:0441] [global] Trying to set stack_duplicates to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set hide_duplicate_count to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set show_indicators to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ set_setting:0441] [global] Trying to set enable_recursive_icon_lookup to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set icon_theme to Adwaita DEBUG: [ set_from_string:0428] list type 3 DEBUG: [ save_settings:0511] Adding rule 'icon_position = left' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 0 (left) DEBUG: [ save_settings:0511] Adding rule 'min_icon_size = 32' to special section global DEBUG: [ save_settings:0511] Adding rule 'max_icon_size = 128' to special section global DEBUG: [ set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ DEBUG: [ set_setting:0441] [global] Trying to set sticky_history to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ set_setting:0441] [global] Trying to set history_length to 20 DEBUG: [ set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst: DEBUG: [ set_setting:0441] [global] Trying to set browser to /usr/bin/xdg-open DEBUG: [ set_setting:0441] [global] Trying to set always_run_script to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set title to Dunst DEBUG: [ set_setting:0441] [global] Trying to set class to Dunst DEBUG: [ set_setting:0441] [global] Trying to set corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set ignore_dbusclose to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xwayland to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xinerama to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set mouse_left_click to close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action) DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_right_click to close_all DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all) DEBUG: [ save_settings:0494] Entering section [experimental] DEBUG: [ set_setting:0441] [experimental] Trying to set per_monitor_dpi to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ save_settings:0494] Entering section [urgency_low] DEBUG: [ save_settings:0511] Adding rule 'background = #222222' to special section urgency_low DEBUG: [ set_rule:0462] Creating new rule 'urgency_low' DEBUG: [ save_settings:0511] Adding rule 'foreground = #888888' to special section urgency_low DEBUG: [ save_settings:0511] Adding rule 'timeout = 10' to special section urgency_low DEBUG: [ save_settings:0494] Entering section [urgency_normal] DEBUG: [ save_settings:0511] Adding rule 'background = #285577' to special section urgency_normal DEBUG: [ set_rule:0462] Creating new rule 'urgency_normal' DEBUG: [ save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_normal DEBUG: [ save_settings:0511] Adding rule 'timeout = 10' to special section urgency_normal DEBUG: [ save_settings:0511] Adding rule 'override_pause_level = 30' to special section urgency_normal DEBUG: [ save_settings:0494] Entering section [urgency_critical] DEBUG: [ save_settings:0511] Adding rule 'background = #900000' to special section urgency_critical DEBUG: [ set_rule:0462] Creating new rule 'urgency_critical' DEBUG: [ save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_critical DEBUG: [ save_settings:0511] Adding rule 'frame_color = #ff0000' to special section urgency_critical DEBUG: [ save_settings:0511] Adding rule 'timeout = 0' to special section urgency_critical DEBUG: [ save_settings:0511] Adding rule 'override_pause_level = 60' to special section urgency_critical DEBUG: [process_conf_file:0258] Checking/correcting settings DEBUG: [ print_rule:0167] Rule global DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame #aaaaaaff DEBUG: [ print_rule:0167] Rule urgency_low DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame (null) DEBUG: [ print_rule:0167] Rule urgency_normal DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame (null) DEBUG: [ print_rule:0167] Rule urgency_critical DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame #ff0000ff INFO: Using Wayland output DEBUG: [ handle_global:0193] Found toplevel manager 18 DEBUG: [ handle_global:0184] Found ext-idle-notify-v1 DEBUG: [ handle_global:0169] Binding to seat 36 INFO: New output found - id 0 DEBUG: [ handle_global:0172] Binding to output 42 DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) INFO: New seat found - id 36 name default DEBUG: [ wake_up:0096] Ignoring wake up DEBUG: [output_handle_name:0036] Output global 42 name eDP-1 DEBUG: [ draw_setup:0081] Trying to load font: 'Monospace 10' DEBUG: [ draw_setup:0083] Loaded closest matching font: 'Monospace' DEBUG: [ get_theme_path:0172] Theme locations: /root/.icons DEBUG: [ get_theme_path:0172] Theme locations: /root/.local/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /root/.local/share/flatpak/exports/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /var/lib/flatpak/exports/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /root/.local/share/flatpak/exports/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /var/lib/flatpak/exports/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /usr/local/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /usr/share/icons DEBUG: [ get_theme_path:0172] Theme locations: /usr/share/pixmaps DEBUG: [load_icon_theme_from_dir:0041] Loading theme /root/.icons/Adwaita DEBUG: [load_icon_theme_from_dir:0125] Theme has 1 inherited themes DEBUG: [load_icon_theme_from_dir:0138] inherits: hicolor DEBUG: [load_icon_theme_from_dir:0141] Loading inherited theme DEBUG: [load_icon_theme_from_dir:0041] Loading theme /root/.icons/hicolor INFO: Adding theme Adwaita DEBUG: [ run:0133] RUN, reason 0: DUNST_TIMER INFO: Idle status queried: 0 INFO: Wayland: Hiding window DEBUG: [ wake_up:0100] Waking up DEBUG: [ run:0133] RUN, reason 1: DUNST_WAKEUP INFO: Idle status queried: 0 INFO: Wayland: Hiding window ```

@g-regex
Copy link

g-regex commented Oct 22, 2024

I have the same problem. Same version of dunst and same symptoms. I'm also on Wayland. Here is my output of dunst -verbosity debug:

``` DEBUG: [ load_settings:0272] Setting defaults DEBUG: [ set_setting:0441] [urgency_low] Trying to set icon to dialog-information DEBUG: [ set_setting:0441] [urgency_normal] Trying to set icon to dialog-information DEBUG: [ set_setting:0441] [urgency_critical] Trying to set icon to dialog-warning DEBUG: [ set_setting:0441] [global] Trying to set format to %s %b DEBUG: [ set_setting:0441] [global] Trying to set corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [global] Trying to set icon_corners to all DEBUG: [string_parse_enum:0034] Setting enum to 15 (all) DEBUG: [ set_setting:0441] [*] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [experimental] Trying to set per_monitor_dpi to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xinerama to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xwayland to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set font to Monospace 8 DEBUG: [ set_setting:0441] [global] Trying to set sort to true DEBUG: [string_parse_enum:0034] Setting enum to 2 (true) DEBUG: [ set_setting:0441] [global] Trying to set indicate_hidden to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set ignore_dbusclose to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set ignore_newline to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set idle_threshold to 0 DEBUG: [ set_setting:0441] [global] Trying to set monitor to 0 DEBUG: [ set_setting:0441] [global] Trying to set title to Dunst DEBUG: [ set_setting:0441] [global] Trying to set class to Dunst DEBUG: [ set_setting:0441] [global] Trying to set shrink to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set line_height to 0 DEBUG: [ set_setting:0441] [global] Trying to set show_age_threshold to 60 DEBUG: [ set_setting:0441] [global] Trying to set hide_duplicate_count to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set sticky_history to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set history_length to 20 DEBUG: [ set_setting:0441] [global] Trying to set show_indicators to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set separator_height to 2 DEBUG: [ set_setting:0441] [global] Trying to set padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set horizontal_padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set text_icon_padding to 0 DEBUG: [ set_setting:0441] [global] Trying to set transparency to 0 DEBUG: [ set_setting:0441] [global] Trying to set corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_height to 10 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_min_width to 150 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_max_width to 300 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_frame_width to 1 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set icon_corner_radius to 0 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set stack_duplicates to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst DEBUG: [ set_setting:0441] [global] Trying to set browser to /usr/bin/xdg-open DEBUG: [ set_setting:0441] [global] Trying to set always_run_script to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set follow to none DEBUG: [string_parse_enum:0034] Setting enum to 0 (none) DEBUG: [ set_setting:0441] [global] Trying to set scale to 0 DEBUG: [ set_setting:0441] [global] Trying to set separator_color to frame DEBUG: [string_parse_sepcolor:0171] parsing sep_color DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame) DEBUG: [ set_setting:0441] [global] Trying to set vertical_alignment to center DEBUG: [string_parse_enum:0034] Setting enum to 1 (center) DEBUG: [ set_setting:0441] [global] Trying to set layer to overlay DEBUG: [string_parse_enum:0034] Setting enum to 3 (overlay) DEBUG: [ set_setting:0441] [global] Trying to set mouse_left_click to close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action) DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_right_click to close_all DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all) DEBUG: [ set_setting:0441] [global] Trying to set icon_theme to Adwaita DEBUG: [ set_from_string:0428] list type 3 DEBUG: [ set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ DEBUG: [ set_setting:0441] [global] Trying to set enable_recursive_icon_lookup to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set enable_posix_regex to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set frame_width to 3 DEBUG: [ set_setting:0441] [urgency_low] Trying to set background to #222222 DEBUG: [ set_setting:0441] [urgency_low] Trying to set foreground to #888888 DEBUG: [ set_setting:0441] [urgency_low] Trying to set highlight to #7f7fff DEBUG: [ set_setting:0441] [urgency_low] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [urgency_low] Trying to set timeout to 10 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set background to #285577 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set foreground to #ffffff DEBUG: [ set_setting:0441] [urgency_normal] Trying to set highlight to #1745d1 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set frame_color to #888888 DEBUG: [ set_setting:0441] [urgency_normal] Trying to set timeout to 10 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set background to #900000 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set foreground to #ffffff DEBUG: [ set_setting:0441] [urgency_critical] Trying to set highlight to #ff6666 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set frame_color to #ff0000 DEBUG: [ set_setting:0441] [urgency_critical] Trying to set timeout to 0 DEBUG: [ set_setting:0441] [global] Trying to set origin to top-right DEBUG: [string_parse_enum:0034] Setting enum to 9 (top-right) DEBUG: [ set_setting:0441] [global] Trying to set width to 300 DEBUG: [ set_setting:0441] [global] Trying to set height to 300 DEBUG: [ set_setting:0441] [global] Trying to set offset to 10x50 DEBUG: [ set_from_string:0428] list type 2 DEBUG: [ set_setting:0441] [global] Trying to set notification_limit to 20 DEBUG: [ set_setting:0441] [global] Trying to set close to none DEBUG: [ set_setting:0441] [global] Trying to set close_all to none DEBUG: [ set_setting:0441] [global] Trying to set history to none DEBUG: [ set_setting:0441] [global] Trying to set context to none DEBUG: [ set_setting:0441] [global] Trying to set gap_size to 0 DEBUG: [ get_conf_files:0126] Trying config location: /home/x/.config/dunst/dunstrc DEBUG: [process_conf_file:0246] Reading config file '/home/x/.config/dunst/dunstrc' INFO: '/home/x/.config/dunst/dunstrc' open, fd: '3' DEBUG: [process_conf_file:0255] Loading settings DEBUG: [ save_settings:0494] Entering section [global] DEBUG: [ set_setting:0441] [global] Trying to set monitor to 0 DEBUG: [ set_setting:0441] [global] Trying to set follow to mouse DEBUG: [string_parse_enum:0034] Setting enum to 1 (mouse) WARNING: Setting geometry in section global doesn't exist DEBUG: [ set_setting:0441] [global] Trying to set width to (500, 500) DEBUG: [ set_setting:0441] [global] Trying to set progress_bar to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_height to 10 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_frame_width to 1 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_min_width to 150 DEBUG: [ set_setting:0441] [global] Trying to set progress_bar_max_width to 300 DEBUG: [ set_setting:0441] [global] Trying to set indicate_hidden to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ set_setting:0441] [global] Trying to set shrink to no DEBUG: [string_parse_enum:0034] Setting enum to 0 (no) DEBUG: [ set_setting:0441] [global] Trying to set transparency to 0 WARNING: Setting notification_height in section global doesn't exist DEBUG: [ set_setting:0441] [global] Trying to set separator_height to 2 DEBUG: [ set_setting:0441] [global] Trying to set padding to 8 DEBUG: [ set_setting:0441] [global] Trying to set horizontal_padding to 14 DEBUG: [ set_setting:0441] [global] Trying to set text_icon_padding to 0 DEBUG: [ set_setting:0441] [global] Trying to set frame_width to 1 DEBUG: [ save_settings:0511] Adding rule 'frame_color = #aaaaaa' to special section global DEBUG: [ set_rule:0462] Creating new rule 'global' DEBUG: [ set_setting:0441] [global] Trying to set separator_color to frame DEBUG: [string_parse_sepcolor:0171] parsing sep_color DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame) DEBUG: [ set_setting:0441] [global] Trying to set sort to yes DEBUG: [string_parse_enum:0034] Setting enum to 2 (yes) DEBUG: [ set_setting:0441] [global] Trying to set idle_threshold to 120 DEBUG: [ set_setting:0441] [global] Trying to set font to "DejaVu Sans" 10 DEBUG: [ set_setting:0441] [global] Trying to set line_height to 0 DEBUG: [ save_settings:0511] Adding rule 'markup = full' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 3 (full) DEBUG: [ save_settings:0511] Adding rule 'format = %s\n%b' to special section global DEBUG: [ save_settings:0511] Adding rule 'alignment = left' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 0 (left) DEBUG: [ set_setting:0441] [global] Trying to set vertical_alignment to center DEBUG: [string_parse_enum:0034] Setting enum to 1 (center) DEBUG: [ set_setting:0441] [global] Trying to set show_age_threshold to 60 DEBUG: [ save_settings:0511] Adding rule 'word_wrap = yes' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ save_settings:0511] Adding rule 'ellipsize = middle' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 2 (middle) DEBUG: [ set_setting:0441] [global] Trying to set ignore_newline to no DEBUG: [string_parse_enum:0034] Setting enum to 0 (no) DEBUG: [ set_setting:0441] [global] Trying to set stack_duplicates to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set hide_duplicate_count to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set show_indicators to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ save_settings:0511] Adding rule 'icon_position = left' to special section global DEBUG: [string_parse_enum:0034] Setting enum to 0 (left) DEBUG: [ save_settings:0511] Adding rule 'min_icon_size = 0' to special section global DEBUG: [ save_settings:0511] Adding rule 'max_icon_size = 32' to special section global DEBUG: [ set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ DEBUG: [ set_setting:0441] [global] Trying to set sticky_history to yes DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes) DEBUG: [ set_setting:0441] [global] Trying to set history_length to 100 DEBUG: [ set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst: DEBUG: [ set_setting:0441] [global] Trying to set browser to /usr/bin/firefox -new-tab DEBUG: [ set_setting:0441] [global] Trying to set always_run_script to true DEBUG: [string_parse_enum:0034] Setting enum to 1 (true) DEBUG: [ set_setting:0441] [global] Trying to set title to Dunst DEBUG: [ set_setting:0441] [global] Trying to set class to Dunst WARNING: Setting startup_notification in section global doesn't exist WARNING: Setting verbosity in section global doesn't exist DEBUG: [ set_setting:0441] [global] Trying to set corner_radius to 15 DEBUG: [ set_setting:0441] [global] Trying to set ignore_dbusclose to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xwayland to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set force_xinerama to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ set_setting:0441] [global] Trying to set mouse_left_click to close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action) DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current) DEBUG: [ set_setting:0441] [global] Trying to set mouse_right_click to close_all DEBUG: [ set_from_string:0428] list type 1 DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all) DEBUG: [ save_settings:0494] Entering section [experimental] DEBUG: [ set_setting:0441] [experimental] Trying to set per_monitor_dpi to false DEBUG: [string_parse_enum:0034] Setting enum to 0 (false) DEBUG: [ save_settings:0494] Entering section [urgency_low] DEBUG: [ save_settings:0511] Adding rule 'background = #32363b' to special section urgency_low DEBUG: [ set_rule:0462] Creating new rule 'urgency_low' DEBUG: [ save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_low DEBUG: [ save_settings:0511] Adding rule 'timeout = 10' to special section urgency_low DEBUG: [ save_settings:0494] Entering section [urgency_normal] DEBUG: [ save_settings:0511] Adding rule 'background = #32363b' to special section urgency_normal DEBUG: [ set_rule:0462] Creating new rule 'urgency_normal' DEBUG: [ save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_normal DEBUG: [ save_settings:0511] Adding rule 'timeout = 10' to special section urgency_normal DEBUG: [ save_settings:0494] Entering section [urgency_critical] DEBUG: [ save_settings:0511] Adding rule 'background = #32363b' to special section urgency_critical DEBUG: [ set_rule:0462] Creating new rule 'urgency_critical' DEBUG: [ save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_critical DEBUG: [ save_settings:0511] Adding rule 'frame_color = #ff0000' to special section urgency_critical DEBUG: [ save_settings:0511] Adding rule 'timeout = 0' to special section urgency_critical DEBUG: [process_conf_file:0258] Checking/correcting settings DEBUG: [ print_rule:0167] Rule global DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame #aaaaaaff DEBUG: [ print_rule:0167] Rule urgency_low DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame (null) DEBUG: [ print_rule:0167] Rule urgency_normal DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame (null) DEBUG: [ print_rule:0167] Rule urgency_critical DEBUG: [ print_rule:0168] summary (null) DEBUG: [ print_rule:0169] appname (null) DEBUG: [ print_rule:0170] script (null) DEBUG: [ print_rule:0172] frame #ff0000ff INFO: Using Wayland output DEBUG: [ handle_global:0169] Binding to seat 1 DEBUG: [ handle_global:0193] Found toplevel manager 18 DEBUG: [ handle_global:0184] Found ext-idle-notify-v1 INFO: New output found - id 0 DEBUG: [ handle_global:0172] Binding to output 49 DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) INFO: New seat found - id 1 name Hyprland DEBUG: [output_handle_name:0036] Output global 49 name eDP-1 DEBUG: [ wake_up:0096] Ignoring wake up DEBUG: [ draw_setup:0081] Trying to load font: '"DejaVu Sans" 10' DEBUG: [ draw_setup:0083] Loaded closest matching font: '"DejaVu Sans"' DEBUG: [ run:0133] RUN, reason 0: DUNST_TIMER INFO: Idle status queried: 0 INFO: Wayland: Hiding window ```

@bynect
Copy link
Member

bynect commented Oct 23, 2024

Do other dunstctl commands work?

Try dunstctl debug. Also if possible could you test running dunst in Xwayland? So we can test if it a wayland specific bug.

Did you use dunst before this version and it worked? If so, which version?

@g-regex
Copy link

g-regex commented Oct 23, 2024

Other dunstctl commands like dunstctl count, dunstctl history-pop, dunstctl set-paused [true|false|toggle] seem to work. It's the first time I tried dunstctl history, so I don't know whether the issue was present in earlier versions as well.

dunstctl debug gives me:

dunst version: 1.11.0

I just tried reproducing the issue under X11 and it's the same problem. Here is my output of dunst -verbosity debug under X11:

DEBUG: [   load_settings:0272] Setting defaults
DEBUG: [     set_setting:0441] [urgency_low] Trying to set icon to dialog-information
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set icon to dialog-information
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set icon to dialog-warning
DEBUG: [     set_setting:0441] [global] Trying to set format to <b>%s</b>
%b
DEBUG: [     set_setting:0441] [global] Trying to set corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [global] Trying to set icon_corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [*] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [experimental] Trying to set per_monitor_dpi to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xinerama to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xwayland to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set font to Monospace 8
DEBUG: [     set_setting:0441] [global] Trying to set sort to true
DEBUG: [string_parse_enum:0034] Setting enum to 2 (true)
DEBUG: [     set_setting:0441] [global] Trying to set indicate_hidden to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_dbusclose to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_newline to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set idle_threshold to 0
DEBUG: [     set_setting:0441] [global] Trying to set monitor to 0
DEBUG: [     set_setting:0441] [global] Trying to set title to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set class to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set shrink to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set line_height to 0
DEBUG: [     set_setting:0441] [global] Trying to set show_age_threshold to 60
DEBUG: [     set_setting:0441] [global] Trying to set hide_duplicate_count to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set sticky_history to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set history_length to 20
DEBUG: [     set_setting:0441] [global] Trying to set show_indicators to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set separator_height to 2
DEBUG: [     set_setting:0441] [global] Trying to set padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set horizontal_padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set text_icon_padding to 0
DEBUG: [     set_setting:0441] [global] Trying to set transparency to 0
DEBUG: [     set_setting:0441] [global] Trying to set corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_height to 10
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_min_width to 150
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_max_width to 300
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_frame_width to 1
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set icon_corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set stack_duplicates to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst
DEBUG: [     set_setting:0441] [global] Trying to set browser to /usr/bin/xdg-open
DEBUG: [     set_setting:0441] [global] Trying to set always_run_script to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set follow to none
DEBUG: [string_parse_enum:0034] Setting enum to 0 (none)
DEBUG: [     set_setting:0441] [global] Trying to set scale to 0
DEBUG: [     set_setting:0441] [global] Trying to set separator_color to frame
DEBUG: [string_parse_sepcolor:0171] parsing sep_color
DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame)
DEBUG: [     set_setting:0441] [global] Trying to set vertical_alignment to center
DEBUG: [string_parse_enum:0034] Setting enum to 1 (center)
DEBUG: [     set_setting:0441] [global] Trying to set layer to overlay
DEBUG: [string_parse_enum:0034] Setting enum to 3 (overlay)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_left_click to close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action)
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_right_click to close_all
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all)
DEBUG: [     set_setting:0441] [global] Trying to set icon_theme to Adwaita
DEBUG: [ set_from_string:0428] list type 3
DEBUG: [     set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
DEBUG: [     set_setting:0441] [global] Trying to set enable_recursive_icon_lookup to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set enable_posix_regex to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set frame_width to 3
DEBUG: [     set_setting:0441] [urgency_low] Trying to set background to #222222
DEBUG: [     set_setting:0441] [urgency_low] Trying to set foreground to #888888
DEBUG: [     set_setting:0441] [urgency_low] Trying to set highlight to #7f7fff
DEBUG: [     set_setting:0441] [urgency_low] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [urgency_low] Trying to set timeout to 10
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set background to #285577
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set foreground to #ffffff
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set highlight to #1745d1
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set timeout to 10
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set background to #900000
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set foreground to #ffffff
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set highlight to #ff6666
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set frame_color to #ff0000
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set timeout to 0
DEBUG: [     set_setting:0441] [global] Trying to set origin to top-right
DEBUG: [string_parse_enum:0034] Setting enum to 9 (top-right)
DEBUG: [     set_setting:0441] [global] Trying to set width to 300
DEBUG: [     set_setting:0441] [global] Trying to set height to 300
DEBUG: [     set_setting:0441] [global] Trying to set offset to 10x50
DEBUG: [ set_from_string:0428] list type 2
DEBUG: [     set_setting:0441] [global] Trying to set notification_limit to 20
DEBUG: [     set_setting:0441] [global] Trying to set close to none
DEBUG: [     set_setting:0441] [global] Trying to set close_all to none
DEBUG: [     set_setting:0441] [global] Trying to set history to none
DEBUG: [     set_setting:0441] [global] Trying to set context to none
DEBUG: [     set_setting:0441] [global] Trying to set gap_size to 0
DEBUG: [  get_conf_files:0126] Trying config location: /home/x/.config/dunst/dunstrc
DEBUG: [process_conf_file:0246] Reading config file '/home/x/.config/dunst/dunstrc'
INFO: '/home/x/.config/dunst/dunstrc' open, fd: '3'
DEBUG: [process_conf_file:0255] Loading settings
DEBUG: [   save_settings:0494] Entering section [global]
DEBUG: [     set_setting:0441] [global] Trying to set monitor to 0
DEBUG: [     set_setting:0441] [global] Trying to set follow to mouse
DEBUG: [string_parse_enum:0034] Setting enum to 1 (mouse)
WARNING: Setting geometry in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set width to (500, 500)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_height to 10
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_frame_width to 1
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_min_width to 150
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_max_width to 300
DEBUG: [     set_setting:0441] [global] Trying to set indicate_hidden to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set shrink to no
DEBUG: [string_parse_enum:0034] Setting enum to 0 (no)
DEBUG: [     set_setting:0441] [global] Trying to set transparency to 0
WARNING: Setting notification_height in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set separator_height to 2
DEBUG: [     set_setting:0441] [global] Trying to set padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set horizontal_padding to 14
DEBUG: [     set_setting:0441] [global] Trying to set text_icon_padding to 0
DEBUG: [     set_setting:0441] [global] Trying to set frame_width to 1
DEBUG: [   save_settings:0511] Adding rule 'frame_color = #aaaaaa' to special section global
DEBUG: [        set_rule:0462] Creating new rule 'global'
DEBUG: [     set_setting:0441] [global] Trying to set separator_color to frame
DEBUG: [string_parse_sepcolor:0171] parsing sep_color
DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame)
DEBUG: [     set_setting:0441] [global] Trying to set sort to yes
DEBUG: [string_parse_enum:0034] Setting enum to 2 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set idle_threshold to 120
DEBUG: [     set_setting:0441] [global] Trying to set font to "DejaVu Sans" 10
DEBUG: [     set_setting:0441] [global] Trying to set line_height to 0
DEBUG: [   save_settings:0511] Adding rule 'markup = full' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 3 (full)
DEBUG: [   save_settings:0511] Adding rule 'format = <b>%s</b>\n%b' to special section global
DEBUG: [   save_settings:0511] Adding rule 'alignment = left' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 0 (left)
DEBUG: [     set_setting:0441] [global] Trying to set vertical_alignment to center
DEBUG: [string_parse_enum:0034] Setting enum to 1 (center)
DEBUG: [     set_setting:0441] [global] Trying to set show_age_threshold to 60
DEBUG: [   save_settings:0511] Adding rule 'word_wrap = yes' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [   save_settings:0511] Adding rule 'ellipsize = middle' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 2 (middle)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_newline to no
DEBUG: [string_parse_enum:0034] Setting enum to 0 (no)
DEBUG: [     set_setting:0441] [global] Trying to set stack_duplicates to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set hide_duplicate_count to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set show_indicators to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [   save_settings:0511] Adding rule 'icon_position = left' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 0 (left)
DEBUG: [   save_settings:0511] Adding rule 'min_icon_size = 0' to special section global
DEBUG: [   save_settings:0511] Adding rule 'max_icon_size = 32' to special section global
DEBUG: [     set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
DEBUG: [     set_setting:0441] [global] Trying to set sticky_history to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set history_length to 100
DEBUG: [     set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst:
DEBUG: [     set_setting:0441] [global] Trying to set browser to /usr/bin/firefox -new-tab
DEBUG: [     set_setting:0441] [global] Trying to set always_run_script to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set title to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set class to Dunst
WARNING: Setting startup_notification in section global doesn't exist
WARNING: Setting verbosity in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set corner_radius to 15
DEBUG: [     set_setting:0441] [global] Trying to set ignore_dbusclose to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xwayland to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xinerama to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_left_click to close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action)
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_right_click to close_all
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all)
DEBUG: [   save_settings:0494] Entering section [experimental]
DEBUG: [     set_setting:0441] [experimental] Trying to set per_monitor_dpi to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [   save_settings:0494] Entering section [urgency_low]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_low
DEBUG: [        set_rule:0462] Creating new rule 'urgency_low'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_low
DEBUG: [   save_settings:0511] Adding rule 'timeout = 10' to special section urgency_low
DEBUG: [   save_settings:0494] Entering section [urgency_normal]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_normal
DEBUG: [        set_rule:0462] Creating new rule 'urgency_normal'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_normal
DEBUG: [   save_settings:0511] Adding rule 'timeout = 10' to special section urgency_normal
DEBUG: [   save_settings:0494] Entering section [urgency_critical]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_critical
DEBUG: [        set_rule:0462] Creating new rule 'urgency_critical'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_critical
DEBUG: [   save_settings:0511] Adding rule 'frame_color = #ff0000' to special section urgency_critical
DEBUG: [   save_settings:0511] Adding rule 'timeout = 0' to special section urgency_critical
DEBUG: [process_conf_file:0258] Checking/correcting settings
DEBUG: [      print_rule:0167] Rule global
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame #aaaaaaff
DEBUG: [      print_rule:0167] Rule urgency_low
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame (null)
DEBUG: [      print_rule:0167] Rule urgency_normal
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame (null)
DEBUG: [      print_rule:0167] Rule urgency_critical
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame #ff0000ff
INFO: Using Wayland output
CRITICAL: g_water_wayland_source_get_display: assertion 'self != NULL' failed
CRITICAL: g_water_wayland_source_set_error_callback: assertion 'self != NULL' failed
WARNING: failed to create display
WARNING: Couldn't initialize wayland output. Falling back to X11 output.
CRITICAL: g_water_wayland_source_free: assertion 'self != NULL' failed
DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
INFO: Detected screen 0 (eDP-1)
DEBUG: [      draw_setup:0081] Trying to load font: '"DejaVu Sans" 10'
DEBUG: [      draw_setup:0083] Loaded closest matching font: '"DejaVu Sans"'
DEBUG: [             run:0133] RUN, reason 0: DUNST_TIMER
INFO: X11: Hiding window
DEBUG: [x_mainloop_fd_dispatch:0394] XEvent: Ignoring '65'

@bynect
Copy link
Member

bynect commented Oct 23, 2024

Other dunstctl commands like dunstctl count, dunstctl history-pop, dunstctl set-paused [true|false|toggle] seem to work. It's the first time I tried dunstctl history, so I don't know whether the issue was present in earlier versions as well.

dunstctl debug gives me:

dunst version: 1.11.0

I just tried reproducing the issue under X11 and it's the same problem. Here is my output of dunst -verbosity debug under X11:

DEBUG: [   load_settings:0272] Setting defaults
DEBUG: [     set_setting:0441] [urgency_low] Trying to set icon to dialog-information
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set icon to dialog-information
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set icon to dialog-warning
DEBUG: [     set_setting:0441] [global] Trying to set format to <b>%s</b>
%b
DEBUG: [     set_setting:0441] [global] Trying to set corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [global] Trying to set icon_corners to all
DEBUG: [string_parse_enum:0034] Setting enum to 15 (all)
DEBUG: [     set_setting:0441] [*] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [experimental] Trying to set per_monitor_dpi to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xinerama to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xwayland to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set font to Monospace 8
DEBUG: [     set_setting:0441] [global] Trying to set sort to true
DEBUG: [string_parse_enum:0034] Setting enum to 2 (true)
DEBUG: [     set_setting:0441] [global] Trying to set indicate_hidden to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_dbusclose to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_newline to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set idle_threshold to 0
DEBUG: [     set_setting:0441] [global] Trying to set monitor to 0
DEBUG: [     set_setting:0441] [global] Trying to set title to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set class to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set shrink to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set line_height to 0
DEBUG: [     set_setting:0441] [global] Trying to set show_age_threshold to 60
DEBUG: [     set_setting:0441] [global] Trying to set hide_duplicate_count to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set sticky_history to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set history_length to 20
DEBUG: [     set_setting:0441] [global] Trying to set show_indicators to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set separator_height to 2
DEBUG: [     set_setting:0441] [global] Trying to set padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set horizontal_padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set text_icon_padding to 0
DEBUG: [     set_setting:0441] [global] Trying to set transparency to 0
DEBUG: [     set_setting:0441] [global] Trying to set corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_height to 10
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_min_width to 150
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_max_width to 300
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_frame_width to 1
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set icon_corner_radius to 0
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set stack_duplicates to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst
DEBUG: [     set_setting:0441] [global] Trying to set browser to /usr/bin/xdg-open
DEBUG: [     set_setting:0441] [global] Trying to set always_run_script to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set follow to none
DEBUG: [string_parse_enum:0034] Setting enum to 0 (none)
DEBUG: [     set_setting:0441] [global] Trying to set scale to 0
DEBUG: [     set_setting:0441] [global] Trying to set separator_color to frame
DEBUG: [string_parse_sepcolor:0171] parsing sep_color
DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame)
DEBUG: [     set_setting:0441] [global] Trying to set vertical_alignment to center
DEBUG: [string_parse_enum:0034] Setting enum to 1 (center)
DEBUG: [     set_setting:0441] [global] Trying to set layer to overlay
DEBUG: [string_parse_enum:0034] Setting enum to 3 (overlay)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_left_click to close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action)
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_right_click to close_all
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all)
DEBUG: [     set_setting:0441] [global] Trying to set icon_theme to Adwaita
DEBUG: [ set_from_string:0428] list type 3
DEBUG: [     set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
DEBUG: [     set_setting:0441] [global] Trying to set enable_recursive_icon_lookup to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set enable_posix_regex to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set frame_width to 3
DEBUG: [     set_setting:0441] [urgency_low] Trying to set background to #222222
DEBUG: [     set_setting:0441] [urgency_low] Trying to set foreground to #888888
DEBUG: [     set_setting:0441] [urgency_low] Trying to set highlight to #7f7fff
DEBUG: [     set_setting:0441] [urgency_low] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [urgency_low] Trying to set timeout to 10
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set background to #285577
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set foreground to #ffffff
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set highlight to #1745d1
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set frame_color to #888888
DEBUG: [     set_setting:0441] [urgency_normal] Trying to set timeout to 10
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set background to #900000
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set foreground to #ffffff
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set highlight to #ff6666
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set frame_color to #ff0000
DEBUG: [     set_setting:0441] [urgency_critical] Trying to set timeout to 0
DEBUG: [     set_setting:0441] [global] Trying to set origin to top-right
DEBUG: [string_parse_enum:0034] Setting enum to 9 (top-right)
DEBUG: [     set_setting:0441] [global] Trying to set width to 300
DEBUG: [     set_setting:0441] [global] Trying to set height to 300
DEBUG: [     set_setting:0441] [global] Trying to set offset to 10x50
DEBUG: [ set_from_string:0428] list type 2
DEBUG: [     set_setting:0441] [global] Trying to set notification_limit to 20
DEBUG: [     set_setting:0441] [global] Trying to set close to none
DEBUG: [     set_setting:0441] [global] Trying to set close_all to none
DEBUG: [     set_setting:0441] [global] Trying to set history to none
DEBUG: [     set_setting:0441] [global] Trying to set context to none
DEBUG: [     set_setting:0441] [global] Trying to set gap_size to 0
DEBUG: [  get_conf_files:0126] Trying config location: /home/x/.config/dunst/dunstrc
DEBUG: [process_conf_file:0246] Reading config file '/home/x/.config/dunst/dunstrc'
INFO: '/home/x/.config/dunst/dunstrc' open, fd: '3'
DEBUG: [process_conf_file:0255] Loading settings
DEBUG: [   save_settings:0494] Entering section [global]
DEBUG: [     set_setting:0441] [global] Trying to set monitor to 0
DEBUG: [     set_setting:0441] [global] Trying to set follow to mouse
DEBUG: [string_parse_enum:0034] Setting enum to 1 (mouse)
WARNING: Setting geometry in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set width to (500, 500)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_height to 10
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_frame_width to 1
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_min_width to 150
DEBUG: [     set_setting:0441] [global] Trying to set progress_bar_max_width to 300
DEBUG: [     set_setting:0441] [global] Trying to set indicate_hidden to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set shrink to no
DEBUG: [string_parse_enum:0034] Setting enum to 0 (no)
DEBUG: [     set_setting:0441] [global] Trying to set transparency to 0
WARNING: Setting notification_height in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set separator_height to 2
DEBUG: [     set_setting:0441] [global] Trying to set padding to 8
DEBUG: [     set_setting:0441] [global] Trying to set horizontal_padding to 14
DEBUG: [     set_setting:0441] [global] Trying to set text_icon_padding to 0
DEBUG: [     set_setting:0441] [global] Trying to set frame_width to 1
DEBUG: [   save_settings:0511] Adding rule 'frame_color = #aaaaaa' to special section global
DEBUG: [        set_rule:0462] Creating new rule 'global'
DEBUG: [     set_setting:0441] [global] Trying to set separator_color to frame
DEBUG: [string_parse_sepcolor:0171] parsing sep_color
DEBUG: [string_parse_enum:0034] Setting enum to 2 (frame)
DEBUG: [     set_setting:0441] [global] Trying to set sort to yes
DEBUG: [string_parse_enum:0034] Setting enum to 2 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set idle_threshold to 120
DEBUG: [     set_setting:0441] [global] Trying to set font to "DejaVu Sans" 10
DEBUG: [     set_setting:0441] [global] Trying to set line_height to 0
DEBUG: [   save_settings:0511] Adding rule 'markup = full' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 3 (full)
DEBUG: [   save_settings:0511] Adding rule 'format = <b>%s</b>\n%b' to special section global
DEBUG: [   save_settings:0511] Adding rule 'alignment = left' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 0 (left)
DEBUG: [     set_setting:0441] [global] Trying to set vertical_alignment to center
DEBUG: [string_parse_enum:0034] Setting enum to 1 (center)
DEBUG: [     set_setting:0441] [global] Trying to set show_age_threshold to 60
DEBUG: [   save_settings:0511] Adding rule 'word_wrap = yes' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [   save_settings:0511] Adding rule 'ellipsize = middle' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 2 (middle)
DEBUG: [     set_setting:0441] [global] Trying to set ignore_newline to no
DEBUG: [string_parse_enum:0034] Setting enum to 0 (no)
DEBUG: [     set_setting:0441] [global] Trying to set stack_duplicates to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set hide_duplicate_count to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set show_indicators to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [   save_settings:0511] Adding rule 'icon_position = left' to special section global
DEBUG: [string_parse_enum:0034] Setting enum to 0 (left)
DEBUG: [   save_settings:0511] Adding rule 'min_icon_size = 0' to special section global
DEBUG: [   save_settings:0511] Adding rule 'max_icon_size = 32' to special section global
DEBUG: [     set_setting:0441] [global] Trying to set icon_path to /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
DEBUG: [     set_setting:0441] [global] Trying to set sticky_history to yes
DEBUG: [string_parse_enum:0034] Setting enum to 1 (yes)
DEBUG: [     set_setting:0441] [global] Trying to set history_length to 100
DEBUG: [     set_setting:0441] [global] Trying to set dmenu to /usr/bin/dmenu -p dunst:
DEBUG: [     set_setting:0441] [global] Trying to set browser to /usr/bin/firefox -new-tab
DEBUG: [     set_setting:0441] [global] Trying to set always_run_script to true
DEBUG: [string_parse_enum:0034] Setting enum to 1 (true)
DEBUG: [     set_setting:0441] [global] Trying to set title to Dunst
DEBUG: [     set_setting:0441] [global] Trying to set class to Dunst
WARNING: Setting startup_notification in section global doesn't exist
WARNING: Setting verbosity in section global doesn't exist
DEBUG: [     set_setting:0441] [global] Trying to set corner_radius to 15
DEBUG: [     set_setting:0441] [global] Trying to set ignore_dbusclose to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xwayland to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set force_xinerama to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_left_click to close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_middle_click to do_action, close_current
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 1 (do_action)
DEBUG: [string_parse_enum:0034] Setting enum to 2 (close_current)
DEBUG: [     set_setting:0441] [global] Trying to set mouse_right_click to close_all
DEBUG: [ set_from_string:0428] list type 1
DEBUG: [string_parse_enum:0034] Setting enum to 3 (close_all)
DEBUG: [   save_settings:0494] Entering section [experimental]
DEBUG: [     set_setting:0441] [experimental] Trying to set per_monitor_dpi to false
DEBUG: [string_parse_enum:0034] Setting enum to 0 (false)
DEBUG: [   save_settings:0494] Entering section [urgency_low]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_low
DEBUG: [        set_rule:0462] Creating new rule 'urgency_low'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_low
DEBUG: [   save_settings:0511] Adding rule 'timeout = 10' to special section urgency_low
DEBUG: [   save_settings:0494] Entering section [urgency_normal]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_normal
DEBUG: [        set_rule:0462] Creating new rule 'urgency_normal'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_normal
DEBUG: [   save_settings:0511] Adding rule 'timeout = 10' to special section urgency_normal
DEBUG: [   save_settings:0494] Entering section [urgency_critical]
DEBUG: [   save_settings:0511] Adding rule 'background = #32363b' to special section urgency_critical
DEBUG: [        set_rule:0462] Creating new rule 'urgency_critical'
DEBUG: [   save_settings:0511] Adding rule 'foreground = #ffffff' to special section urgency_critical
DEBUG: [   save_settings:0511] Adding rule 'frame_color = #ff0000' to special section urgency_critical
DEBUG: [   save_settings:0511] Adding rule 'timeout = 0' to special section urgency_critical
DEBUG: [process_conf_file:0258] Checking/correcting settings
DEBUG: [      print_rule:0167] Rule global
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame #aaaaaaff
DEBUG: [      print_rule:0167] Rule urgency_low
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame (null)
DEBUG: [      print_rule:0167] Rule urgency_normal
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame (null)
DEBUG: [      print_rule:0167] Rule urgency_critical
DEBUG: [      print_rule:0168] summary (null)
DEBUG: [      print_rule:0169] appname (null)
DEBUG: [      print_rule:0170] script (null)
DEBUG: [      print_rule:0172] frame #ff0000ff
INFO: Using Wayland output
CRITICAL: g_water_wayland_source_get_display: assertion 'self != NULL' failed
CRITICAL: g_water_wayland_source_set_error_callback: assertion 'self != NULL' failed
WARNING: failed to create display
WARNING: Couldn't initialize wayland output. Falling back to X11 output.
CRITICAL: g_water_wayland_source_free: assertion 'self != NULL' failed
DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
INFO: Detected screen 0 (eDP-1)
DEBUG: [      draw_setup:0081] Trying to load font: '"DejaVu Sans" 10'
DEBUG: [      draw_setup:0083] Loaded closest matching font: '"DejaVu Sans"'
DEBUG: [             run:0133] RUN, reason 0: DUNST_TIMER
INFO: X11: Hiding window
DEBUG: [x_mainloop_fd_dispatch:0394] XEvent: Ignoring '65'

Thanks

Does running dunstctl history add anything to the debug log?

Also, would you be able to compile and try a patch if I experiment with one?

@g-regex
Copy link

g-regex commented Oct 24, 2024

Does running dunstctl history add anything to the debug log?

No, nothing. Neither on X11 nor on Wayland.

Also, would you be able to compile and try a patch if I experiment with one?

Yes, I'd be happy to do that.

@bynect
Copy link
Member

bynect commented Oct 24, 2024

This is the message that should pop out
DEBUG: [dbus_cb_dunst_NotificationListHistory:0333] CMD: Listing all notifications from history

It seems like the dbus method is not being called correctly.
Could you try if busctl prints some error messages? (this patch just doesn't hide busctl errors)

diff --git a/dunstctl b/dunstctl
index ce94815..778da00 100755
--- a/dunstctl
+++ b/dunstctl
@@ -175,8 +175,7 @@ case "${1:-}" in
                        || die "Dunst controlling interface not available. Is the version too old?"
                ;;
        "history")
-               busctl --user --json=pretty --no-pager call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory 2>/dev/null \
-                       || die "Dunst is not running."
+               busctl --user --json=pretty --no-pager call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory
                ;;
        "")
                die "dunstctl: No command specified. Please consult the usage."

I added these changes and some more to the branch https://github.com/bynect/dunst/tree/debugging-history.
I will add the patches here as I try to fix it. if you could test this it would be great

@g-regex
Copy link

g-regex commented Oct 24, 2024

Ok, good news: I found the issue and it was due to the session bus not being created properly. I'm not on a desktop environment like KDE or Gnome, but tested the issue on i3 and Hyprland, both of which were started via exec i3 or exec Hyprland respectively.

I applied your patch (it has spaces instead of tabs, which did not let me apply it first btw, but no worries). As I did not get any errors via busctl I got suspicious that the issue was actually on my side. I realised that DBUS_SESSION_BUS_ADDRESS was not set.

I fixed it by launching Hyprland with exec dbus-launch --exec-with-session Hyprland.

Maybe you could print a warning if DBUS_SESSION_BUS_ADDRESS is not set, @bynect?
Do you, @hholst80, have a similar setup and does my solution work for you as well?

@bynect
Copy link
Member

bynect commented Oct 24, 2024

Maybe you could print a warning if DBUS_SESSION_BUS_ADDRESS is not set, @bynect?

I guess we can add that.

I had an hunch that dbus was not properly connecting. The strange thing is that other dunstctl commands succeeded.
Glad you fixed

@g-regex
Copy link

g-regex commented Oct 24, 2024

I guess we can add that.

Cool :)

I had an hunch that dbus was not properly connecting. The strange thing is that other dunstctl commands succeeded.

Thank you so much for your help!

@hholst80
Copy link
Author

hholst80 commented Oct 25, 2024

In my case its very simple. 'busctl' is not installed. In arch linux that command is provided by systemd. I do not have systemd installed. Are there some alternative package that provides busctl?

Let's ask ChatGTP:

The busctl command is part of the systemd package and is primarily intended for managing D-Bus communication, particularly on the system bus, in environments running systemd.

If you’re avoiding systemd, there are a few alternative tools for interacting with D-Bus without needing busctl:

  1. dbus-send and dbus-monitor – These tools come with the dbus package and can be used to send and monitor messages on D-Bus. While dbus-send doesn’t have the same full feature set as busctl, it can handle many of the same tasks.

  2. gdbus – Part of the glib package, gdbus is a versatile alternative for D-Bus interactions, supporting actions like call, emit, and monitor.

  3. qdbus – Another option, included with Qt packages, that provides similar functionality to busctl (note that it requires Qt libraries).

These alternatives should cover most use cases depending on your environment setup.

My conclusion is that busctl should be avoided and instead only use commands that are directly make available from dbus package itself. Likely then, make the command work with dbus-send.

IF that is not feasible then dunstctl history should report 'systemd tooling not found, history command not available' or something of that sort. dunst not running is just the wrong error message and leads to confusion.

@bynect
Copy link
Member

bynect commented Oct 25, 2024

In my case its very simple. 'busctl' is not installed. In arch linux that command is provided by systemd. I do not have systemd installed. Are there some alternative package that provides busctl?

Let's ask ChatGTP:

The busctl command is part of the systemd package and is primarily intended for managing D-Bus communication, particularly on the system bus, in environments running systemd.

If you’re avoiding systemd, there are a few alternative tools for interacting with D-Bus without needing busctl:

  1. dbus-send and dbus-monitor – These tools come with the dbus package and can be used to send and monitor messages on D-Bus. While dbus-send doesn’t have the same full feature set as busctl, it can handle many of the same tasks.

  2. gdbus – Part of the glib package, gdbus is a versatile alternative for D-Bus interactions, supporting actions like call, emit, and monitor.

  3. qdbus – Another option, included with Qt packages, that provides similar functionality to busctl (note that it requires Qt libraries).

These alternatives should cover most use cases depending on your environment setup.

My conclusion is that busctl should be avoided and instead only use commands that are directly make available from dbus package itself. Likely then, make the command work with dbus-send.

IF that is not feasible then dunstctl history should report 'systemd tooling not found, history command not available' or something of that sort. dunst not running is just the wrong error message and leads to confusion.

Very strange. I am using gentoo without systemd and busctl works.

Edit: busctl works if you are using elogind

@bynect
Copy link
Member

bynect commented Oct 25, 2024

@zappolowski can we avoid the use of busctl for non systemd sustems?

@g-regex
Copy link

g-regex commented Oct 25, 2024

Very strange. I am using gentoo without systemd and busctl works.

Edit: busctl works if you are using elogind

Same here.

@hholst80
Copy link
Author

hholst80 commented Oct 26, 2024

You can instead of the || die thing just do a check on the result. If it's 127 then command-missing and tell me that busctl is missing. I dont need the dunstctl history command. I was just trying to check that my installation works and there was no mention of elogind in the README as a requirement.

dbus-send might be usable because ChatGTP threw command examples at me that kind of looks similar to busctl:

dbus-send \
  --session \
  --dest=org.freedesktop.portal.Desktop \
  --type=method_call \
  --print-reply /org/freedesktop/portal/desktop \
  org.freedesktop.DBus.Introspectable.Introspect

the --json part might be a deal breaker though if busctl needs to transform the payload in some way.

@bynect
Copy link
Member

bynect commented Oct 31, 2024

@hholst80 I found this library providing busctl for non systemd systems/elogind

https://packages.gentoo.org/packages/sys-libs/basu
https://sr.ht/~emersion/basu/

@bynect
Copy link
Member

bynect commented Oct 31, 2024

Ok, good news: I found the issue and it was due to the session bus not being created properly. I'm not on a desktop environment like KDE or Gnome, but tested the issue on i3 and Hyprland, both of which were started via exec i3 or exec Hyprland respectively.

I applied your patch (it has spaces instead of tabs, which did not let me apply it first btw, but no worries). As I did not get any errors via busctl I got suspicious that the issue was actually on my side. I realised that DBUS_SESSION_BUS_ADDRESS was not set.

I fixed it by launching Hyprland with exec dbus-launch --exec-with-session Hyprland.

Maybe you could print a warning if DBUS_SESSION_BUS_ADDRESS is not set, @bynect? Do you, @hholst80, have a similar setup and does my solution work for you as well?

I am adding this now. This is really strange by the way because without a session address dunst does not start for me. Probably you are getting an error in the background?

@hholst80
Copy link
Author

It turns out I already have that installed. But it was installed as "basuctl".
I'll add a symlink and report back.

@hholst80
Copy link
Author

hholst80 commented Oct 31, 2024

basuctl and busctl does not share the same CLI options. Perhaps close enough if we can drop the --no-pager. But basu and its CLI tooling is still not installed as busctl in more mainstream distros like Gentoo. The dunstctl script should check and use a fallback to basuctl if busctl is not found. A symlink is unlikely to be helpful because users will need to add it themselves.

Anyways...

It would however be more complicated to maintain a runtime dependency to a fairly obscure package like basu and a clearly better solution would be to use only the base dbus tooling.

In order of preference I think the options we have here are:

  1. implement a fixed error message that more carefully looks at the result code from busctl. if the command is missing tell the user that, instead of reporting that dunst is not running.

  2. implement a pure-play dbus CLI tooling solution.


Experimenting with the busctl command done by dunstctl:

root@xps /u/l/bin# busctl --user --json=pretty --no-pager call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory 
busctl: unrecognized option '--no-pager'
root@xps /u/l/bin [1]# busctl --user --json=pretty call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory
{
	"type" : "aa{sv}",
	"data" : [
		[]
	]
}
root@xps /u/l/bin# 

@g-regex
Copy link

g-regex commented Oct 31, 2024

I am adding this now. This is really strange by the way because without a session address dunst does not start for me. Probably you are getting an error in the background?

Thanks. Strange, yes. I did not notice any errors and dunst started up and worked without any issues (besides the history thing). In any case, not starting dbus properly was definitely a thing on my side that had to be sorted out. It immediately solved at least three other problems that I had :)

@bynect
Copy link
Member

bynect commented Oct 31, 2024

basuctl and busctl does not share the same CLI options. Perhaps close enough if we can drop the --no-pager. But basu and its CLI tooling is still not installed as busctl in more mainstream distros like Gentoo. The dunstctl script should check and use a fallback to basuctl if busctl is not found. A symlink is unlikely to be helpful because users will need to add it themselves.

Anyways...

It would however be more complicated to maintain a runtime dependency to a fairly obscure package like basu and a clearly better solution would be to use only the base dbus tooling.

In order of preference I think the options we have here are:

1. implement a fixed error message that more carefully looks at the result code from busctl.  if the command is missing tell the user that, instead of reporting that dunst is not running.

2. implement a pure-play dbus CLI tooling solution.

Experimenting with the busctl command done by dunstctl:

root@xps /u/l/bin# busctl --user --json=pretty --no-pager call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory 
busctl: unrecognized option '--no-pager'
root@xps /u/l/bin [1]# busctl --user --json=pretty call org.freedesktop.Notifications /org/freedesktop/Notifications org.dunstproject.cmd0 NotificationListHistory
{
	"type" : "aa{sv}",
	"data" : [
		[]
	]
}
root@xps /u/l/bin# 

I see. Probably basu uses an older version of busctl. maybe I can just remove --no-pager. Anyway thanks for trying.
The problem with dbus-send is the formatting
For now I added in the pr a check for busctl so that you will be warned if it is not found

@bynect
Copy link
Member

bynect commented Oct 31, 2024

I am adding this now. This is really strange by the way because without a session address dunst does not start for me. Probably you are getting an error in the background?

Thanks. Strange, yes. I did not notice any errors and dunst started up and worked without any issues (besides the history thing). In any case, not starting dbus properly was definitely a thing on my side that had to be sorted out. It immediately solved at least three other problems that I had :)

I added a check for the address in both dunstctl and dunst so we should be covered 👍🏻

@hholst80
Copy link
Author

A "hack" I have used with systemd is to set the PAGER to an empty string.

env PAGER= busctl [....]

Should have the same effect. Since there is no terminal connected to the pipe I think --no-pager is unlikely to have been needed from the start, but I don't know. busctl might be weird. It should anyway respect PAGER because other systemd tools do. 🍀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants