How to Set Up and Configure Notifications on Arch Linux (with dunst)

Ғылым және технология

Want to be distracted from your work with meaningless emails? Then learn how to set up notifications in a window manager using dunst. In this video, you'll learn how to style notifications, create your own notifications, set rules, and even use notifications as a volume or brightness level indicator. Master the power of notify-send in this video...
Volume indicator script: github.com/ericmurphyxyz/arch...
My website: ericmurphy.xyz
0:00 Intro
0:54 Installing dunst
1:50 Configuring dunst
6:24 Icons
8:08 Configuring different urgency notifications
9:51 Mouse actions
10:21 Command line options
12:31 Scripting example
13:42 Keyboard shortcuts
15:18 Notification rules
18:55 Conclusion

Пікірлер: 30

  • @Asterics.
    @Asterics.22 күн бұрын

    As a beginner, this is too much for me but I finally created my volume notification

  • @DietrichJenkins

    @DietrichJenkins

    3 күн бұрын

    Do you know how to handle icon SVG files, my dunst setup seem to be ignoring the test icon I have in my file?

  • @danieldiaz855
    @danieldiaz8552 жыл бұрын

    Incredible video Eric, keep it up!

  • @mokuken2469
    @mokuken24692 жыл бұрын

    Thanks man!! Now i have notification bar glad i found your video!! Keep it up man its helps alots of people new to linux. 😁👍

  • @EricMurphyxyz

    @EricMurphyxyz

    2 жыл бұрын

    Great, glad it helped!

  • @beepbot
    @beepbot Жыл бұрын

    Thank you so much for putting chapters on this video!

  • @ritchielrez1680
    @ritchielrez16802 жыл бұрын

    An awesome video, teaching me how to make a sound notification, but also anything like that. Now I can convert my ideas into scripts with dunst!

  • @folksurvival

    @folksurvival

    2 жыл бұрын

    Also check out the channel bugswriter

  • @ritchielrez1680

    @ritchielrez1680

    2 жыл бұрын

    @@folksurvival An awesome channel indeed, subscribed from a long time.

  • @folksurvival

    @folksurvival

    2 жыл бұрын

    @@ritchielrez1680 Cool. Much helpful information can be learned from these channels.

  • @user-hd8tg4em2n
    @user-hd8tg4em2n2 жыл бұрын

    cool video, it helped me after a long time of not using dunst, coming back to it was a bit confusing so this helped refresh my mind :) For me notify-send wasn't available because I didn't have the libnotify package installed, looks like it's not installed by default.

  • @aim__freakz8499
    @aim__freakz8499 Жыл бұрын

    dope, thank you for the video :) i installed it but changed just a few simple things in the config. you taught me some stuff i did not know :)

  • @ironmanlifts
    @ironmanlifts2 жыл бұрын

    Thanks, long time no see. I think last time we talked was about Hugo, I'm in the xmonad world now.

  • @andynorton7529
    @andynorton75293 ай бұрын

    Very useful, learnt a lot! Thank you

  • @ronylee11
    @ronylee112 жыл бұрын

    thank you!!

  • @Rmly
    @Rmly2 жыл бұрын

    Thanks!

  • @stellarnomai823
    @stellarnomai8232 жыл бұрын

    Awesome video, as always. I'm going from KDE to BSPWM and you're my biggest guide until now. With your tips and Volume script, I could make one to control my microphone volume, even selecting between my Headset and my Laptop's one. The only problem I got is, when I start a session, both scripts (volume and mic ones) doesn't work from my hotkeys (commands are OK), but when I restart sxhkd, it start working, still trying to figure out why, since every other hotkey works as soon as I log in.

  • @EricMurphyxyz

    @EricMurphyxyz

    2 жыл бұрын

    You're starting sxhkd in your bspwmrc right? Weird that it doesn't work, maybe share your bspwmrc

  • @EricMurphyxyz

    @EricMurphyxyz

    2 жыл бұрын

    Oh you might have multiple instances of sxhkd running at once, I think I had this issue before. Try checking your processes to make sure only one is running

  • @stellarnomai823

    @stellarnomai823

    2 жыл бұрын

    ​@@EricMurphyxyz Yes, and it is weird that every other hotkey works on boot, except this. Another funny thing is that if I use only the 'pamixer' command direct on the hotkey it works too, it's like it is calling the script at all. Thank you for your help! Appreciate it! scripts: ~/bin/changevolume ~/bin/micvolume ~/bin is on my PATH bspwmrc: #! /bin/sh #Configs [...] just bspc config and monitor #Rules bspc rule -a "*:*:Picture-in-picture" state=floating #Multi-Monitor Setup if [ -x $HOME/bin/bspwm-dual-monitor ];then $HOME/bin/bspwm-dual-monitor fi # Polybar killall -q polybar && polybar main & my_laptop_external_monitor=$(xrandr --query | grep 'HDMI1') if [[ $my_laptop_external_monitor = *connected* ]]; then polybar bar2 & fi #AutoStart killall -q sxhkd; sxhkd & killall -q dunst; dunst & setxkbmap br thinkpad & libinput-gestures-setup autostart start & rfkill unblock all & xsetroot -cursor_name left_ptr & picom -f & nitrogen --restore & ----- sxhkdrc # # wm independent hotkeys # # lockscreen super + x betterlockscreen -l dimblur # volume control XF86AudioLowerVolume changevolume down XF86AudioRaiseVolume changevolume up XF86AudioMute changevolume mute # mic control XF86AudioMicMute micvolume mute super + XF86AudioLowerVolume micvolume down super + XF86AudioRaiseVolume micvolume up

  • @lewpoly
    @lewpoly2 жыл бұрын

    are you using colorizer in neovim for the square color previews instead of background color?

  • @EricMurphyxyz

    @EricMurphyxyz

    2 жыл бұрын

    It's vim-hexokinase

  • @lewpoly

    @lewpoly

    2 жыл бұрын

    @@EricMurphyxyz ah, thank you.

  • @bilalshahid5118
    @bilalshahid51185 ай бұрын

    If I hit some msg in desktop in Ubuntu dunst will use?

  • @r0yce
    @r0yce Жыл бұрын

    JetBrainsMono Nerd Font not working with dunst. I have no idea why.

  • @EricMurphyxyz

    @EricMurphyxyz

    Жыл бұрын

    Me neither, it works fine for me

  • @r0yce

    @r0yce

    Жыл бұрын

    @@EricMurphyxyz Never mind. It works now. Apparently it couldn't find fontconfig cache because I changed the XDG directories trying to declutter home. Lesson learned, Now I know why everybody was warning me against it. I guess I just can't get rid of .local and .cache.

  • @BYOZANA
    @BYOZANA2 жыл бұрын

    link to awesome icon like your patch

  • @the-lettere
    @the-lettere5 ай бұрын

    What is with the thumbnail

  • @BernardoHenriquez
    @BernardoHenriquez3 ай бұрын

    Very good

Келесі