Hacker News new | ask | show | jobs
by c0l0 1340 days ago
I have a script to relay new dmesg events into my (xfce) desktop session using libnotify. I figure others may find it useful, too:

https://paste.debian.net/1257030/

It gets started via xdg autostart here, and will tell me about new "stuff" that happens. For it to work, your user will have to have permission to read the kernel event log/debug ringbuffer. I achieve that by setting the appropriate sysctl:

    kernel.dmesg_restrict = 0
1 comments

I just keep `dmesg -w` running in a terminal window :)