{"id":2971,"date":"2023-08-15T14:43:03","date_gmt":"2023-08-15T09:13:03","guid":{"rendered":"https:\/\/smarttech101.com\/?p=2971"},"modified":"2023-08-18T14:43:18","modified_gmt":"2023-08-18T09:13:18","slug":"how-to-configure-dunst-notifications-in-linux-with-images","status":"publish","type":"post","link":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/","title":{"rendered":"How to Configure Dunst Notifications in Linux (with images)"},"content":{"rendered":"\n<p>In this article, I will talk about how to configure dunst in Linux &#8211; colors, paddings, frame, timeout, progressbar, separator, font, markup (bold, underline, etc.), text alignment, icon alignment, icons, mouse settings, etc. There will be lots of examples and images to illustrate my point. I will use simple language and hope in the end you will have a pretty-looking notifications in your computer.<\/p>\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Installation\" title=\"Installation\">Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#How_I_have_configured_dunst\" title=\"How I have configured dunst\">How I have configured dunst<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Before_you_begin\" title=\"Before you begin\">Before you begin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Display_Related_Configuration\" title=\"Display Related Configuration\">Display Related Configuration<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#How_to_set_the_monitor_on_which_the_notifications_will_be_displayed\" title=\"How to set the monitor on which the notifications will be displayed\">How to set the monitor on which the notifications will be displayed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#How_to_make_notifications_follow_keyboardmouse\" title=\"How to make notifications follow keyboard\/mouse\">How to make notifications follow keyboard\/mouse<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Geometry_in_dunst_configuration\" title=\"Geometry in dunst configuration\">Geometry in dunst configuration<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Width_of_notification\" title=\"Width of notification\">Width of notification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Height_of_notification\" title=\"Height of notification\">Height of notification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Position_the_notification_in_the_top_right_corner\" title=\"Position the notification in the top right corner\">Position the notification in the top right corner<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Offset_from_the_origin\" title=\"Offset from the origin\">Offset from the origin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Scale_factor_for_HiDPI_screens\" title=\"Scale factor for HiDPI screens\">Scale factor for HiDPI screens<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Maximum_number_of_notifications_shown_at_a_time\" title=\"Maximum number of notifications shown at a time\">Maximum number of notifications shown at a time<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Progress_bar_in_dunst_configuration\" title=\"Progress bar in dunst configuration\">Progress bar in dunst configuration<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Progress_bar_height\" title=\"Progress bar height\">Progress bar height<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Progress_Bar_Frame_Width\" title=\"Progress Bar Frame Width\">Progress Bar Frame Width<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Minimum_Width_of_the_progress_bar\" title=\"Minimum Width of the progress bar\">Minimum Width of the progress bar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Maximum_width_of_the_progress_bar\" title=\"Maximum width of the progress bar\">Maximum width of the progress bar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#progress_bar_corner_radius\" title=\"progress bar corner radius\">progress bar corner radius<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Text\" title=\"Text\">Text<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Notification_Font\" title=\"Notification Font\">Notification Font<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Line_Height_in_Notification\" title=\"Line Height in Notification\">Line Height in Notification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Bold_Italic_Underline_etc_in_Notification\" title=\"Bold, Italic, Underline, etc. in Notification\">Bold, Italic, Underline, etc. in Notification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Notification_Format\" title=\"Notification Format\">Notification Format<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Alignment_of_message_text\" title=\"Alignment of message text\">Alignment of message text<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Show_the_age_of_the_message\" title=\"Show the age of the message\">Show the age of the message<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Wrap_the_lines\" title=\"Wrap the lines\">Wrap the lines<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Handling_long_lines_in_Notification\" title=\"Handling long lines in Notification\">Handling long lines in Notification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Ignore_New_Lines_in_Notification\" title=\"Ignore New Lines in Notification\">Ignore New Lines in Notification<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Duplicate_Notifications\" title=\"Duplicate Notifications\">Duplicate Notifications<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Stack_duplicate_notifications\" title=\"Stack duplicate notifications\">Stack duplicate notifications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Hide_Duplicate_Count\" title=\"Hide Duplicate Count\">Hide Duplicate Count<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Show_indicators_for_URLs_U_and_actions_A\" title=\"Show indicators for URLs (U) and actions (A)\">Show indicators for URLs (U) and actions (A)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Icons\" title=\"Icons\">Icons<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Recursive_icon_lookup\" title=\"Recursive icon lookup\">Recursive icon lookup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Set_icon_theme_works_for_enable_recursive_icon_lookup\" title=\"Set icon theme (works for enable_recursive_icon_lookup)\">Set icon theme (works for enable_recursive_icon_lookup)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Align_icons_leftrighttopoff\" title=\"Align icons left\/right\/top\/off\">Align icons left\/right\/top\/off<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Minimum_Icon_Size\" title=\"Minimum Icon Size\">Minimum Icon Size<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Maximum_Icon_Size\" title=\"Maximum Icon Size\">Maximum Icon Size<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-40\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Icons_Path\" title=\"Icon&#8217;s Path\">Icon&#8217;s Path<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-41\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Corner_radius_for_the_icon_image\" title=\"Corner radius for the icon image\">Corner radius for the icon image<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-42\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Older_Notifications_in_Dunst\" title=\"Older Notifications in Dunst\">Older Notifications in Dunst<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-43\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Make_older_notifications_stay_on_your_screen\" title=\"Make older notifications stay on your screen\">Make older notifications stay on your screen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-44\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#The_maximum_number_of_notifications_kept_in_history\" title=\"The maximum number of notifications kept in history\">The maximum number of notifications kept in history<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-45\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Notification_Looks_%E2%80%93_frame_separator_padding_colors_transparency_padding_corners\" title=\"Notification Looks &#8211; frame, separator, padding, colors, transparency, padding, corners\">Notification Looks &#8211; frame, separator, padding, colors, transparency, padding, corners<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-46\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Separator_Height\" title=\"Separator Height\">Separator Height<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-47\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Vertical_Padding\" title=\"Vertical Padding\">Vertical Padding<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-48\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Horizontal_Padding\" title=\"Horizontal Padding\">Horizontal Padding<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-49\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Padding_between_text_and_icon\" title=\"Padding between text and icon\">Padding between text and icon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-50\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#The_transparency_of_the_notification_window\" title=\"The transparency of the notification window\">The transparency of the notification window<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-51\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Separator_color\" title=\"Separator color\">Separator color<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-52\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Frame_Color\" title=\"Frame Color\">Frame Color<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-53\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Frame_Width\" title=\"Frame Width\">Frame Width<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-54\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Frame_Corners\" title=\"Frame Corners\">Frame Corners<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-55\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Sort_messages_by_urgency\" title=\"Sort messages by urgency\">Sort messages by urgency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-56\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Indicate_the_number_of_hidden_messages\" title=\"Indicate the number of hidden messages\">Indicate the number of hidden messages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-57\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Notifications_to_become_sticky_if_you_are_idle_for_more_than_this_time\" title=\"Notifications to become sticky if you are idle for more than this time\">Notifications to become sticky if you are idle for more than this time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-58\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Use_dmenurofifzf_to_choose_actions_on_notifications\" title=\"Use dmenu\/rofi\/fzf to choose actions on notifications\">Use dmenu\/rofi\/fzf to choose actions on notifications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-59\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Browser_for_opening_URLs_in_the_context_menu\" title=\"Browser for opening URLs in the context menu\">Browser for opening URLs in the context menu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-60\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Title_and_Class_of_the_Notification_Windows\" title=\"Title and Class of the Notification Windows\">Title and Class of the Notification Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-61\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Force_your_timeout_settings_over_those_of_the_applications\" title=\"Force your timeout settings over those of the applications\">Force your timeout settings over those of the applications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-62\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Mouse_Configuration_in_Dunst\" title=\"Mouse Configuration in Dunst\">Mouse Configuration in Dunst<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-63\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Wayland_Support_in_Dunst\" title=\"Wayland Support in Dunst\">Wayland Support in Dunst<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-64\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Dunst_on_a_very_old_PC\" title=\"Dunst on a very old PC\">Dunst on a very old PC<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-65\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Scale_updown_notifications_automatically_in_Dunst\" title=\"Scale up\/down notifications automatically in Dunst\">Scale up\/down notifications automatically in Dunst<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-66\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Customize_Low_normal_and_critical_messages\" title=\"Customize Low, normal, and critical messages\">Customize Low, normal, and critical messages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-67\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation\"><\/span>Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># Debian\napt-get install dunst\n# Ubuntu\napt-get install dunst\n# Alpine\napk add dunst\n# Arch Linux\npacman -S dunst\n# Kali Linux\napt-get install dunst\n# Fedora\ndnf install dunst\n# Windows (WSL2)\nsudo apt-get update sudo apt-get install dunst<\/code><\/pre>\n\n\n\n<p>Run dunst:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dunst<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_I_have_configured_dunst\"><\/span>How I have configured dunst<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here is the configuration I am using on my PC. It is based on Nord Color Scheme. Its effect is what is shown above in the title image.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># My PC: 1440p at 15.6 inch\n&#091;global]\n    follow = keyboard\n    width = (0, 1500)\n    height = 950\n    origin = top-right\n    offset = 48x60\n    scale = 0\n    notification_limit = 10\n    progress_bar = true\n    progress_bar_height = 10\n    progress_bar_frame_width = 1\n    progress_bar_min_width = 150\n    progress_bar_max_width = 300\n    progress_bar_corner_radius = 0\n    icon_corner_radius = 0\n    indicate_hidden = yes\n    transparency = 5\n    separator_height = 2\n    padding = 15\n    horizontal_padding = 15\n    text_icon_padding = 0\n    frame_width = 3\n    frame_color = \"#aaaaaa\"\n    gap_size = 0\n    separator_color = frame\n    sort = yes\n    idle_threshold = 120\n    font = UbuntuMono Nerd Font Mono 17\n    line_height = 10\n    markup = full\n    format = \"&lt;b&gt;&lt;u&gt;%s&lt;\/u&gt;&lt;\/b&gt;\\n%b\\n\"\n    alignment = left\n    vertical_alignment = top\n    show_age_threshold = 60\n    word_wrap = no\n    ellipsize = end\n    ignore_newline = no\n    stack_duplicates = true\n    hide_duplicate_count = false\n    show_indicators = yes\n    enable_recursive_icon_lookup = true\n    icon_theme = \"breeze-dark, Papirus-Dark\"\n    icon_position = left\n    min_icon_size = 48\n    max_icon_size = 128\n    icon_path = \/usr\/share\/icons\/gnome\/16x16\/status\/:\/usr\/share\/icons\/gnome\/16x16\/devices\/\n    sticky_history = yes\n    history_length = 50\n    dmenu = \/usr\/bin\/dmenu -i -fn Ubuntu-18 -l 30 -p dunst:\n    browser = qutebrowser\n    always_run_script = true\n    title = Dunst\n    class = Dunst\n    corner_radius = 9\n    ignore_dbusclose = false\n    force_xwayland = false\n    force_xinerama = false\n    mouse_left_click = close_current\n    mouse_middle_click = do_action, close_current\n    mouse_right_click = close_all\n\n&#091;experimental]\n    per_monitor_dpi = false\n\n&#091;urgency_low]\n    background = \"#E5E9F0\"\n    foreground = \"#2E3440\"\n    frame_color = \"#2E3440\"\n    timeout = 10\n\n&#091;urgency_normal]\n    background = \"#2E3440\"\n    foreground = \"#BF616A\"\n    frame_color = \"#BF616A\"\n    highlight = \"#BF616A\"\n    timeout = 10\n\n&#091;urgency_critical]\n    background = \"#ffffff\"\n    foreground = \"#900000\"\n    frame_color = \"#900000\"\n    timeout = 0<\/code><\/pre>\n\n\n\n<p>Now, I am going to modify these configurations one by one and show the difference they make.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before_you_begin\"><\/span>Before you begin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Dunst is configured using the file <code>~\/.config\/dunst\/dunstrc<\/code> at the user level. And if you are configuring it for all the users on your computer, do it in <code>\/etc\/dunst\/dunstrc<\/code>.<\/p>\n\n\n\n<p>Restart dunst each time you change any configuration value. For this, execute the command <code>killall dunst &amp;&amp; dunst<\/code> from your terminal.<\/p>\n\n\n\n<p>In this configuration, all dimensional units are in pixels. Here, sometimes, I will take very large values just to show you the effects. You need to set them accordingly.<\/p>\n\n\n\n<p>Comments in dunstrc begin with a hash (<code>#<\/code>) and ignored.<\/p>\n\n\n\n<p>Dunst&#8217;s configuration is divided into segments (<code>global<\/code>, <code>experimental<\/code>, <code>urgency_low<\/code>, etc.). Each segment begins with a square bracket (ex &#8211; <code>[global]<\/code>). Under each segment, each configuration is prepended with a tab.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;global]\n    &lt;global segment&gt;\n&#091;experimental]\n    &lt;experimental&gt;\n&#091;urgency_low]\n    &lt;urgency_low&gt;\n&#091;urgency_normal]\n    &lt;urgency_normal&gt;\n&#091;urgency_critical]\n    &lt;urgency_critical&gt;\n&#091;...]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Display_Related_Configuration\"><\/span>Display Related Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_set_the_monitor_on_which_the_notifications_will_be_displayed\"><\/span>How to set the monitor on which the notifications will be displayed<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This option decides which monitor should the notifications be displayed on. This option is used when there are more than one monitor connected to your computer.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>monitor = 0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_make_notifications_follow_keyboardmouse\"><\/span>How to make notifications follow keyboard\/mouse<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This option decides how to display notifications on the focused monitor. Possible options are: <code>mouse<\/code>, <code>keyboard<\/code>, and <code>none<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mouse<\/code>: notifications will follow the mouse pointer, i.e., they will move to the monitor on which your mouse pointer is located.<\/li>\n\n\n\n<li><code>keyboard<\/code>: notifications will follow the window with keyboard focus. This requires a window manager that exports the <code>_NET_ACTIVE_WINDOW<\/code> property. Most modern window managers support this, so you don&#8217;t have to worry about it.<\/li>\n\n\n\n<li><code>none<\/code>: notifications won&#8217;t follow anything.<br>If this option is set to mouse or keyboard, the monitor option set above will be ignored.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>follow = keyboard<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Geometry_in_dunst_configuration\"><\/span>Geometry in dunst configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Width_of_notification\"><\/span>Width of notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For constant width of 1500 (all notifications will have a constant width of 1500), set the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>width = 1500<\/code><\/pre>\n\n\n\n<p>For dynamic width from 0 to 1500 (all notifications&#8217; width will be between 0 and 1500 depending upon the notification&#8217;s content):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>width = (0, 1500)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Height_of_notification\"><\/span>Height of notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This option decides the maximum height of a single notification, excluding the frame.<\/p>\n\n\n\n<p>Please note that &#8216;frame&#8217; of any entity is what &#8216;surrounds&#8217; it. This term will be used for the notification-window and progress bar.<\/p>\n\n\n\n<p>Set it to some very large value. When less height is needed, dunst will use that.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>height = 1000<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Position_the_notification_in_the_top_right_corner\"><\/span>Position the notification in the top right corner<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Other options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>top-left<\/li>\n\n\n\n<li>top-center<\/li>\n\n\n\n<li>bottom-left<\/li>\n\n\n\n<li>bottom-center<\/li>\n\n\n\n<li>bottom-right<\/li>\n\n\n\n<li>left-center<\/li>\n\n\n\n<li>center<\/li>\n\n\n\n<li>right-center<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>origin = top-right<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Offset_from_the_origin\"><\/span>Offset from the origin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It should be written in the format of XxY where X is the horizontal offset and Y is the vertical offset<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>offset = 48x60<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Scale_factor_for_HiDPI_screens\"><\/span>Scale factor for HiDPI screens<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This should be an Integer. It is auto-detected if the value is 0.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scale = 0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Maximum_number_of_notifications_shown_at_a_time\"><\/span>Maximum number of notifications shown at a time<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Let&#8217;s say some program is bombarding your screen with a lot of notifications. If it is set to 10, only 10 of these will be shown at a time by the given configuration. Rest will be shown only after the oldest ones time out (non-critical messages time out).<br><strong>Message<\/strong>: timeout is set below.<br>Its default value is 20.<br>Set it to 0 for no limit.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>notification_limit = 10<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Progress_bar_in_dunst_configuration\"><\/span>Progress bar in dunst configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This option turns on the progress bar. It appears when a progress hint is passed with, for example, <code>dunstify -h int:value:12<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar = true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Progress_bar_height\"><\/span>Progress bar height<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar_height = 10<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Progress_Bar_Frame_Width\"><\/span>Progress Bar Frame Width<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It should be less than half of the progress bar height.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar_frame_width = 1<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Minimum_Width_of_the_progress_bar\"><\/span>Minimum Width of the progress bar<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar_min_width = 150<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Maximum_width_of_the_progress_bar\"><\/span>Maximum width of the progress bar<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar_max_width = 300<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"progress_bar_corner_radius\"><\/span>progress bar corner radius<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Set it to 0 to disable it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>progress_bar_corner_radius = 0<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"176\" height=\"59\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/progress_bar_corner_radius.png?resize=176%2C59&#038;ssl=1\" alt=\"progress bar corner radius\" class=\"wp-image-2996\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Text\"><\/span>Text<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Notification_Font\"><\/span>Notification Font<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you want to see tables in your notification use mono fonts like <code>UbuntuMono Nerd Font Mono<\/code>. After the font name, you need to append the font size.<br>You can use <code>fc-list<\/code> command to find the list of installed fonts.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>font = UbuntuMono Nerd Font Mono 17<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ fc-list | grep Mono\n\n\/usr\/share\/fonts\/gsfonts\/NimbusMonoPS-BoldItalic.otf: Nimbus Mono PS:style=Bold Italic\n\/usr\/share\/fonts\/liberation\/LiberationMono-Bold.ttf: Liberation Mono:style=Bold\n\/home\/ajay\/.local\/share\/fonts\/Ubuntu Mono Bold Nerd Font Complete Mono.ttf: UbuntuMono Nerd Font Mono:style=Bold\n\/home\/ajay\/.local\/share\/fonts\/Roboto Mono Nerd Font Complete.ttf: RobotoMono Nerd Font:style=Regular\n\/usr\/share\/fonts\/TTF\/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book\n\/usr\/share\/fonts\/gsfonts\/NimbusMonoPS-Regular.otf: Nimbus Mono PS:style=Regular\n\/home\/ajay\/.local\/share\/fonts\/Ubuntu Mono Nerd Font Complete Mono.ttf: UbuntuMono Nerd Font Mono:style=Regular\n\/usr\/share\/fonts\/liberation\/LiberationMono-Italic.ttf: Liberation Mono:style=Italic\n\/home\/ajay\/.local\/share\/fonts\/ComicMono-Bold.ttf: Comic Mono:style=Bold\n\/home\/ajay\/.local\/share\/fonts\/Droid Sans Mono Nerd Font Complete Mono.otf: DroidSansMono Nerd Font Mono:style=Book\n\/usr\/share\/fonts\/gsfonts\/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold\n\/usr\/share\/fonts\/TTF\/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique\n\/home\/ajay\/.local\/share\/fonts\/DejaVu Sans Mono Nerd Font Complete.ttf: DejaVuSansMono Nerd Font:style=Book\n\/usr\/share\/fonts\/liberation\/LiberationMono-Regular.ttf: Liberation Mono:style=Regular\n\/home\/ajay\/.local\/share\/fonts\/Fura Mono Regular Nerd Font Complete Mono Windows Compatible.otf: FuraMono NF:style=Regular\n\/usr\/share\/fonts\/gsfonts\/NimbusMonoPS-Italic.otf: Nimbus Mono PS:style=Italic\n\/usr\/share\/fonts\/TTF\/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold\n\/usr\/share\/fonts\/liberation\/LiberationMono-BoldItalic.ttf: Liberation Mono:style=Bold Italic\n\/home\/ajay\/.local\/share\/fonts\/fantasque_sans_mono.ttf: Fantasque Sans Mono:style=Regular\n\/usr\/share\/fonts\/TTF\/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique\n\/home\/ajay\/.local\/share\/fonts\/ComicMono.ttf: Comic Mono:style=Normal<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"668\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/font.mono_.png?resize=407%2C668&#038;ssl=1\" alt=\"monospace in notification\" class=\"wp-image-2985\"\/><figcaption class=\"wp-element-caption\">Mono Font<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"447\" height=\"637\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/font.calibri.png?resize=447%2C637&#038;ssl=1\" alt=\"non-mono font in dunst\" class=\"wp-image-2986\"\/><figcaption class=\"wp-element-caption\">Non-Mono (Calibri) Font<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Line_Height_in_Notification\"><\/span>Line Height in Notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>line_height is used to set the height between lines. If it is smaller than the font&#8217;s height, it will get raised to the font height.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>line_height = 100<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"403\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/line_height.png?resize=360%2C403&#038;ssl=1\" alt=\"Line Height in dunst notification\" class=\"wp-image-2984\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Bold_Italic_Underline_etc_in_Notification\"><\/span>Bold, Italic, Underline, etc. in Notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can use one of the three options &#8211; full, strip, no.<br>full: accepts the many markups in your notification command. Some of these are:<br><code>&lt;b&gt;bold&lt;\/b&gt;<\/code><br><code>&lt;i&gt;italic&lt;\/i&gt;<\/code><br><code>&lt;s&gt;strikethrough&lt;\/s&gt;<\/code><br><code>&lt;sub&gt;subscript&lt;\/sub&gt;<\/code><br><code>&lt;u&gt;underline&lt;\/u&gt;<\/code><br>More such pango markups are given in this gtk documents &#8211; <a href=\"https:\/\/docs.gtk.org\/Pango\/pango_markup.html\">https:\/\/docs.gtk.org\/Pango\/pango_markup.html<\/a>.<\/p>\n\n\n\n<p>strip: Here, dunst &#8220;tries&#8221; its best to remove all the markups. It is for compatibility purposes. Use this option as your last recourse. You will only get the plain text of the notification &#8211; no bold, no italic, nothing.<\/p>\n\n\n\n<p>no: Disable markup parsing, incoming notifications will be printed as they are.<br>Try executing the command <code>dunstify SmartTech101 \"A &lt;s&gt;great&lt;\/s&gt; blog about smart technologies.\"<\/code> You will see the strikethrough.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>markup = full<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/full_markup.png?resize=782%2C428&#038;ssl=1\" alt=\"Bold, Italic, Underline, etc. in dunst Notification\" class=\"wp-image-2983\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/full_markup.png?w=782&amp;ssl=1 782w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/full_markup.png?resize=768%2C420&amp;ssl=1 768w\" sizes=\"(max-width: 782px) 100vw, 782px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Notification_Format\"><\/span>Notification Format<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It is used to set the format of the message.<br>Possible variables are:<br>%a appname<br>%s summary<br>%b body<br>%i iconname (including its path)<br>%I iconname (without its path)<br>%p progress value if set ([ 0%] to [100%]) or nothing<br>%n progress value if set without any extra characters<br>%% Literal %<br>Please make sure that markup is allowed by setting the option <code>markup<\/code> to <code>full<\/code>.<\/p>\n\n\n\n<p>For example, in the command <code>dunstify SmartTech101 Hello<\/code>, <code>SmartTech101<\/code> is <code>%s<\/code> and <code>Hello<\/code> is <code>%b<\/code>. So, you get the following result.<\/p>\n\n\n\n<p>Icons, appname, summary, etc. are located at their default position if you don&#8217;t set them up using the format variable.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>format = \"&lt;b&gt;%s&lt;\/b&gt;\\n%b\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"444\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/format.png?resize=444%2C428&#038;ssl=1\" alt=\"dunst Notification Format\" class=\"wp-image-2982\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Alignment_of_message_text\"><\/span>Alignment of message text<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Alignment of message text. Choose one of &#8220;left&#8221;, &#8220;center&#8221; and &#8220;right&#8221;. For Arabic texts, use <code>right<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alignment = left<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Show_the_age_of_the_message\"><\/span>Show the age of the message<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Set it to -1 to disable it. For messages older than this time, the age will be written in the notification in brackets.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show_age_threshold = 60<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"534\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/show_age_threshold.png?resize=534%2C428&#038;ssl=1\" alt=\"Show the age of the message in dunst\" class=\"wp-image-2981\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Wrap_the_lines\"><\/span>Wrap the lines<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Wrap the lines i.e. show them in multiple lines if they don&#8217;t fit into the notification window.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>word_wrap = yes<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Handling_long_lines_in_Notification\"><\/span>Handling long lines in Notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When there are very long sentences in the notification and you have set <code>word_wrap<\/code> option to <code>no<\/code>, you need to ellipsize the text. <code>End<\/code> value puts three dots in the end. Similarly, start and middle put three dots at the start and in the middle.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ellipsize = end<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1723\" height=\"292\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/ellipsize.png?resize=1723%2C292&#038;ssl=1\" alt=\"Handling long lines in dunst Notification\" class=\"wp-image-2980\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/ellipsize.png?w=1723&amp;ssl=1 1723w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/ellipsize.png?resize=768%2C130&amp;ssl=1 768w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/ellipsize.png?resize=1536%2C260&amp;ssl=1 1536w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ignore_New_Lines_in_Notification\"><\/span>Ignore New Lines in Notification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To ignore newlines (<code>\\n<\/code>), set the option <code>ignore_newline<\/code> to yes. But <code>no<\/code> is the most sane option so use that.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ignore_newline = no<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Duplicate_Notifications\"><\/span>Duplicate Notifications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Stack_duplicate_notifications\"><\/span>Stack duplicate notifications<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In order to stack duplication notifications, you need to set <code>stack_duplicates<\/code> to true. So, for example, if you run <code>dunstify SmartTech101 Hello<\/code> in quick succession five times, you will be shown only one notification.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>stack_duplicates = true<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/stack_duplicates.png?resize=496%2C428&#038;ssl=1\" alt=\"Stack duplicate notifications in dunst\" class=\"wp-image-2979\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Hide_Duplicate_Count\"><\/span>Hide Duplicate Count<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The option <code>hide_duplicate_count<\/code> is in continuation to the stack_duplicates option. If it is set to false, a duplicate count will also be shown in the notification. For the above example, the remaining number of duplicate notifications will be written in a bracket.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hide_duplicate_count = false<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Show_indicators_for_URLs_U_and_actions_A\"><\/span>Show indicators for URLs (U) and actions (A)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>It means if your notification has URLs or actions, <code>(U)<\/code> and<code>(A)<\/code> will be prepended in the notification. For example, if you run the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ dunstify SmartTech101 www.SmartTech101.com<\/code><\/pre>\n\n\n\n<p>You will see the following image. Now, <a href=\"https:\/\/smarttech101.com\/how-to-send-notifications-in-linux-using-dunstify-notify-send\/#Taking_Actions_on_notifications_using_dunstifynotify-send\">pressing certain keys (in my system, ctrl + dot) will let you open the URLs, or take certain actions. For more about this, look over here<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show_indicators = yes<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"548\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/show_indicators.png?resize=548%2C428&#038;ssl=1\" alt=\"Show indicators for URLs (U) and actions (A) in dunst\" class=\"wp-image-2976\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Icons\"><\/span>Icons<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Recursive_icon_lookup\"><\/span>Recursive icon lookup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>By setting <code>enable_recursive_icon_lookup<\/code> to true, you only need to put <code>icon_theme<\/code> name (for example, <code>Adwaita<\/code>) given below. Now, Dunst will search into the directories (for example, <code>\/usr\/share\/icons\/Adwaita<\/code>) recursively for the icon name supplied with <code>dunstify --icon<\/code>. In earlier versions of dunst, I had to put all the paths under <code>icon_path<\/code> (given below) I wanted &#8211; this was tiresome.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>enable_recursive_icon_lookup = true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Set_icon_theme_works_for_enable_recursive_icon_lookup\"><\/span>Set icon theme (works for <code>enable_recursive_icon_lookup<\/code>)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Currently, I have set it up to breeze-dark and Papirus-Dark. Install them using your distribution&#8217;s package manager or follow the instructions given over here &#8211; <a href=\"https:\/\/github.com\/PapirusDevelopmentTeam\/papirus-icon-theme\">Papirus-Icon-Theme<\/a>. Similarly, install breeze icons.<br>For example &#8211; the command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dunstify --icon=alarm-clock SmartTech101<\/code><\/pre>\n\n\n\n<p> makes dunst look for <code>alarm-clock<\/code> first in the <code>\/usr\/share\/icons\/breeze-dark\/<\/code> and then in the <code>\/usr\/share\/icons\/Papirus\/<\/code>. It finds <code>alarm-clock.svg<\/code> in the second directory (<code>\/usr\/share\/icons\/Papirus\/64x64\/apps\/alarm-clock.svg<\/code>). I recommend you install the Papirus-Dark icons since it includes the vast majority of icons. So, no matter what application send a notification, you might always get the pretty icons.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>icon_theme = \"breeze-dark, Papirus-Dark\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"300\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/icon_theme.png?resize=590%2C300&#038;ssl=1\" alt=\"Set icon theme (works for enable_recursive_icon_lookup) in dunst\" class=\"wp-image-2978\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Align_icons_leftrighttopoff\"><\/span>Align icons left\/right\/top\/off<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>I have set it to <code>left<\/code> as is visible in the above image.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>icon_position = left<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Minimum_Icon_Size\"><\/span>Minimum Icon Size<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The <code>min_icon_size<\/code> scales small icons up to this size. It is quite useful if your screen has a very high resolution or the image is tiny. In that case, the image is scaled up to this size. Or, you can disable it altogether by setting it to zero.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>min_icon_size = 32<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Maximum_Icon_Size\"><\/span>Maximum Icon Size<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The <code>max_icon_size<\/code> scales larger icons down to this size. It is quite useful when you take a screenshot and want to put that screenshot into dunstify notification &#8211; otherwise, the screenshot increases the size a lot. Set it to 0 to disable it. It should be larger than min_icon_size as is obvious. If you set it to something less than min_icon_size, min_icon_size will be ignored.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>max_icon_size = 128<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/max_icon_size.png?resize=669%2C428&#038;ssl=1\" alt=\"Maximum Icon Size in dunst\" class=\"wp-image-2977\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Icons_Path\"><\/span>Icon&#8217;s Path<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The <code>icon_path<\/code> is used to set individual paths to search for the icons. It is unnecessary if you have setup <code>icon_theme<\/code> properly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>icon_path = \/usr\/share\/icons\/gnome\/16x16\/status\/:\/usr\/share\/icons\/gnome\/16x16\/devices\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Corner_radius_for_the_icon_image\"><\/span>Corner radius for the icon image <span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Icon images in dunst are passed using <code>dunstify --icon=&lt;image&gt;<\/code>. To set the corner radius of these images, set the following option:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>icon_corner_radius = 5<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"263\" height=\"117\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/icon_corner_radius.png?resize=263%2C117&#038;ssl=1\" alt=\"Corner radius for the icon image  in dunst\" class=\"wp-image-2997\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Older_Notifications_in_Dunst\"><\/span>Older Notifications in Dunst<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Make_older_notifications_stay_on_your_screen\"><\/span>Make older notifications stay on your screen<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The option <code>stick_history<\/code> makes the notification pop up from the history stay on your screen. Generally, all the notifications disappear after a certain time. But you can see the very old notifications using a special shortcut (in my system, I have set it by mapping <code>dunstctl history-pop<\/code> to <code>ctrl+grave<\/code>). And if you have configured <code>stick_history<\/code> to <code>yes<\/code>, these old notifications stay on your screen until you click on them. <a href=\"https:\/\/smarttech101.com\/how-to-send-notifications-in-linux-using-dunstify-notify-send\/#Closing_notifications_using_shortcuts\">In my dunstify article, I have talked about how to map<\/a> <code>dunstctl history-pop<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sticky_history = yes<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_maximum_number_of_notifications_kept_in_history\"><\/span>The maximum number of notifications kept in history<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You cannot call notifications more than the &#8220;history_length&#8221; using the <code>dunstctl history-pop<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>history_length = 20<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Notification_Looks_%E2%80%93_frame_separator_padding_colors_transparency_padding_corners\"><\/span>Notification Looks &#8211; frame, separator, padding, colors, transparency, padding, corners<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Separator_Height\"><\/span>Separator Height<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It draws a line of &#8220;separator_height&#8221; pixel height between two notifications. Set it to 0 to disable it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>separator_height = 10<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"113\" height=\"110\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/separator_height.png?resize=113%2C110&#038;ssl=1\" alt=\"Separator Height in dunst notification\" class=\"wp-image-2994\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Vertical_Padding\"><\/span>Vertical Padding<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Vertical distance between text and separator:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>padding = 100<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"113\" height=\"517\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/padding.png?resize=113%2C517&#038;ssl=1\" alt=\"Vertical Padding in dunst notification\" class=\"wp-image-2992\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Horizontal_Padding\"><\/span>Horizontal Padding<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Horizontal distance between text and frame:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>horizontal_padding = 100<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"517\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/horizontal_padding.png?resize=316%2C517&#038;ssl=1\" alt=\"Horizontal Padding in dunst\" class=\"wp-image-2993\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Padding_between_text_and_icon\"><\/span>Padding between text and icon<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This decides distance between the text and icon.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>text_icon_padding = 100<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"321\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/text_icon_padding.png?resize=568%2C321&#038;ssl=1\" alt=\"Padding between text and icon in dunst\" class=\"wp-image-2991\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_transparency_of_the_notification_window\"><\/span>The transparency of the notification window<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Its Range: [0; 100].<br>This option will only work if a compositing window manager is present (e.g. picom, xcompmgr, compiz, etc.). (X11 only). Personally, I use picom and it works fine.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>transparency = 10<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"931\" height=\"250\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/transparency.png?resize=931%2C250&#038;ssl=1\" alt=\"The transparency of the notification window in dunst\" class=\"wp-image-2995\" srcset=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/transparency.png?w=931&amp;ssl=1 931w, https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/transparency.png?resize=768%2C206&amp;ssl=1 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Separator_color\"><\/span>Separator color<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Possible values are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>auto: dunst tries to find a color fitting to the background;<\/li>\n\n\n\n<li>foreground: use the same color as the foreground;<\/li>\n\n\n\n<li>frame: use the same color as the frame;<\/li>\n\n\n\n<li>anything else will be interpreted as an X color.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>separator_color = frame<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frame_Color\"><\/span>Frame Color<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It sets the color of the frame around the notification window:<br>For the black frame color, set it to <code>#000000<\/code>.<br>Or uncomment it here and set it for low, normal, and critical urgency given below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>frame_color = \"#000000\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"294\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/frame_color.png?resize=372%2C294&#038;ssl=1\" alt=\"Frame Color in dunst\" class=\"wp-image-2989\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frame_Width\"><\/span>Frame Width<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It defines the width in pixels of the frame around the notification window:<br>Set it to 0 to disable it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>frame_width = 20<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"554\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/frame_width.png?resize=372%2C554&#038;ssl=1\" alt=\"Frame Width in dunst\" class=\"wp-image-2990\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frame_Corners\"><\/span>Frame Corners<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This option defines the corner radius of the notification window. Set it to 0 to disable it. The corner radius will be automatically lowered if it clips text and\/or icons.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>corner_radius = 15<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/corner_radius.png?resize=625%2C428&#038;ssl=1\" alt=\"Frame Corners in dunst\" class=\"wp-image-2975\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sort_messages_by_urgency\"><\/span>Sort messages by urgency<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The option <code>sort<\/code>, if set to <code>true<\/code> sorts messages by their urgency. At the top, critical messages will be shown, then normal, and then low.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sort = yes<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"926\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/sort.png?resize=597%2C926&#038;ssl=1\" alt=\"Sort messages by urgency in dunst notification\" class=\"wp-image-2988\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Indicate_the_number_of_hidden_messages\"><\/span>Indicate the number of hidden messages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>It shows how many messages are currently hidden (because of the option <code>notification_limit<\/code>).<\/p>\n\n\n\n<p>Example: for <code>notification_limit = 10<\/code>, if there are currently 13 notifications, 9 notifications will be shown, and 1 notification will be used up to indicate that 4 notifications are currently hidden.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>indicate_hidden = yes<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"117\" height=\"471\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/indicate_hidden-1.png?resize=117%2C471&#038;ssl=1\" alt=\"Indicate the number of hidden messages in dunst notification\" class=\"wp-image-2999\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Notifications_to_become_sticky_if_you_are_idle_for_more_than_this_time\"><\/span>Notifications to become sticky if you are idle for more than this time<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, notifications are removed from your screen after some time. This is expected behavior (happens in Windows OS too). If you are idle i.e. don&#8217;t use the mouse and keyboard for times longer than this, the notifications appearing after this time will not be removed at all. This is extremely useful, for example, when you are away from your screen for more than this time. This feature is not available in Windows OS. This is what makes Linux better than Windows &#8211; the customizability. You can test it out on your own. Set it to 10, execute the command <code>sleep 11s &amp;&amp; dunstify SmartTech101 Hello<\/code> and don&#8217;t touch the mouse and keyboard &#8211; you will see that notifications will stay on your screen forever.<\/p>\n\n\n\n<p>Set This option to 0 to disable it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>idle_threshold = 10<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_dmenurofifzf_to_choose_actions_on_notifications\"><\/span>Use dmenu\/rofi\/fzf to choose actions on notifications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Recall: Above I talked about <code>(A)<\/code> indicating actions in dmenu. I will talk more about this in my upcoming article. Just know that if you press a special shortcut (mapped to <code>dunstctl context<\/code>, or press<strong> middle click <\/strong>on the notification as configured below), a dmenu appears. Now, you can choose the action you want to take. For example, in my system, whenever, I take a screenshot, I can <strong>choose from 1) delete the screenshot, 2) reduce the size of the screenshot, or 3) open the image<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"428\" src=\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/action-1.png?resize=733%2C428&#038;ssl=1\" alt=\"Actions in dunst indicated by (A)\" class=\"wp-image-3003\"\/><\/figure>\n\n\n\n<p>Set the right font and font size and other options you want to pass to the dmenu. <a href=\"https:\/\/smarttech101.com\/dmenu-what-it-is-and-how-i-use-it\/\">To learn more about dmenu, look at this article<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dmenu = \/usr\/bin\/dmenu -i -fn Ubuntu-18 -l 30 -p dunst:<\/code><\/pre>\n\n\n\n<p>I personally use dmenu. But I believe you can also use Rofi in a similar fashion. For fzf, you will need to pass a terminal emulator as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Browser_for_opening_URLs_in_the_context_menu\"><\/span>Browser for opening URLs in the context menu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Also recall when there are URL(s) in the notification, you get to open them by pressing <code>dunstctl context<\/code>. You will be given a list of URL(s) to choose from using dmenu. Hitting enter button will open them with the following browser application. You can set it to <code>\/usr\/bin\/firefox<\/code> or anything you like.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>browser = \/usr\/bin\/google-chrome-stable<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Title_and_Class_of_the_Notification_Windows\"><\/span>Title and Class of the Notification Windows<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By setting the right title, and class you can execute various commands using your window managers (for example, in the i3 tiling window manager, using <code>for_window [class=\"dunst\" title=\"dunst\"] move to workspace $ws1<\/code>).<\/p>\n\n\n\n<p>To define the title, use the option <code>title<\/code> and for class, use the option <code>class<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>title = Dunst<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>class = Dunst<\/code><\/pre>\n\n\n\n<p>You can check the title and class of the notification window, using <code>xprop<\/code>. Here is a sample output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;ajay@legion ~]$ xprop<\/code><\/pre>\n\n\n\n<p>Output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># _NET_WM_WINDOW_OPACITY(CARDINAL) = 3865470480\n# _NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE\n# _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NOTIFICATION, _NET_WM_WINDOW_TYPE_UTILITY\n# WM_CLASS(STRING) = \"Dunst\", \"Dunst\"\n# _NET_WM_NAME(UTF8_STRING) = \"Dunst\"\n# WM_NAME(STRING) = \"Dunst\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Force_your_timeout_settings_over_those_of_the_applications\"><\/span>Force your timeout settings over those of the applications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Sometimes, some applications automatically close the notification much before the timeout configured by you. They do so send <code>dbus closeNotification<\/code> message. You can set <code>ignore_dbusclose<\/code> to <code>true<\/code> to force your timeout settings over the applications. You can set your timeout settings using the option <code>timeout<\/code> as given below (coming soon).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ignore_dbusclose = false<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mouse_Configuration_in_Dunst\"><\/span>Mouse Configuration in Dunst<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Under this heading, I will talk about how you can define a list of actions for left, right, and middle mouse clicks.<\/p>\n\n\n\n<p>Possible values are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>none: Don&#8217;t do anything.<\/li>\n\n\n\n<li>do_action: Invoke the action determined by the action_name rule. If there is no such action, open the context menu (dmenu). This runs <code>dunstctl context<\/code>.<\/li>\n\n\n\n<li>open_url: If the notification has exactly one URL, open it. If there are multiple ones, open the context menu (dmenu) to select one.<\/li>\n\n\n\n<li>close_current: Close current notification (only one notification not all.)<\/li>\n\n\n\n<li>close_all: Close all notifications in the notification window.<\/li>\n\n\n\n<li>context: Open the context menu (dmenu) for the notification.<\/li>\n\n\n\n<li>context_all: Open the context menu for all notifications.<br>These values can be strung together for each mouse event and will be executed in sequence.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>mouse_left_click = close_current\nmouse_middle_click = do_action, close_current\nmouse_right_click = close_all<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Wayland_Support_in_Dunst\"><\/span>Wayland Support in Dunst<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Ignore this if you use X11.<\/p>\n\n\n\n<p>The above settings were for both X11 and Wayland Display Servers. But the Wayland one requires some additional settings. These settings do not affect X11. The <code>layer<\/code> option let you choose whether you want your notification to appear under the fullscreen or not. Use this if you want to let notifications appear under fullscreen applications (default: overlay).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>layer = top<\/code><\/pre>\n\n\n\n<p>Set the following option to true to use X11 output on Wayland.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>force_xwayland = false<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Dunst_on_a_very_old_PC\"><\/span>Dunst on a very old PC<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, Dunst automatically detects if an extra monitor is connected to your PC. Then it moves notifications to the required monitor as configured by you in the above options. If you have a modern PC, then set the option <code>force_xinerama<\/code> to <code>false<\/code>. But for a very old PC with NVidia drivers, set it to <code>true<\/code>, use Xinerama instead of RandR.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>force_xinerama = false<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Scale_updown_notifications_automatically_in_Dunst\"><\/span>Scale up\/down notifications automatically in Dunst<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>These are experimental features. They sometimes work and sometimes don&#8217;t. When there is a new release of dunst, you might see some changes.<\/p>\n\n\n\n<p>The option <code>per_monitor_dpi<\/code> if set to true, enables dunst to calculate dpi automatically. It helps in scaling up and down your notification. It is quite useful when you have multiple monitors with different resolutions and screen sizes.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;experimental]\n    per_monitor_dpi = true<\/code><\/pre>\n\n\n\n<p>Please note that this option is set under the segment <code>[experimental]<\/code> not <code>[globar]<\/code>. So, use tabs accordingly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Customize_Low_normal_and_critical_messages\"><\/span>Customize Low, normal, and critical messages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The segments <code>urgency_low<\/code>, <code>urgency_normal<\/code> and <code>urgency_critical<\/code> are used to set the background, foreground, and other colours, timeout, default_icon, etc..<\/p>\n\n\n\n<p>The following is self-understandable.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;urgency_low]\n    background = \"#222222\"\n    foreground = \"#888888\"\n    timeout = 10\n    # By default, `default_icon` is disabled. But if you set the default_icon option, you will have an icon in your notifications if they don't come up with.\n    # default_icon = \/path\/to\/icon\n\n&#091;urgency_normal]\n    background = \"#285577\"\n    foreground = \"#ffffff\"\n    timeout = 10\n    # Icon for notifications with normal urgency, uncomment to enable\n    #default_icon = \/path\/to\/icon\n\n&#091;urgency_critical]\n    background = \"#900000\"\n    foreground = \"#ffffff\"\n    frame_color = \"#ff0000\"\n    timeout = 0\n    # Icon for notifications with critical urgency, uncomment to enable\n    #default_icon = \/path\/to\/icon<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>That&#8217;s all folks. If you have any questions\/suggestions, put them in the comment section below. Thanks for staying so long. To learn more, read <code>man 5 dunst<\/code>, <code>man 1 dunst<\/code>, <code>man 1 dunstctl<\/code>, and the file <code>\/etc\/dunst\/dunstrc<\/code>. These documents and man pages contain a lot of information as I have read them while preparing this article. Thanks again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I will talk about how to configure dunst in Linux &#8211; colors, paddings, frame, timeout, progressbar, separator, font, markup (bold, underline, etc.), text alignment, icon alignment, icons, mouse settings, etc. There will be lots of examples and images to illustrate my point. I will use simple language and hope in the end you will have a pretty-looking notifications in your computer.<\/p>\n","protected":false},"author":2,"featured_media":3006,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[48],"tags":[60],"class_list":["post-2971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-desktop-tools","tag-notification-send"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Configure Dunst Notifications in Linux (with images) | SmartTech101<\/title>\n<meta name=\"description\" content=\"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Dunst Notifications in Linux (with images) | SmartTech101\" \/>\n<meta property=\"og:description\" content=\"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\" \/>\n<meta property=\"og:site_name\" content=\"SmartTech101\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-15T09:13:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-18T09:13:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ajay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ajay_yadav\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ajay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\"},\"author\":{\"name\":\"Ajay\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334\"},\"headline\":\"How to Configure Dunst Notifications in Linux (with images)\",\"datePublished\":\"2023-08-15T09:13:03+00:00\",\"dateModified\":\"2023-08-18T09:13:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\"},\"wordCount\":2851,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\"},\"image\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1\",\"keywords\":[\"notification-send\"],\"articleSection\":[\"Linux Desktop Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\",\"url\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\",\"name\":\"How to Configure Dunst Notifications in Linux (with images) | SmartTech101\",\"isPartOf\":{\"@id\":\"https:\/\/smarttech101.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1\",\"datePublished\":\"2023-08-15T09:13:03+00:00\",\"dateModified\":\"2023-08-18T09:13:18+00:00\",\"description\":\"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.\",\"breadcrumb\":{\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1\",\"width\":1280,\"height\":720,\"caption\":\"Configure Dunst Notification in Linux with Images and Examples\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/smarttech101.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Dunst Notifications in Linux (with images)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/smarttech101.com\/#website\",\"url\":\"https:\/\/smarttech101.com\/\",\"name\":\"SmartTech101\",\"description\":\"Do Everything in Linux\",\"publisher\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/smarttech101.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633\",\"name\":\"Ajay Yadav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1\",\"width\":180,\"height\":60,\"caption\":\"Ajay Yadav\"},\"logo\":{\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334\",\"name\":\"Ajay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smarttech101.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g\",\"caption\":\"Ajay\"},\"sameAs\":[\"https:\/\/x.com\/ajay_yadav\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Dunst Notifications in Linux (with images) | SmartTech101","description":"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Dunst Notifications in Linux (with images) | SmartTech101","og_description":"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.","og_url":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/","og_site_name":"SmartTech101","article_published_time":"2023-08-15T09:13:03+00:00","article_modified_time":"2023-08-18T09:13:18+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png","type":"image\/png"}],"author":"Ajay","twitter_card":"summary_large_image","twitter_creator":"@ajay_yadav","twitter_misc":{"Written by":"Ajay","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#article","isPartOf":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/"},"author":{"name":"Ajay","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334"},"headline":"How to Configure Dunst Notifications in Linux (with images)","datePublished":"2023-08-15T09:13:03+00:00","dateModified":"2023-08-18T09:13:18+00:00","mainEntityOfPage":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/"},"wordCount":2851,"commentCount":1,"publisher":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633"},"image":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1","keywords":["notification-send"],"articleSection":["Linux Desktop Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/","url":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/","name":"How to Configure Dunst Notifications in Linux (with images) | SmartTech101","isPartOf":{"@id":"https:\/\/smarttech101.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage"},"image":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1","datePublished":"2023-08-15T09:13:03+00:00","dateModified":"2023-08-18T09:13:18+00:00","description":"Configure dunst - colors, paddings, frame, timeout, progressbar, font, markup text alignment, icon alignment, icons, mouse settings, etc.","breadcrumb":{"@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#primaryimage","url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1","width":1280,"height":720,"caption":"Configure Dunst Notification in Linux with Images and Examples"},{"@type":"BreadcrumbList","@id":"https:\/\/smarttech101.com\/how-to-configure-dunst-notifications-in-linux-with-images\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/smarttech101.com\/"},{"@type":"ListItem","position":2,"name":"How to Configure Dunst Notifications in Linux (with images)"}]},{"@type":"WebSite","@id":"https:\/\/smarttech101.com\/#website","url":"https:\/\/smarttech101.com\/","name":"SmartTech101","description":"Do Everything in Linux","publisher":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/smarttech101.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/e8d5aebc510d698e11e9df6291381633","name":"Ajay Yadav","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1","contentUrl":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2022\/09\/cropped-ST101_logo.png?fit=180%2C60&ssl=1","width":180,"height":60,"caption":"Ajay Yadav"},"logo":{"@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/2edfee738a82f9c963210f8cdb438334","name":"Ajay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smarttech101.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6eea348caae2173954765a7cdf6cd107?s=96&d=mm&r=g","caption":"Ajay"},"sameAs":["https:\/\/x.com\/ajay_yadav"]}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/smarttech101.com\/wp-content\/uploads\/2023\/08\/How-to-Configure-Dunst-Notifications-in-Linux-with-images.png?fit=1280%2C720&ssl=1","_links":{"self":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/2971"}],"collection":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/comments?post=2971"}],"version-history":[{"count":5,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/2971\/revisions"}],"predecessor-version":[{"id":3037,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/posts\/2971\/revisions\/3037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/media\/3006"}],"wp:attachment":[{"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/media?parent=2971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/categories?post=2971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smarttech101.com\/wp-json\/wp\/v2\/tags?post=2971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}