-
Notifications
You must be signed in to change notification settings - Fork 350
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
Comments
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)? |
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
```
|
I have the same problem. Same version of dunst and same symptoms. I'm also on Wayland. Here is my output of
```
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
```
|
Do other dunstctl commands work? Try Did you use dunst before this version and it worked? If so, which version? |
Other
I just tried reproducing the issue under
|
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? |
No, nothing. Neither on X11 nor on Wayland.
Yes, I'd be happy to do that. |
This is the message that should pop out It seems like the dbus method is not being called correctly. 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. |
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 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 I fixed it by launching Hyprland with Maybe you could print a warning if |
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. |
Cool :)
Thank you so much for your help! |
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 If you’re avoiding
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 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 |
@zappolowski can we avoid the use of busctl for non systemd sustems? |
Same here. |
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:
the --json part might be a deal breaker though if busctl needs to transform the payload in some way. |
@hholst80 I found this library providing busctl for non systemd systems/elogind https://packages.gentoo.org/packages/sys-libs/basu |
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? |
It turns out I already have that installed. But it was installed as "basuctl". |
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:
Experimenting with the busctl command done by dunstctl:
|
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 see. Probably basu uses an older version of busctl. maybe I can just remove --no-pager. Anyway thanks for trying. |
I added a check for the address in both dunstctl and dunst so we should be covered 👍🏻 |
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. 🍀 |
The text was updated successfully, but these errors were encountered: